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

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

Issue 332563003: Remove RenderViewImpl::OnNavigate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | « content/renderer/render_frame_impl.cc ('k') | content/renderer/render_view_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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_VIEW_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 790 matching lines...) Expand 10 before | Expand all | Expand 10 after
801 801
802 // Called to get the WebPlugin to handle find requests in the document. 802 // Called to get the WebPlugin to handle find requests in the document.
803 // Returns NULL if there is no such WebPlugin. 803 // Returns NULL if there is no such WebPlugin.
804 blink::WebPlugin* GetWebPluginForFind(); 804 blink::WebPlugin* GetWebPluginForFind();
805 805
806 // Returns true if the |params| navigation is to an entry that has been 806 // Returns true if the |params| navigation is to an entry that has been
807 // cropped due to a recent navigation the browser did not know about. 807 // cropped due to a recent navigation the browser did not know about.
808 bool IsBackForwardToStaleEntry(const FrameMsg_Navigate_Params& params, 808 bool IsBackForwardToStaleEntry(const FrameMsg_Navigate_Params& params,
809 bool is_reload); 809 bool is_reload);
810 810
811 // TODO(nasko): Remove this method when code is migrated to use
812 // RenderFrameObserver.
813 void OnNavigate(const FrameMsg_Navigate_Params& params);
814
815 // Make the given |frame| show an empty, unscriptable page. 811 // Make the given |frame| show an empty, unscriptable page.
816 // TODO(creis): Move this to RenderFrame. 812 // TODO(creis): Move this to RenderFrame.
817 void NavigateToSwappedOutURL(blink::WebFrame* frame); 813 void NavigateToSwappedOutURL(blink::WebFrame* frame);
818 814
819 // If we initiated a navigation, this function will populate |document_state| 815 // If we initiated a navigation, this function will populate |document_state|
820 // with the navigation information saved in OnNavigate(). 816 // with the navigation information saved in OnNavigate().
821 void PopulateDocumentStateFromPending(DocumentState* document_state); 817 void PopulateDocumentStateFromPending(DocumentState* document_state);
822 818
823 // Returns a new NavigationState populated with the navigation information 819 // Returns a new NavigationState populated with the navigation information
824 // saved in OnNavigate(). 820 // saved in OnNavigate().
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after
1184 // use the Observer interface to filter IPC messages and receive frame change 1180 // use the Observer interface to filter IPC messages and receive frame change
1185 // notifications. 1181 // notifications.
1186 // --------------------------------------------------------------------------- 1182 // ---------------------------------------------------------------------------
1187 1183
1188 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1184 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1189 }; 1185 };
1190 1186
1191 } // namespace content 1187 } // namespace content
1192 1188
1193 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1189 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698