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

Unified Diff: content/browser/web_contents/web_contents_view_gtk.cc

Issue 11308083: Fix the html select tag showing up at the wrong position. This was a regression from r166446. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix win_rel Created 8 years, 1 month 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_gtk.cc
===================================================================
--- content/browser/web_contents/web_contents_view_gtk.cc (revision 168623)
+++ content/browser/web_contents/web_contents_view_gtk.cc (working copy)
@@ -148,6 +148,13 @@
return view;
}
+void WebContentsViewGtk::SetView(RenderWidgetHostView* view) {
+ gfx::NativeView content_view = view->GetNativeView();
+ drag_dest_.reset(new WebDragDestGtk(web_contents_, content_view));
+ if (delegate_.get())
+ drag_dest_->set_delegate(delegate_->GetDragDestDelegate());
+}
+
gfx::NativeView WebContentsViewGtk::GetNativeView() const {
if (delegate_.get())
return delegate_->GetNativeView();
« no previous file with comments | « content/browser/web_contents/web_contents_view_gtk.h ('k') | content/browser/web_contents/web_contents_view_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698