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

Side by Side Diff: content/renderer/render_frame_impl.h

Issue 19059004: Remove didReceiveDocumentData() and set its only state in didCommitProvisionalLoad (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 | content/renderer/render_frame_impl.cc » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "content/public/renderer/render_frame.h" 9 #include "content/public/renderer/render_frame.h"
10 #include "ipc/ipc_message.h" 10 #include "ipc/ipc_message.h"
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 virtual void didCompleteClientRedirect(WebKit::WebFrame* frame, 97 virtual void didCompleteClientRedirect(WebKit::WebFrame* frame,
98 const WebKit::WebURL& from); 98 const WebKit::WebURL& from);
99 virtual void didCreateDataSource(WebKit::WebFrame* frame, 99 virtual void didCreateDataSource(WebKit::WebFrame* frame,
100 WebKit::WebDataSource* datasource); 100 WebKit::WebDataSource* datasource);
101 virtual void didStartProvisionalLoad(WebKit::WebFrame* frame); 101 virtual void didStartProvisionalLoad(WebKit::WebFrame* frame);
102 virtual void didReceiveServerRedirectForProvisionalLoad( 102 virtual void didReceiveServerRedirectForProvisionalLoad(
103 WebKit::WebFrame* frame); 103 WebKit::WebFrame* frame);
104 virtual void didFailProvisionalLoad( 104 virtual void didFailProvisionalLoad(
105 WebKit::WebFrame* frame, 105 WebKit::WebFrame* frame,
106 const WebKit::WebURLError& error); 106 const WebKit::WebURLError& error);
107 virtual void didReceiveDocumentData(WebKit::WebFrame* frame,
108 const char* data,
109 size_t length,
110 bool& prevent_default);
111 virtual void didCommitProvisionalLoad(WebKit::WebFrame* frame, 107 virtual void didCommitProvisionalLoad(WebKit::WebFrame* frame,
112 bool is_new_navigation); 108 bool is_new_navigation);
113 virtual void didClearWindowObject(WebKit::WebFrame* frame); 109 virtual void didClearWindowObject(WebKit::WebFrame* frame);
114 virtual void didCreateDocumentElement(WebKit::WebFrame* frame); 110 virtual void didCreateDocumentElement(WebKit::WebFrame* frame);
115 virtual void didReceiveTitle(WebKit::WebFrame* frame, 111 virtual void didReceiveTitle(WebKit::WebFrame* frame,
116 const WebKit::WebString& title, 112 const WebKit::WebString& title,
117 WebKit::WebTextDirection direction); 113 WebKit::WebTextDirection direction);
118 virtual void didChangeIcon(WebKit::WebFrame* frame, 114 virtual void didChangeIcon(WebKit::WebFrame* frame,
119 WebKit::WebIconURL::Type icon_type); 115 WebKit::WebIconURL::Type icon_type);
120 virtual void didFinishDocumentLoad(WebKit::WebFrame* frame); 116 virtual void didFinishDocumentLoad(WebKit::WebFrame* frame);
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 private: 209 private:
214 RenderViewImpl* render_view_; 210 RenderViewImpl* render_view_;
215 int routing_id_; 211 int routing_id_;
216 212
217 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 213 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
218 }; 214 };
219 215
220 } // namespace content 216 } // namespace content
221 217
222 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 218 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698