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

Side by Side Diff: third_party/WebKit/Source/core/frame/LocalFrame.h

Issue 2721693002: Revert of Switch RemoteWindowProxy to use v8::Context::NewRemoteContext. (Closed)
Patch Set: Created 3 years, 9 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 /* 1 /*
2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org>
3 * 1999-2001 Lars Knoll <knoll@kde.org> 3 * 1999-2001 Lars Knoll <knoll@kde.org>
4 * 1999-2001 Antti Koivisto <koivisto@kde.org> 4 * 1999-2001 Antti Koivisto <koivisto@kde.org>
5 * 2000-2001 Simon Hausmann <hausmann@kde.org> 5 * 2000-2001 Simon Hausmann <hausmann@kde.org>
6 * 2000-2001 Dirk Mueller <mueller@kde.org> 6 * 2000-2001 Dirk Mueller <mueller@kde.org>
7 * 2000 Stefan Schimanski <1Stein@gmx.de> 7 * 2000 Stefan Schimanski <1Stein@gmx.de>
8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights 8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights
9 * reserved. 9 * reserved.
10 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) 10 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies)
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 UserGestureStatus) override; 115 UserGestureStatus) override;
116 void navigate(const FrameLoadRequest&) override; 116 void navigate(const FrameLoadRequest&) override;
117 void reload(FrameLoadType, ClientRedirectPolicy) override; 117 void reload(FrameLoadType, ClientRedirectPolicy) override;
118 void detach(FrameDetachType) override; 118 void detach(FrameDetachType) override;
119 bool shouldClose() override; 119 bool shouldClose() override;
120 SecurityContext* securityContext() const override; 120 SecurityContext* securityContext() const override;
121 void printNavigationErrorMessage(const Frame&, const char* reason) override; 121 void printNavigationErrorMessage(const Frame&, const char* reason) override;
122 void printNavigationWarning(const String&) override; 122 void printNavigationWarning(const String&) override;
123 bool prepareForCommit() override; 123 bool prepareForCommit() override;
124 void didChangeVisibilityState() override; 124 void didChangeVisibilityState() override;
125 WindowProxyManagerBase* getWindowProxyManager() const override;
126 125
127 void detachChildren(); 126 void detachChildren();
128 void documentAttached(); 127 void documentAttached();
129 128
130 LocalDOMWindow* domWindow() const; 129 LocalDOMWindow* domWindow() const;
131 void setDOMWindow(LocalDOMWindow*); 130 void setDOMWindow(LocalDOMWindow*);
132 FrameView* view() const; 131 FrameView* view() const;
133 Document* document() const; 132 Document* document() const;
134 void setPagePopupOwner(Element&); 133 void setPagePopupOwner(Element&);
135 Element* pagePopupOwner() const { return m_pagePopupOwner.get(); } 134 Element* pagePopupOwner() const { return m_pagePopupOwner.get(); }
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 227
229 private: 228 private:
230 friend class FrameNavigationDisabler; 229 friend class FrameNavigationDisabler;
231 230
232 LocalFrame(LocalFrameClient*, 231 LocalFrame(LocalFrameClient*,
233 FrameHost*, 232 FrameHost*,
234 FrameOwner*, 233 FrameOwner*,
235 InterfaceProvider*, 234 InterfaceProvider*,
236 InterfaceRegistry*); 235 InterfaceRegistry*);
237 236
237 // Internal Frame helper overrides:
238 WindowProxyManagerBase* getWindowProxyManager() const override;
238 // Intentionally private to prevent redundant checks when the type is 239 // Intentionally private to prevent redundant checks when the type is
239 // already LocalFrame. 240 // already LocalFrame.
240 bool isLocalFrame() const override { return true; } 241 bool isLocalFrame() const override { return true; }
241 bool isRemoteFrame() const override { return false; } 242 bool isRemoteFrame() const override { return false; }
242 243
243 void enableNavigation() { --m_navigationDisableCount; } 244 void enableNavigation() { --m_navigationDisableCount; }
244 void disableNavigation() { ++m_navigationDisableCount; } 245 void disableNavigation() { ++m_navigationDisableCount; }
245 246
246 std::unique_ptr<WebFrameScheduler> m_frameScheduler; 247 std::unique_ptr<WebFrameScheduler> m_frameScheduler;
247 248
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 explicit ScopedFrameBlamer(LocalFrame*); 379 explicit ScopedFrameBlamer(LocalFrame*);
379 ~ScopedFrameBlamer(); 380 ~ScopedFrameBlamer();
380 381
381 private: 382 private:
382 Member<LocalFrame> m_frame; 383 Member<LocalFrame> m_frame;
383 }; 384 };
384 385
385 } // namespace blink 386 } // namespace blink
386 387
387 #endif // LocalFrame_h 388 #endif // LocalFrame_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698