Index: content/browser/web_contents/web_contents_view.h |
diff --git a/content/browser/web_contents/web_contents_view.h b/content/browser/web_contents/web_contents_view.h |
index 700194b5f1990e6ac00d2b39a10f074066eec8fa..acf80580a41e6f315601117f3f11fddf38ed932b 100644 |
--- a/content/browser/web_contents/web_contents_view.h |
+++ b/content/browser/web_contents/web_contents_view.h |
@@ -79,12 +79,19 @@ class WebContentsView { |
// Sets up the View that holds the rendered web page, receives messages for |
// it and contains page plugins. The host view should be sized to the current |
// size of the WebContents. |
+ // |
+ // |is_guest_view_hack| is temporary hack and will be removed once |
+ // RenderWidgetHostViewGuest is not dependent on platform view. |
+ // TODO(lazyboy): Remove |is_guest_view_hack| once http://crbug.com/330264 is |
+ // fixed. |
virtual RenderWidgetHostViewBase* CreateViewForWidget( |
- RenderWidgetHost* render_widget_host) = 0; |
+ RenderWidgetHost* render_widget_host, bool is_guest_view_hack) = 0; |
// Creates a new View that holds a popup and receives messages for it. |
+ // |
+ // See the comment in CreateViewForWidget for |is_guest_view_hack|. |
virtual RenderWidgetHostViewBase* CreateViewForPopupWidget( |
- RenderWidgetHost* render_widget_host) = 0; |
+ RenderWidgetHost* render_widget_host, bool is_guest_view_hack) = 0; |
// Sets the page title for the native widgets corresponding to the view. This |
// is not strictly necessary and isn't expected to be displayed anywhere, but |