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

Side by Side Diff: public/web/WebLocalFrame.h

Issue 1156473002: Refactor FrameLoader loading interface (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addressed comments 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
« public/web/WebFrameLoadType.h ('K') | « public/web/WebFrameLoadType.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 WebLocalFrame_h 5 #ifndef WebLocalFrame_h
6 #define WebLocalFrame_h 6 #define WebLocalFrame_h
7 7
8 #include "WebFrame.h" 8 #include "WebFrame.h"
9 9
10 namespace blink { 10 namespace blink {
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 virtual void initializeToReplaceRemoteFrame(WebRemoteFrame*, const WebString & name, WebSandboxFlags) = 0; 53 virtual void initializeToReplaceRemoteFrame(WebRemoteFrame*, const WebString & name, WebSandboxFlags) = 0;
54 54
55 virtual void setAutofillClient(WebAutofillClient*) = 0; 55 virtual void setAutofillClient(WebAutofillClient*) = 0;
56 virtual WebAutofillClient* autofillClient() = 0; 56 virtual WebAutofillClient* autofillClient() = 0;
57 virtual void setDevToolsAgentClient(WebDevToolsAgentClient*) = 0; 57 virtual void setDevToolsAgentClient(WebDevToolsAgentClient*) = 0;
58 virtual WebDevToolsAgent* devToolsAgent() = 0; 58 virtual WebDevToolsAgent* devToolsAgent() = 0;
59 59
60 // Navigation Ping -------------------------------------------------------- 60 // Navigation Ping --------------------------------------------------------
61 virtual void sendPings(const WebNode& linkNode, const WebURL& destinationURL ) = 0; 61 virtual void sendPings(const WebNode& linkNode, const WebURL& destinationURL ) = 0;
62 62
63 // Navigation ----------------------------------------------------------
64
65 // Returns a WebURLRequest corresponding to the load of the WebHistoryItem.
66 virtual WebURLRequest requestFromHistoryItem(const WebHistoryItem&, WebURLRe quest::CachePolicy)
67 const = 0;
68
69 // Returns a WebURLRequest corresponding to the reload of the current
70 // HistoryItem.
71 virtual WebURLRequest requestForReload(WebFrameLoadType,
72 const WebURL& overrideURL = WebURL()) const = 0;
63 73
64 // Navigation State ------------------------------------------------------- 74 // Navigation State -------------------------------------------------------
65 75
66 // Returns true if the current frame's load event has not completed. 76 // Returns true if the current frame's load event has not completed.
67 virtual bool isLoading() const = 0; 77 virtual bool isLoading() const = 0;
68 78
69 // Returns true if any resource load is currently in progress. Exposed 79 // Returns true if any resource load is currently in progress. Exposed
70 // primarily for use in layout tests. You probably want isLoading() 80 // primarily for use in layout tests. You probably want isLoading()
71 // instead. 81 // instead.
72 virtual bool isResourceLoadInProgress() const = 0; 82 virtual bool isResourceLoadInProgress() const = 0;
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 virtual void reloadImage(const WebNode&) = 0; 145 virtual void reloadImage(const WebNode&) = 0;
136 146
137 protected: 147 protected:
138 explicit WebLocalFrame(WebTreeScopeType scope) : WebFrame(scope) { } 148 explicit WebLocalFrame(WebTreeScopeType scope) : WebFrame(scope) { }
139 }; 149 };
140 150
141 } // namespace blink 151 } // namespace blink
142 152
143 #endif // WebLocalFrame_h 153 #endif // WebLocalFrame_h
144 154
OLDNEW
« public/web/WebFrameLoadType.h ('K') | « public/web/WebFrameLoadType.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698