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

Unified Diff: content/port/browser/render_widget_host_view_port.h

Issue 11498008: RenderWidget popup should be a NSWindow so it can go outside the main window. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years 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/port/browser/render_widget_host_view_port.h
diff --git a/content/port/browser/render_widget_host_view_port.h b/content/port/browser/render_widget_host_view_port.h
index 6d4806a3572f7f06ee937943ed0bc19f1dfeee5a..ff42a77195e62ca1006d999747f484dd1492eb40 100644
--- a/content/port/browser/render_widget_host_view_port.h
+++ b/content/port/browser/render_widget_host_view_port.h
@@ -43,6 +43,7 @@ class PlatformBitmap;
namespace content {
class BackingStore;
class SmoothScrollGesture;
+class WebContentsViewDelegate;
struct NativeWebKeyboardEvent;
// This is the larger RenderWidgetHostView interface exposed only
@@ -62,7 +63,8 @@ class CONTENT_EXPORT RenderWidgetHostViewPort : public RenderWidgetHostView {
// Perform all the initialization steps necessary for this object to represent
// a popup (such as a <select> dropdown), then shows the popup at |pos|.
virtual void InitAsPopup(RenderWidgetHostView* parent_host_view,
- const gfx::Rect& pos) = 0;
+ const gfx::Rect& pos,
+ WebContentsViewDelegate* delegate = NULL) = 0;
// Perform all the initialization steps necessary for this object to represent
// a full screen window.

Powered by Google App Engine
This is Rietveld 408576698