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

Unified Diff: chrome/renderer/render_view.h

Issue 115575: Move ExtraData from WebRequest to WebDataSource.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/renderer/render_view.cc » ('j') | chrome/renderer/render_view.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/render_view.h
===================================================================
--- chrome/renderer/render_view.h (revision 16382)
+++ chrome/renderer/render_view.h (working copy)
@@ -171,6 +171,7 @@
virtual void DidStartLoading(WebView* webview);
virtual void DidStopLoading(WebView* webview);
+ virtual void DidCreateDataSource(WebFrame* frame, WebDataSource* ds);
virtual void DidStartProvisionalLoadForFrame(
WebView* webview,
WebFrame* frame,
@@ -801,6 +802,13 @@
// The text selection the last time DidChangeSelection got called.
std::string last_selection_;
+ // Holds state pertaining to a navigation that we initiated. This is held by
+ // the WebDataSource::ExtraData attribute. We use pending_navigation_state_
+ // as a temporary holder for the state until the WebDataSource corresponding
+ // to the new navigation is created. See DidCreateDataSource.
+ class NavigationState;
+ scoped_ptr<NavigationState> pending_navigation_state_;
+
DISALLOW_COPY_AND_ASSIGN(RenderView);
};
« no previous file with comments | « no previous file | chrome/renderer/render_view.cc » ('j') | chrome/renderer/render_view.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698