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

Side by Side Diff: Source/core/frame/DOMWindow.h

Issue 1100893002: Revert of bindings: Do not use ScriptWrappable::wrap for RemoteDOMWindow. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/events/EventTargetFactory.in ('k') | Source/core/frame/DOMWindow.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef DOMWindow_h 5 #ifndef DOMWindow_h
6 #define DOMWindow_h 6 #define DOMWindow_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/events/EventTarget.h" 9 #include "core/events/EventTarget.h"
10 #include "core/frame/DOMWindowBase64.h" 10 #include "core/frame/DOMWindowBase64.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 virtual ~DOMWindow(); 46 virtual ~DOMWindow();
47 47
48 // RefCountedWillBeGarbageCollectedFinalized overrides: 48 // RefCountedWillBeGarbageCollectedFinalized overrides:
49 DECLARE_VIRTUAL_TRACE(); 49 DECLARE_VIRTUAL_TRACE();
50 50
51 virtual bool isLocalDOMWindow() const { return false; } 51 virtual bool isLocalDOMWindow() const { return false; }
52 virtual bool isRemoteDOMWindow() const { return false; } 52 virtual bool isRemoteDOMWindow() const { return false; }
53 53
54 virtual Frame* frame() const = 0; 54 virtual Frame* frame() const = 0;
55 55
56 // ScriptWrappable overrides:
57 v8::Handle<v8::Object> wrap(v8::Handle<v8::Object> creationContext, v8::Isol ate*) override;
58 v8::Handle<v8::Object> associateWithWrapper(v8::Isolate*, const WrapperTypeI nfo*, v8::Handle<v8::Object> wrapper) override;
59
60 // EventTarget overrides:
61 const AtomicString& interfaceName() const override;
62
63 // DOM Level 0 56 // DOM Level 0
64 virtual Screen* screen() const = 0; 57 virtual Screen* screen() const = 0;
65 virtual History* history() const = 0; 58 virtual History* history() const = 0;
66 virtual BarProp* locationbar() const = 0; 59 virtual BarProp* locationbar() const = 0;
67 virtual BarProp* menubar() const = 0; 60 virtual BarProp* menubar() const = 0;
68 virtual BarProp* personalbar() const = 0; 61 virtual BarProp* personalbar() const = 0;
69 virtual BarProp* scrollbars() const = 0; 62 virtual BarProp* scrollbars() const = 0;
70 virtual BarProp* statusbar() const = 0; 63 virtual BarProp* statusbar() const = 0;
71 virtual BarProp* toolbar() const = 0; 64 virtual BarProp* toolbar() const = 0;
72 virtual Navigator* navigator() const = 0; 65 virtual Navigator* navigator() const = 0;
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 // implementation details to scripts. 224 // implementation details to scripts.
232 bool m_windowIsClosing; 225 bool m_windowIsClosing;
233 226
234 private: 227 private:
235 mutable RefPtrWillBeMember<Location> m_location; 228 mutable RefPtrWillBeMember<Location> m_location;
236 }; 229 };
237 230
238 } // namespace blink 231 } // namespace blink
239 232
240 #endif // DOMWindow_h 233 #endif // DOMWindow_h
OLDNEW
« no previous file with comments | « Source/core/events/EventTargetFactory.in ('k') | Source/core/frame/DOMWindow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698