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

Side by Side Diff: ui/message_center/views/desktop_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: fix tabs 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
« no previous file with comments | « ui/gfx/screen_unittest.cc ('k') | ui/views/widget/desktop_aura/desktop_factory_ozone.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 UI_MESSAGE_CENTER_VIEWS_DESKTOP_POPUP_ALIGNMENT_DELEGATE_H_ 5 #ifndef UI_MESSAGE_CENTER_VIEWS_DESKTOP_POPUP_ALIGNMENT_DELEGATE_H_
6 #define UI_MESSAGE_CENTER_VIEWS_DESKTOP_POPUP_ALIGNMENT_DELEGATE_H_ 6 #define UI_MESSAGE_CENTER_VIEWS_DESKTOP_POPUP_ALIGNMENT_DELEGATE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "ui/display/display_observer.h" 11 #include "ui/display/display_observer.h"
12 #include "ui/gfx/geometry/rect.h" 12 #include "ui/gfx/geometry/rect.h"
13 #include "ui/message_center/views/popup_alignment_delegate.h" 13 #include "ui/message_center/views/popup_alignment_delegate.h"
14 14
15 namespace gfx { 15 namespace display {
16 class Screen; 16 class Screen;
17 } 17 }
18 18
19 namespace display {
20 using Screen = gfx::Screen;
21 }
22
23 namespace message_center { 19 namespace message_center {
24 namespace test { 20 namespace test {
25 class MessagePopupCollectionTest; 21 class MessagePopupCollectionTest;
26 } 22 }
27 23
28 // The PopupAlignmentDelegate for non-ash Windows/Linux desktop. 24 // The PopupAlignmentDelegate for non-ash Windows/Linux desktop.
29 class MESSAGE_CENTER_EXPORT DesktopPopupAlignmentDelegate 25 class MESSAGE_CENTER_EXPORT DesktopPopupAlignmentDelegate
30 : public PopupAlignmentDelegate, 26 : public PopupAlignmentDelegate,
31 public display::DisplayObserver { 27 public display::DisplayObserver {
32 public: 28 public:
(...skipping 30 matching lines...) Expand all
63 int64_t display_id_; 59 int64_t display_id_;
64 display::Screen* screen_; 60 display::Screen* screen_;
65 gfx::Rect work_area_; 61 gfx::Rect work_area_;
66 62
67 DISALLOW_COPY_AND_ASSIGN(DesktopPopupAlignmentDelegate); 63 DISALLOW_COPY_AND_ASSIGN(DesktopPopupAlignmentDelegate);
68 }; 64 };
69 65
70 } // namespace message_center 66 } // namespace message_center
71 67
72 #endif // UI_MESSAGE_CENTER_VIEWS_DESKTOP_POPUP_ALIGNMENT_DELEGATE_H_ 68 #endif // UI_MESSAGE_CENTER_VIEWS_DESKTOP_POPUP_ALIGNMENT_DELEGATE_H_
OLDNEW
« no previous file with comments | « ui/gfx/screen_unittest.cc ('k') | ui/views/widget/desktop_aura/desktop_factory_ozone.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698