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

Side by Side Diff: ui/aura/display_observer.h

Issue 10675011: Rename the remaining usage of Monitor to Display (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 8 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « ui/aura/display_manager.cc ('k') | ui/aura/env.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_AURA_MONITOR_OBSERVER_H_ 5 #ifndef UI_AURA_DISPLAY_OBSERVER_H_
6 #define UI_AURA_MONITOR_OBSERVER_H_ 6 #define UI_AURA_DISPLAY_OBSERVER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "ui/aura/aura_export.h" 9 #include "ui/aura/aura_export.h"
10 10
11 namespace gfx { 11 namespace gfx {
12 class Display; 12 class Display;
13 } 13 }
14 14
15 namespace aura { 15 namespace aura {
16 16
17 // Observers for display configuration changes. 17 // Observers for display configuration changes.
18 class AURA_EXPORT DisplayObserver { 18 class AURA_EXPORT DisplayObserver {
19 public: 19 public:
20 // Called when the |display|'s bound has changed. 20 // Called when the |display|'s bound has changed.
21 virtual void OnDisplayBoundsChanged(const gfx::Display& display) = 0; 21 virtual void OnDisplayBoundsChanged(const gfx::Display& display) = 0;
22 22
23 // Called when |new_monitor| has been added. 23 // Called when |new_display| has been added.
24 virtual void OnDisplayAdded(const gfx::Display& new_display) = 0; 24 virtual void OnDisplayAdded(const gfx::Display& new_display) = 0;
25 25
26 // Called when |old_display| has been removed. 26 // Called when |old_display| has been removed.
27 virtual void OnDisplayRemoved(const gfx::Display& old_display) = 0; 27 virtual void OnDisplayRemoved(const gfx::Display& old_display) = 0;
28 28
29 protected: 29 protected:
30 virtual ~DisplayObserver(); 30 virtual ~DisplayObserver();
31 }; 31 };
32 32
33 } // namespace aura 33 } // namespace aura
34 34
35 #endif // UI_AURA_MONITOR_OBSERVER_H_ 35 #endif // UI_AURA_DISPLAY_OBSERVER_H_
OLDNEW
« no previous file with comments | « ui/aura/display_manager.cc ('k') | ui/aura/env.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698