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

Unified Diff: ui/views/controls/native/native_view_host.cc

Issue 339663003: Revert of Implement NativeViewHostAura::InstallClip. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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
« no previous file with comments | « ui/aura/client/aura_constants.cc ('k') | ui/views/controls/native/native_view_host_aura.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/native/native_view_host.cc
diff --git a/ui/views/controls/native/native_view_host.cc b/ui/views/controls/native/native_view_host.cc
index 9a211cd187f8516cf9db7c5e3fd3615858edf748..c1b230c452e64bd8fd90d3e91310a5c16727d4c0 100644
--- a/ui/views/controls/native/native_view_host.cc
+++ b/ui/views/controls/native/native_view_host.cc
@@ -38,7 +38,8 @@
// be seen as focused when the native view receives focus.
if (!focus_view_)
focus_view_ = this;
- native_wrapper_->AttachNativeView();
+ native_wrapper_->NativeViewWillAttach();
+ Widget::ReparentNativeView(native_view_, GetWidget()->GetNativeView());
Layout();
Widget* widget = Widget::GetWidgetForNativeView(native_view);
« no previous file with comments | « ui/aura/client/aura_constants.cc ('k') | ui/views/controls/native/native_view_host_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698