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

Unified Diff: ash/wm/gestures/long_press_affordance_handler.cc

Issue 11421006: Desktop aura: Break aura::Window::SetParent in two. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Re-add parent finding thing to web_contents_view_aura.cc. I guess it was necessary after all? 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: ash/wm/gestures/long_press_affordance_handler.cc
diff --git a/ash/wm/gestures/long_press_affordance_handler.cc b/ash/wm/gestures/long_press_affordance_handler.cc
index f776e0122f0f9e50eb487b608db5ded6a961aa94..b6b9c8fa6869c2106b1c548a717ca107d6ac9271 100644
--- a/ash/wm/gestures/long_press_affordance_handler.cc
+++ b/ash/wm/gestures/long_press_affordance_handler.cc
@@ -68,7 +68,7 @@ views::Widget* CreateAffordanceWidget(aura::RootWindow* root_window) {
params.transparent = true;
widget->Init(params);
widget->SetOpacity(0xFF);
- widget->GetNativeWindow()->SetParent(
+ widget->GetNativeWindow()->SetParentTo(
ash::GetRootWindowController(root_window)->GetContainer(
ash::internal::kShellWindowId_OverlayContainer));
return widget;

Powered by Google App Engine
This is Rietveld 408576698