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

Side by Side Diff: Source/bindings/core/v8/WindowProxyManager.h

Issue 1278983003: Adding allocator annotations to blink classes and structs. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed patch conflict Created 5 years, 4 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
« no previous file with comments | « Source/bindings/core/v8/WindowProxy.h ('k') | Source/bindings/core/v8/WorkerScriptController.h » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 WindowProxyManager_h 5 #ifndef WindowProxyManager_h
6 #define WindowProxyManager_h 6 #define WindowProxyManager_h
7 7
8 #include "platform/heap/Handle.h" 8 #include "platform/heap/Handle.h"
9 #include "wtf/Vector.h" 9 #include "wtf/Vector.h"
10 #include <utility> 10 #include <utility>
11 #include <v8.h> 11 #include <v8.h>
12 12
13 namespace blink { 13 namespace blink {
14 14
15 class DOMWrapperWorld; 15 class DOMWrapperWorld;
16 class Frame; 16 class Frame;
17 class ScriptState; 17 class ScriptState;
18 class SecurityOrigin; 18 class SecurityOrigin;
19 class WindowProxy; 19 class WindowProxy;
20 20
21 class WindowProxyManager final : public NoBaseWillBeGarbageCollectedFinalized<Wi ndowProxyManager> { 21 class WindowProxyManager final : public NoBaseWillBeGarbageCollectedFinalized<Wi ndowProxyManager> {
22 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(WindowProxyManager);
22 public: 23 public:
23 static PassOwnPtrWillBeRawPtr<WindowProxyManager> create(Frame&); 24 static PassOwnPtrWillBeRawPtr<WindowProxyManager> create(Frame&);
24 25
25 ~WindowProxyManager(); 26 ~WindowProxyManager();
26 DECLARE_TRACE(); 27 DECLARE_TRACE();
27 28
28 Frame* frame() const { return m_frame.get(); } 29 Frame* frame() const { return m_frame.get(); }
29 v8::Isolate* isolate() const { return m_isolate; } 30 v8::Isolate* isolate() const { return m_isolate; }
30 WindowProxy* mainWorldProxy() const { return m_windowProxy.get(); } 31 WindowProxy* mainWorldProxy() const { return m_windowProxy.get(); }
31 32
(...skipping 16 matching lines...) Expand all
48 RawPtrWillBeMember<Frame> m_frame; 49 RawPtrWillBeMember<Frame> m_frame;
49 v8::Isolate* const m_isolate; 50 v8::Isolate* const m_isolate;
50 51
51 const OwnPtrWillBeMember<WindowProxy> m_windowProxy; 52 const OwnPtrWillBeMember<WindowProxy> m_windowProxy;
52 IsolatedWorldMap m_isolatedWorlds; 53 IsolatedWorldMap m_isolatedWorlds;
53 }; 54 };
54 55
55 } // namespace blink 56 } // namespace blink
56 57
57 #endif // WindowProxyManager_h 58 #endif // WindowProxyManager_h
OLDNEW
« no previous file with comments | « Source/bindings/core/v8/WindowProxy.h ('k') | Source/bindings/core/v8/WorkerScriptController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698