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

Unified Diff: content/browser/web_contents/web_contents_view_mac.mm

Issue 11773042: Allow embedders to provide a custom view for popup (select box) widgets, (Closed) Base URL: http://src.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 11 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/web_contents/web_contents_view_mac.mm
===================================================================
--- content/browser/web_contents/web_contents_view_mac.mm (revision 176042)
+++ content/browser/web_contents/web_contents_view_mac.mm (working copy)
@@ -142,6 +142,11 @@
return view;
}
+RenderWidgetHostView* WebContentsViewMac::CreateViewForPopupWidget(
+ RenderWidgetHost* render_widget_host) {
+ return RenderWidgetHostViewPort::CreateViewForWidget(render_widget_host);
+}
+
gfx::NativeView WebContentsViewMac::GetNativeView() const {
return cocoa_view_.get();
}
« no previous file with comments | « content/browser/web_contents/web_contents_view_mac.h ('k') | content/browser/web_contents/web_contents_view_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698