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

Side by Side Diff: Source/core/frame/Frame.h

Issue 1152053006: Allow RemoteFrames to be navigated through targeted navigation. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Removed TODO, added a comment. Created 5 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/frame/LocalFrame.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 /* 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 reserved. 8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved.
9 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) 9 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies)
10 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> 10 * Copyright (C) 2008 Eric Seidel <eric@webkit.org>
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 class FrameHost; 45 class FrameHost;
46 class FrameOwner; 46 class FrameOwner;
47 class HTMLFrameOwnerElement; 47 class HTMLFrameOwnerElement;
48 class LayoutPart; 48 class LayoutPart;
49 class KURL; 49 class KURL;
50 class Page; 50 class Page;
51 class SecurityContext; 51 class SecurityContext;
52 class Settings; 52 class Settings;
53 class WindowProxy; 53 class WindowProxy;
54 class WindowProxyManager; 54 class WindowProxyManager;
55 struct FrameLoadRequest;
55 56
56 // Status of user gesture. 57 // Status of user gesture.
57 enum class UserGestureStatus { Active, None }; 58 enum class UserGestureStatus { Active, None };
58 59
59 class CORE_EXPORT Frame : public RefCountedWillBeGarbageCollectedFinalized<Frame > { 60 class CORE_EXPORT Frame : public RefCountedWillBeGarbageCollectedFinalized<Frame > {
60 public: 61 public:
61 virtual ~Frame(); 62 virtual ~Frame();
62 63
63 DECLARE_VIRTUAL_TRACE(); 64 DECLARE_VIRTUAL_TRACE();
64 65
65 virtual bool isLocalFrame() const { return false; } 66 virtual bool isLocalFrame() const { return false; }
66 virtual bool isRemoteFrame() const { return false; } 67 virtual bool isRemoteFrame() const { return false; }
67 68
68 virtual DOMWindow* domWindow() const = 0; 69 virtual DOMWindow* domWindow() const = 0;
69 virtual WindowProxy* windowProxy(DOMWrapperWorld&) = 0; 70 virtual WindowProxy* windowProxy(DOMWrapperWorld&) = 0;
70 71
71 virtual void navigate(Document& originDocument, const KURL&, bool lockBackFo rwardList, UserGestureStatus) = 0; 72 virtual void navigate(Document& originDocument, const KURL&, bool lockBackFo rwardList, UserGestureStatus) = 0;
73 // This version of Frame::navigate assumes the resulting navigation is not
74 // to be started on a timer. Use the method above in such cases.
75 virtual void navigate(const FrameLoadRequest&) = 0;
72 virtual void reload(ReloadPolicy, ClientRedirectPolicy) = 0; 76 virtual void reload(ReloadPolicy, ClientRedirectPolicy) = 0;
73 77
74 virtual void detach(); 78 virtual void detach();
75 void detachChildren(); 79 void detachChildren();
76 virtual void disconnectOwnerElement(); 80 virtual void disconnectOwnerElement();
77 81
78 FrameClient* client() const; 82 FrameClient* client() const;
79 83
80 // NOTE: Page is moving out of Blink up into the browser process as 84 // NOTE: Page is moving out of Blink up into the browser process as
81 // part of the site-isolation (out of process iframes) work. 85 // part of the site-isolation (out of process iframes) work.
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 { 151 {
148 return m_treeNode; 152 return m_treeNode;
149 } 153 }
150 154
151 // Allow equality comparisons of Frames by reference or pointer, interchangeably . 155 // Allow equality comparisons of Frames by reference or pointer, interchangeably .
152 DEFINE_COMPARISON_OPERATORS_WITH_REFERENCES_REFCOUNTED(Frame) 156 DEFINE_COMPARISON_OPERATORS_WITH_REFERENCES_REFCOUNTED(Frame)
153 157
154 } // namespace blink 158 } // namespace blink
155 159
156 #endif // Frame_h 160 #endif // Frame_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/frame/LocalFrame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698