| 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);
|
| };
|
|
|
|
|