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

Unified Diff: ash/system/web_notification/web_notification_tray.cc

Issue 2035543004: Shuffles and renames ash/common/wm classes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: random changes for chrome tests Created 4 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
Index: ash/system/web_notification/web_notification_tray.cc
diff --git a/ash/system/web_notification/web_notification_tray.cc b/ash/system/web_notification/web_notification_tray.cc
index de85835e8b977efca3e938a8c2f675341aa1c987..1caec8b28c5cbf68ff3b7f8ce9be9652195f3036 100644
--- a/ash/system/web_notification/web_notification_tray.cc
+++ b/ash/system/web_notification/web_notification_tray.cc
@@ -7,9 +7,9 @@
#include "ash/ash_switches.h"
#include "ash/common/shell_window_ids.h"
#include "ash/common/wm/shelf/wm_shelf_util.h"
-#include "ash/common/wm/wm_lookup.h"
-#include "ash/common/wm/wm_root_window_controller.h"
-#include "ash/common/wm/wm_window.h"
+#include "ash/common/wm_lookup.h"
+#include "ash/common/wm_root_window_controller.h"
+#include "ash/common/wm_window.h"
#include "ash/root_window_controller.h"
#include "ash/shelf/shelf_layout_manager.h"
#include "ash/shelf/shelf_layout_manager_observer.h"
@@ -220,7 +220,7 @@ WebNotificationTray::WebNotificationTray(StatusAreaWidget* status_area_widget)
message_center(),
message_center_tray_.get(),
popup_alignment_delegate_.get()));
- const display::Display& display = wm::WmLookup::Get()
+ const display::Display& display = WmLookup::Get()
->GetWindowForWidget(status_area_widget)
->GetDisplayNearestWindow();
popup_alignment_delegate_->StartObserving(display::Screen::GetScreen(),
@@ -253,8 +253,8 @@ bool WebNotificationTray::ShowMessageCenterInternal(bool show_settings) {
max_height = GetShelfLayoutManager()->GetIdealBounds().y();
} else {
// Assume the status area and bubble bottoms are aligned when vertical.
- wm::WmWindow* status_area_window =
- wm::WmLookup::Get()->GetWindowForWidget(status_area_widget());
+ WmWindow* status_area_window =
+ WmLookup::Get()->GetWindowForWidget(status_area_widget());
gfx::Rect bounds_in_root =
status_area_window->GetRootWindow()->ConvertRectFromScreen(
status_area_window->GetBoundsInScreen());

Powered by Google App Engine
This is Rietveld 408576698