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

Unified Diff: content/browser/renderer_host/render_view_host_delegate.h

Issue 1986643002: Track pending WebContents and widgets by (process_id, routing_id) pair. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fullscreen-flash
Patch Set: Disable popup menu test for Mac/Android Created 4 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
Index: content/browser/renderer_host/render_view_host_delegate.h
diff --git a/content/browser/renderer_host/render_view_host_delegate.h b/content/browser/renderer_host/render_view_host_delegate.h
index 984f854b6a71ebf21a7ed44b1fdcc52e0b6cb3f2..a4f8f46b60a4bd1ec8d60c0d40491f0b5b2c63d2 100644
--- a/content/browser/renderer_host/render_view_host_delegate.h
+++ b/content/browser/renderer_host/render_view_host_delegate.h
@@ -198,18 +198,20 @@ class CONTENT_EXPORT RenderViewHostDelegate {
//
// Note: this is not called "ShowWindow" because that will clash with
// the Windows function which is actually a #define.
- virtual void ShowCreatedWindow(int route_id,
+ virtual void ShowCreatedWindow(int process_id,
+ int route_id,
WindowOpenDisposition disposition,
const gfx::Rect& initial_rect,
bool user_gesture) {}
// Show the newly created widget with the specified bounds.
// The widget is identified by the route_id passed to CreateNewWidget.
- virtual void ShowCreatedWidget(int route_id,
+ virtual void ShowCreatedWidget(int process_id,
+ int route_id,
const gfx::Rect& initial_rect) {}
// Show the newly created full screen widget. Similar to above.
- virtual void ShowCreatedFullscreenWidget(int route_id) {}
+ virtual void ShowCreatedFullscreenWidget(int process_id, int route_id) {}
// Returns the SessionStorageNamespace the render view should use. Might
// create the SessionStorageNamespace on the fly.
« no previous file with comments | « content/browser/frame_host/interstitial_page_impl.cc ('k') | content/browser/renderer_host/render_view_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698