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

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

Issue 1964153002: Move Screen, its impls, DisplayObserver and DisplayChangeNotifier to ui/display (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 #ifndef ASH_SYSTEM_WEB_NOTIFICATION_ASH_POPUP_ALIGNMENT_DELEGATE_H_ 5 #ifndef ASH_SYSTEM_WEB_NOTIFICATION_ASH_POPUP_ALIGNMENT_DELEGATE_H_
6 #define ASH_SYSTEM_WEB_NOTIFICATION_ASH_POPUP_ALIGNMENT_DELEGATE_H_ 6 #define ASH_SYSTEM_WEB_NOTIFICATION_ASH_POPUP_ALIGNMENT_DELEGATE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
11 #include "ash/shelf/shelf_layout_manager_observer.h" 11 #include "ash/shelf/shelf_layout_manager_observer.h"
12 #include "ash/shelf/shelf_types.h" 12 #include "ash/shelf/shelf_types.h"
13 #include "ash/shell_observer.h" 13 #include "ash/shell_observer.h"
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "ui/display/display_observer.h" 15 #include "ui/display/display_observer.h"
16 #include "ui/gfx/geometry/rect.h" 16 #include "ui/gfx/geometry/rect.h"
17 #include "ui/message_center/views/popup_alignment_delegate.h" 17 #include "ui/message_center/views/popup_alignment_delegate.h"
18 18
19 namespace aura { 19 namespace aura {
20 class Window; 20 class Window;
21 } 21 }
22 22
23 namespace gfx { 23 namespace display {
24 class Screen; 24 class Screen;
25 } 25 }
26 26
27 namespace display {
28 using Screen = gfx::Screen;
29 }
30
31 namespace ash { 27 namespace ash {
32 28
33 class AshPopupAlignmentDelegateTest; 29 class AshPopupAlignmentDelegateTest;
34 class ShelfLayoutManager; 30 class ShelfLayoutManager;
35 class WebNotificationTrayTest; 31 class WebNotificationTrayTest;
36 32
37 // The PopupAlignmentDelegate subclass for Ash. It needs to handle alignment of 33 // The PopupAlignmentDelegate subclass for Ash. It needs to handle alignment of
38 // the shelf and its autohide state. 34 // the shelf and its autohide state.
39 class ASH_EXPORT AshPopupAlignmentDelegate 35 class ASH_EXPORT AshPopupAlignmentDelegate
40 : public message_center::PopupAlignmentDelegate, 36 : public message_center::PopupAlignmentDelegate,
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 gfx::Rect work_area_; 86 gfx::Rect work_area_;
91 ShelfLayoutManager* shelf_; 87 ShelfLayoutManager* shelf_;
92 int system_tray_height_; 88 int system_tray_height_;
93 89
94 DISALLOW_COPY_AND_ASSIGN(AshPopupAlignmentDelegate); 90 DISALLOW_COPY_AND_ASSIGN(AshPopupAlignmentDelegate);
95 }; 91 };
96 92
97 } // namespace ash 93 } // namespace ash
98 94
99 #endif // ASH_SYSTEM_WEB_NOTIFICATION_ASH_POPUP_ALIGNMENT_DELEGATE_H_ 95 #endif // ASH_SYSTEM_WEB_NOTIFICATION_ASH_POPUP_ALIGNMENT_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/ash.gyp ('k') | chrome/browser/ui/window_sizer/window_sizer.h » ('j') | ui/display/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698