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

Side by Side Diff: Source/web/WebRemoteFrameImpl.h

Issue 555953002: Move isLoading() from WebFrame to WebLocalFrame (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 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/web/WebRemoteFrameImpl.cpp » ('j') | 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 WebRemoteFrameImpl_h 5 #ifndef WebRemoteFrameImpl_h
6 #define WebRemoteFrameImpl_h 6 #define WebRemoteFrameImpl_h
7 7
8 #include "public/web/WebRemoteFrame.h" 8 #include "public/web/WebRemoteFrame.h"
9 #include "web/RemoteFrameClient.h" 9 #include "web/RemoteFrameClient.h"
10 #include "wtf/HashMap.h" 10 #include "wtf/HashMap.h"
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 virtual void reload(bool ignoreCache) OVERRIDE; 79 virtual void reload(bool ignoreCache) OVERRIDE;
80 virtual void reloadWithOverrideURL(const WebURL& overrideUrl, bool ignoreCac he) OVERRIDE; 80 virtual void reloadWithOverrideURL(const WebURL& overrideUrl, bool ignoreCac he) OVERRIDE;
81 virtual void loadRequest(const WebURLRequest&) OVERRIDE; 81 virtual void loadRequest(const WebURLRequest&) OVERRIDE;
82 virtual void loadHistoryItem(const WebHistoryItem&, WebHistoryLoadType, WebU RLRequest::CachePolicy) OVERRIDE; 82 virtual void loadHistoryItem(const WebHistoryItem&, WebHistoryLoadType, WebU RLRequest::CachePolicy) OVERRIDE;
83 virtual void loadData( 83 virtual void loadData(
84 const WebData&, const WebString& mimeType, const WebString& textEncoding , 84 const WebData&, const WebString& mimeType, const WebString& textEncoding ,
85 const WebURL& baseURL, const WebURL& unreachableURL, bool replace) OVERR IDE; 85 const WebURL& baseURL, const WebURL& unreachableURL, bool replace) OVERR IDE;
86 virtual void loadHTMLString( 86 virtual void loadHTMLString(
87 const WebData& html, const WebURL& baseURL, const WebURL& unreachableURL , 87 const WebData& html, const WebURL& baseURL, const WebURL& unreachableURL ,
88 bool replace) OVERRIDE; 88 bool replace) OVERRIDE;
89 virtual bool isLoading() const OVERRIDE;
90 virtual void stopLoading() OVERRIDE; 89 virtual void stopLoading() OVERRIDE;
91 virtual WebDataSource* provisionalDataSource() const OVERRIDE; 90 virtual WebDataSource* provisionalDataSource() const OVERRIDE;
92 virtual WebDataSource* dataSource() const OVERRIDE; 91 virtual WebDataSource* dataSource() const OVERRIDE;
93 virtual void enableViewSourceMode(bool enable) OVERRIDE; 92 virtual void enableViewSourceMode(bool enable) OVERRIDE;
94 virtual bool isViewSourceModeEnabled() const OVERRIDE; 93 virtual bool isViewSourceModeEnabled() const OVERRIDE;
95 virtual void setReferrerForRequest(WebURLRequest&, const WebURL& referrer) O VERRIDE; 94 virtual void setReferrerForRequest(WebURLRequest&, const WebURL& referrer) O VERRIDE;
96 virtual void dispatchWillSendRequest(WebURLRequest&) OVERRIDE; 95 virtual void dispatchWillSendRequest(WebURLRequest&) OVERRIDE;
97 virtual WebURLLoader* createAssociatedURLLoader(const WebURLLoaderOptions&) OVERRIDE; 96 virtual WebURLLoader* createAssociatedURLLoader(const WebURLLoaderOptions&) OVERRIDE;
98 virtual unsigned unloadListenerCount() const OVERRIDE; 97 virtual unsigned unloadListenerCount() const OVERRIDE;
99 virtual void replaceSelection(const WebString&) OVERRIDE; 98 virtual void replaceSelection(const WebString&) OVERRIDE;
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 RefPtr<RemoteFrame> m_frame; 187 RefPtr<RemoteFrame> m_frame;
189 188
190 HashMap<WebFrame*, OwnPtr<FrameOwner> > m_ownersForChildren; 189 HashMap<WebFrame*, OwnPtr<FrameOwner> > m_ownersForChildren;
191 }; 190 };
192 191
193 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame() , frame.isWebRemoteFrame()); 192 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame() , frame.isWebRemoteFrame());
194 193
195 } // namespace blink 194 } // namespace blink
196 195
197 #endif // WebRemoteFrameImpl_h 196 #endif // WebRemoteFrameImpl_h
OLDNEW
« no previous file with comments | « no previous file | Source/web/WebRemoteFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698