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

Unified Diff: Source/core/frame/BarProp.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/fileapi/FileReaderSync.h ('k') | Source/core/frame/Console.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/BarProp.h
diff --git a/Source/core/frame/BarProp.h b/Source/core/frame/BarProp.h
index 826c4e98ca113d64ace1aec87c1c820d3c7d29d0..a6ea89e2115faa3ea376f9252a6c0a0abe94bd36 100644
--- a/Source/core/frame/BarProp.h
+++ b/Source/core/frame/BarProp.h
@@ -37,25 +37,26 @@
namespace blink {
- class LocalFrame;
+class LocalFrame;
- class BarProp FINAL : public RefCountedWillBeGarbageCollectedFinalized<BarProp>, public ScriptWrappable, public DOMWindowProperty {
- public:
- enum Type { Locationbar, Menubar, Personalbar, Scrollbars, Statusbar, Toolbar };
+class BarProp FINAL : public RefCountedWillBeGarbageCollectedFinalized<BarProp>, public ScriptWrappable, public DOMWindowProperty {
+ DEFINE_WRAPPERTYPEINFO();
+public:
+ enum Type { Locationbar, Menubar, Personalbar, Scrollbars, Statusbar, Toolbar };
- static PassRefPtrWillBeRawPtr<BarProp> create(LocalFrame* frame, Type type)
- {
- return adoptRefWillBeNoop(new BarProp(frame, type));
- }
+ static PassRefPtrWillBeRawPtr<BarProp> create(LocalFrame* frame, Type type)
+ {
+ return adoptRefWillBeNoop(new BarProp(frame, type));
+ }
- bool visible() const;
+ bool visible() const;
- void trace(Visitor*) { }
+ void trace(Visitor*) { }
- private:
- BarProp(LocalFrame*, Type);
- Type m_type;
- };
+private:
+ BarProp(LocalFrame*, Type);
+ Type m_type;
+};
} // namespace blink
« no previous file with comments | « Source/core/fileapi/FileReaderSync.h ('k') | Source/core/frame/Console.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698