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

Side by Side Diff: ash/system/web_notification/ash_popup_alignment_delegate.cc

Issue 2908333003: [mus+ash] Removes WmWindow from ash (app_list, frame, metrics, session, system, wallpaper) (Closed)
Patch Set: [mus ash] Removes WmWindow from ash (rebase, nits and cleanup of use of ResizeHandleWindowTargeter) Created 3 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ash/system/web_notification/ash_popup_alignment_delegate.h" 5 #include "ash/system/web_notification/ash_popup_alignment_delegate.h"
6 6
7 #include "ash/public/cpp/shelf_types.h" 7 #include "ash/public/cpp/shelf_types.h"
8 #include "ash/public/cpp/shell_window_ids.h" 8 #include "ash/public/cpp/shell_window_ids.h"
9 #include "ash/root_window_controller.h" 9 #include "ash/root_window_controller.h"
10 #include "ash/shelf/shelf.h" 10 #include "ash/shelf/shelf.h"
11 #include "ash/shelf/shelf_constants.h" 11 #include "ash/shelf/shelf_constants.h"
12 #include "ash/shell.h" 12 #include "ash/shell.h"
13 #include "ash/wm_window.h"
14 #include "base/i18n/rtl.h" 13 #include "base/i18n/rtl.h"
15 #include "ui/display/display.h" 14 #include "ui/display/display.h"
16 #include "ui/display/screen.h" 15 #include "ui/display/screen.h"
17 #include "ui/gfx/geometry/rect.h" 16 #include "ui/gfx/geometry/rect.h"
18 #include "ui/message_center/message_center_style.h" 17 #include "ui/message_center/message_center_style.h"
19 #include "ui/message_center/views/message_popup_collection.h" 18 #include "ui/message_center/views/message_popup_collection.h"
20 #include "ui/wm/core/shadow_types.h" 19 #include "ui/wm/core/shadow_types.h"
21 20
22 namespace ash { 21 namespace ash {
23 22
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 const display::Display& old_display) {} 162 const display::Display& old_display) {}
164 163
165 void AshPopupAlignmentDelegate::OnDisplayMetricsChanged( 164 void AshPopupAlignmentDelegate::OnDisplayMetricsChanged(
166 const display::Display& display, 165 const display::Display& display,
167 uint32_t metrics) { 166 uint32_t metrics) {
168 if (GetCurrentDisplay().id() == display.id()) 167 if (GetCurrentDisplay().id() == display.id())
169 UpdateWorkArea(); 168 UpdateWorkArea();
170 } 169 }
171 170
172 } // namespace ash 171 } // namespace ash
OLDNEW
« no previous file with comments | « ash/system/user/user_view.cc ('k') | ash/system/web_notification/ash_popup_alignment_delegate_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698