Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1009)

Unified Diff: Source/core/frame/Screen.h

Issue 478243002: bindings: Adds virtual ScriptWrappable::wrap method. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Synced. Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/frame/Navigator.h ('k') | Source/core/frame/WebKitPoint.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/Screen.h
diff --git a/Source/core/frame/Screen.h b/Source/core/frame/Screen.h
index 2e0bc7fe705dc130b7d8efbdd7ea9f4ad97fd042..bd91961acdf4500942d3c5f1b2a872a3516ccad4 100644
--- a/Source/core/frame/Screen.h
+++ b/Source/core/frame/Screen.h
@@ -39,30 +39,31 @@
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 RefCountedWillBeGarbageCollectedFinalized<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*);
+ void trace(Visitor*);
- private:
- explicit Screen(LocalFrame*);
- };
+private:
+ explicit Screen(LocalFrame*);
+};
} // namespace blink
« no previous file with comments | « Source/core/frame/Navigator.h ('k') | Source/core/frame/WebKitPoint.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698