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

Side by Side Diff: content/browser/renderer_host/render_view_host_delegate.h

Issue 11090068: When starting a provisional load include the parent frame ID in the IPC and pass it down the th WCO… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updatess Created 8 years, 2 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
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_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 int error_code) {} 145 int error_code) {}
146 146
147 // The RenderView is going to be deleted. This is called when each 147 // The RenderView is going to be deleted. This is called when each
148 // RenderView is going to be destroyed 148 // RenderView is going to be destroyed
149 virtual void RenderViewDeleted(RenderViewHost* render_view_host) {} 149 virtual void RenderViewDeleted(RenderViewHost* render_view_host) {}
150 150
151 // The RenderView started a provisional load for a given frame. 151 // The RenderView started a provisional load for a given frame.
152 virtual void DidStartProvisionalLoadForFrame( 152 virtual void DidStartProvisionalLoadForFrame(
153 RenderViewHost* render_view_host, 153 RenderViewHost* render_view_host,
154 int64 frame_id, 154 int64 frame_id,
155 int64 parent_frame_id,
155 bool main_frame, 156 bool main_frame,
156 const GURL& opener_url, 157 const GURL& opener_url,
157 const GURL& url) {} 158 const GURL& url) {}
158 159
159 // The RenderView processed a redirect during a provisional load. 160 // The RenderView processed a redirect during a provisional load.
160 // 161 //
161 // TODO(creis): Remove this method and have the pre-rendering code listen to 162 // TODO(creis): Remove this method and have the pre-rendering code listen to
162 // the ResourceDispatcherHost's RESOURCE_RECEIVED_REDIRECT notification 163 // the ResourceDispatcherHost's RESOURCE_RECEIVED_REDIRECT notification
163 // instead. See http://crbug.com/78512. 164 // instead. See http://crbug.com/78512.
164 virtual void DidRedirectProvisionalLoad( 165 virtual void DidRedirectProvisionalLoad(
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 virtual void RemoveLayer(WebKit::WebLayer* layer) {} 421 virtual void RemoveLayer(WebKit::WebLayer* layer) {}
421 #endif 422 #endif
422 423
423 protected: 424 protected:
424 virtual ~RenderViewHostDelegate() {} 425 virtual ~RenderViewHostDelegate() {}
425 }; 426 };
426 427
427 } // namespace content 428 } // namespace content
428 429
429 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 430 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/browser/browser_plugin/browser_plugin_guest.cc ('k') | content/browser/renderer_host/render_view_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698