Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / frame / Screen.h
index 2e0bc7f..af0f421 100644 (file)
 
 namespace blink {
 
-    class LocalFrame;
+class LocalFrame;
 
-    class Screen FINAL : public RefCountedWillBeGarbageCollectedFinalized<Screen>, public ScriptWrappable, public DOMWindowProperty, public WillBeHeapSupplementable<Screen> {
-        WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(Screen);
-    public:
-        static PassRefPtrWillBeRawPtr<Screen> create(LocalFrame* frame)
-        {
-            return adoptRefWillBeNoop(new Screen(frame));
-        }
+class Screen FINAL : public RefCountedWillBeGarbageCollected<Screen>, public ScriptWrappable, public DOMWindowProperty, public WillBeHeapSupplementable<Screen> {
+    DEFINE_WRAPPERTYPEINFO();
+    WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(Screen);
+public:
+    static PassRefPtrWillBeRawPtr<Screen> create(LocalFrame* frame)
+    {
+        return adoptRefWillBeNoop(new Screen(frame));
+    }
 
-        unsigned height() const;
-        unsigned width() const;
-        unsigned colorDepth() const;
-        unsigned pixelDepth() const;
-        int availLeft() const;
-        int availTop() const;
-        unsigned availHeight() const;
-        unsigned availWidth() const;
+    unsigned height() const;
+    unsigned width() const;
+    unsigned colorDepth() const;
+    unsigned pixelDepth() const;
+    int availLeft() const;
+    int availTop() const;
+    unsigned availHeight() const;
+    unsigned availWidth() const;
 
-        void trace(Visitor*);
+    virtual void trace(Visitor*) OVERRIDE;
 
-    private:
-        explicit Screen(LocalFrame*);
-    };
+private:
+    explicit Screen(LocalFrame*);
+};
 
 } // namespace blink