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

Unified Diff: ash/wm/app_list_controller.cc

Issue 138003007: [Cleanup] Screen cleanup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: make sure screen_for_shutdown is reset everytime Created 6 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
« no previous file with comments | « ash/touch/touch_observer_hud_unittest.cc ('k') | ash/wm/base_layout_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/app_list_controller.cc
diff --git a/ash/wm/app_list_controller.cc b/ash/wm/app_list_controller.cc
index d8c161da21c6733181e781fe8f664e97619ee36c..560f0044fafb7c5f7c9f4746ab4d9bab41af2c68 100644
--- a/ash/wm/app_list_controller.cc
+++ b/ash/wm/app_list_controller.cc
@@ -6,7 +6,7 @@
#include "ash/ash_switches.h"
#include "ash/root_window_controller.h"
-#include "ash/screen_ash.h"
+#include "ash/screen_util.h"
#include "ash/shelf/shelf.h"
#include "ash/shelf/shelf_layout_manager.h"
#include "ash/shell.h"
@@ -170,7 +170,7 @@ void AppListController::SetVisible(bool visible, aura::Window* window) {
gfx::Rect applist_button_bounds = Shelf::ForWindow(container)->
GetAppListButtonView()->GetBoundsInScreen();
// We need the location of the button within the local screen.
- applist_button_bounds = ash::ScreenAsh::ConvertRectFromScreen(
+ applist_button_bounds = ScreenUtil::ConvertRectFromScreen(
root_window,
applist_button_bounds);
view->InitAsBubbleAttachedToAnchor(
@@ -196,7 +196,7 @@ void AppListController::SetVisible(bool visible, aura::Window* window) {
// By setting us as DnD recipient, the app list knows that we can
// handle items.
if (!CommandLine::ForCurrentProcess()->HasSwitch(
- ash::switches::kAshDisableDragAndDropAppListToLauncher)) {
+ switches::kAshDisableDragAndDropAppListToLauncher)) {
SetDragAndDropHostOfCurrentAppList(
Shelf::ForWindow(window)->GetDragAndDropHostForAppList());
}
@@ -287,11 +287,11 @@ void AppListController::ProcessLocatedEvent(ui::LocatedEvent* event) {
GetRootWindowController(target->GetRootWindow());
if (root_controller) {
aura::Window* menu_container = root_controller->GetContainer(
- ash::internal::kShellWindowId_MenuContainer);
+ internal::kShellWindowId_MenuContainer);
if (menu_container->Contains(target))
return;
aura::Window* keyboard_container = root_controller->GetContainer(
- ash::internal::kShellWindowId_VirtualKeyboardContainer);
+ internal::kShellWindowId_VirtualKeyboardContainer);
if (keyboard_container->Contains(target))
return;
}
« no previous file with comments | « ash/touch/touch_observer_hud_unittest.cc ('k') | ash/wm/base_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698