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

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

Issue 11363124: Move DisplayManager and DisplayChangeObserverX11 from aura to ash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix rebase Created 8 years, 1 month 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/display_observer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef UI_AURA_DISPLAY_OBSERVER_H_
6 #define UI_AURA_DISPLAY_OBSERVER_H_
7
8 #include "ui/aura/aura_export.h"
9
10 namespace gfx {
11 class Display;
12 }
13
14 namespace aura {
15
16 // Observers for display configuration changes.
17 class AURA_EXPORT DisplayObserver {
18 public:
19 // Called when the |display|'s bound has changed.
20 virtual void OnDisplayBoundsChanged(const gfx::Display& display) = 0;
21
22 // Called when |new_display| has been added.
23 virtual void OnDisplayAdded(const gfx::Display& new_display) = 0;
24
25 // Called when |old_display| has been removed.
26 virtual void OnDisplayRemoved(const gfx::Display& old_display) = 0;
27
28 protected:
29 virtual ~DisplayObserver();
30 };
31
32 } // namespace aura
33
34 #endif // UI_AURA_DISPLAY_OBSERVER_H_
OLDNEW
« no previous file with comments | « ui/aura/display_manager.cc ('k') | ui/aura/display_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698