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

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

Issue 1929493002: Remove unnecessary uses of GarbageCollectedFinalized<>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add two leftover classes needing same treatment Created 4 years, 7 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
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 "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "platform/heap/Handle.h" 9 #include "platform/heap/Handle.h"
10 #include "wtf/Vector.h" 10 #include "wtf/Vector.h"
11 #include <utility> 11 #include <utility>
12 #include <v8.h> 12 #include <v8.h>
13 13
14 namespace blink { 14 namespace blink {
15 15
16 class DOMWrapperWorld; 16 class DOMWrapperWorld;
17 class Frame; 17 class Frame;
18 class ScriptState; 18 class ScriptState;
19 class SecurityOrigin; 19 class SecurityOrigin;
20 class WindowProxy; 20 class WindowProxy;
21 21
22 class CORE_EXPORT WindowProxyManager final : public GarbageCollectedFinalized<Wi ndowProxyManager> { 22 class CORE_EXPORT WindowProxyManager final : public GarbageCollected<WindowProxy Manager> {
23 public: 23 public:
24 static WindowProxyManager* create(Frame&); 24 static WindowProxyManager* create(Frame&);
25 25
26 ~WindowProxyManager();
27 DECLARE_TRACE(); 26 DECLARE_TRACE();
28 27
29 Frame* frame() const { return m_frame.get(); } 28 Frame* frame() const { return m_frame.get(); }
30 v8::Isolate* isolate() const { return m_isolate; } 29 v8::Isolate* isolate() const { return m_isolate; }
31 WindowProxy* mainWorldProxy() const { return m_windowProxy.get(); } 30 WindowProxy* mainWorldProxy() const { return m_windowProxy.get(); }
32 31
33 WindowProxy* windowProxy(DOMWrapperWorld&); 32 WindowProxy* windowProxy(DOMWrapperWorld&);
34 33
35 void clearForClose(); 34 void clearForClose();
36 void clearForNavigation(); 35 void clearForNavigation();
(...skipping 13 matching lines...) Expand all
50 Member<Frame> m_frame; 49 Member<Frame> m_frame;
51 v8::Isolate* const m_isolate; 50 v8::Isolate* const m_isolate;
52 51
53 const Member<WindowProxy> m_windowProxy; 52 const Member<WindowProxy> m_windowProxy;
54 IsolatedWorldMap m_isolatedWorlds; 53 IsolatedWorldMap m_isolatedWorlds;
55 }; 54 };
56 55
57 } // namespace blink 56 } // namespace blink
58 57
59 #endif // WindowProxyManager_h 58 #endif // WindowProxyManager_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698