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

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

Issue 2392843002: Remove WindowProxy::isGlobalInitialized(). (DO NOT COMMIT YET) (Closed)
Patch Set: . Created 4 years, 2 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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 void navigate(Document& originDocument, 110 void navigate(Document& originDocument,
111 const KURL&, 111 const KURL&,
112 bool replaceCurrentItem, 112 bool replaceCurrentItem,
113 UserGestureStatus) override; 113 UserGestureStatus) override;
114 void navigate(const FrameLoadRequest&) override; 114 void navigate(const FrameLoadRequest&) override;
115 void reload(FrameLoadType, ClientRedirectPolicy) override; 115 void reload(FrameLoadType, ClientRedirectPolicy) override;
116 void detach(FrameDetachType) override; 116 void detach(FrameDetachType) override;
117 bool shouldClose() override; 117 bool shouldClose() override;
118 SecurityContext* securityContext() const override; 118 SecurityContext* securityContext() const override;
119 void printNavigationErrorMessage(const Frame&, const char* reason) override; 119 void printNavigationErrorMessage(const Frame&, const char* reason) override;
120 WindowProxyManager* getWindowProxyManager() const override;
120 bool prepareForCommit() override; 121 bool prepareForCommit() override;
121 void didChangeVisibilityState() override; 122 void didChangeVisibilityState() override;
122 123
123 void detachChildren(); 124 void detachChildren();
124 125
125 LocalDOMWindow* localDOMWindow() const; 126 LocalDOMWindow* localDOMWindow() const;
126 void setDOMWindow(LocalDOMWindow*); 127 void setDOMWindow(LocalDOMWindow*);
127 FrameView* view() const; 128 FrameView* view() const;
128 Document* document() const; 129 Document* document() const;
129 void setPagePopupOwner(Element&); 130 void setPagePopupOwner(Element&);
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 217
217 FrameLoaderClient* client() const; 218 FrameLoaderClient* client() const;
218 219
219 PluginData* pluginData() const; 220 PluginData* pluginData() const;
220 221
221 private: 222 private:
222 friend class FrameNavigationDisabler; 223 friend class FrameNavigationDisabler;
223 224
224 LocalFrame(FrameLoaderClient*, FrameHost*, FrameOwner*, InterfaceProvider*); 225 LocalFrame(FrameLoaderClient*, FrameHost*, FrameOwner*, InterfaceProvider*);
225 226
226 // Internal Frame helper overrides:
227 WindowProxyManager* getWindowProxyManager() const override;
228 // Intentionally private to prevent redundant checks when the type is 227 // Intentionally private to prevent redundant checks when the type is
229 // already LocalFrame. 228 // already LocalFrame.
230 bool isLocalFrame() const override { return true; } 229 bool isLocalFrame() const override { return true; }
231 bool isRemoteFrame() const override { return false; } 230 bool isRemoteFrame() const override { return false; }
232 231
233 void enableNavigation() { --m_navigationDisableCount; } 232 void enableNavigation() { --m_navigationDisableCount; }
234 void disableNavigation() { ++m_navigationDisableCount; } 233 void disableNavigation() { ++m_navigationDisableCount; }
235 234
236 std::unique_ptr<WebFrameScheduler> m_frameScheduler; 235 std::unique_ptr<WebFrameScheduler> m_frameScheduler;
237 236
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 explicit ScopedFrameBlamer(LocalFrame*); 362 explicit ScopedFrameBlamer(LocalFrame*);
364 ~ScopedFrameBlamer(); 363 ~ScopedFrameBlamer();
365 364
366 private: 365 private:
367 Member<LocalFrame> m_frame; 366 Member<LocalFrame> m_frame;
368 }; 367 };
369 368
370 } // namespace blink 369 } // namespace blink
371 370
372 #endif // LocalFrame_h 371 #endif // LocalFrame_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/bindings/core/v8/WindowProxy.cpp ('k') | third_party/WebKit/Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698