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

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

Issue 24020002: Move GetRootWindowController() to root_window_controller.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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: 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 5450e97c27ff7b543b5b0a74c38d23cd8ce4af9a..31df5732a94bba47086b6575346866b1f72a824d 100644
--- a/ash/wm/gestures/long_press_affordance_handler.cc
+++ b/ash/wm/gestures/long_press_affordance_handler.cc
@@ -8,7 +8,6 @@
#include "ash/shell.h"
#include "ash/root_window_controller.h"
#include "ash/shell_window_ids.h"
-#include "ash/wm/property_util.h"
#include "third_party/skia/include/core/SkColor.h"
#include "third_party/skia/include/core/SkPaint.h"
#include "third_party/skia/include/core/SkPath.h"
@@ -69,7 +68,7 @@ views::Widget* CreateAffordanceWidget(aura::RootWindow* root_window) {
params.opacity = views::Widget::InitParams::TRANSLUCENT_WINDOW;
widget->Init(params);
widget->SetOpacity(0xFF);
- ash::GetRootWindowController(root_window)->GetContainer(
+ ash::internal::GetRootWindowController(root_window)->GetContainer(
Daniel Erat 2013/09/06 01:00:35 nit: any reason not to move this anon namespace in
oshima 2013/09/06 01:11:06 Agreed. done.
ash::internal::kShellWindowId_OverlayContainer)->AddChild(
widget->GetNativeWindow());
return widget;

Powered by Google App Engine
This is Rietveld 408576698