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

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

Issue 2620313002: Refactor WindowProxy into Local and Remote subclasses. (Closed)
Patch Set: explicit Created 3 years, 11 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 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 private: 229 private:
230 friend class FrameNavigationDisabler; 230 friend class FrameNavigationDisabler;
231 231
232 LocalFrame(FrameLoaderClient*, 232 LocalFrame(FrameLoaderClient*,
233 FrameHost*, 233 FrameHost*,
234 FrameOwner*, 234 FrameOwner*,
235 InterfaceProvider*, 235 InterfaceProvider*,
236 InterfaceRegistry*); 236 InterfaceRegistry*);
237 237
238 // Internal Frame helper overrides: 238 // Internal Frame helper overrides:
239 WindowProxyManager* getWindowProxyManager() const override; 239 WindowProxyManagerBase* getWindowProxyManager() const override;
240 // Intentionally private to prevent redundant checks when the type is 240 // Intentionally private to prevent redundant checks when the type is
241 // already LocalFrame. 241 // already LocalFrame.
242 bool isLocalFrame() const override { return true; } 242 bool isLocalFrame() const override { return true; }
243 bool isRemoteFrame() const override { return false; } 243 bool isRemoteFrame() const override { return false; }
244 244
245 void enableNavigation() { --m_navigationDisableCount; } 245 void enableNavigation() { --m_navigationDisableCount; }
246 void disableNavigation() { ++m_navigationDisableCount; } 246 void disableNavigation() { ++m_navigationDisableCount; }
247 247
248 std::unique_ptr<WebFrameScheduler> m_frameScheduler; 248 std::unique_ptr<WebFrameScheduler> m_frameScheduler;
249 249
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 explicit ScopedFrameBlamer(LocalFrame*); 378 explicit ScopedFrameBlamer(LocalFrame*);
379 ~ScopedFrameBlamer(); 379 ~ScopedFrameBlamer();
380 380
381 private: 381 private:
382 Member<LocalFrame> m_frame; 382 Member<LocalFrame> m_frame;
383 }; 383 };
384 384
385 } // namespace blink 385 } // namespace blink
386 386
387 #endif // LocalFrame_h 387 #endif // LocalFrame_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/Frame.h ('k') | third_party/WebKit/Source/core/frame/LocalFrame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698