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

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

Issue 10540091: Rename gfx::Monitor to gfx::Display (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | Annotate | Revision Log
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_MONITOR_OBSERVER_H_
6 #define UI_AURA_MONITOR_OBSERVER_H_
7 #pragma once
8
9 #include "ui/aura/aura_export.h"
10
11 namespace gfx {
12 class Monitor;
13 }
14
15 namespace aura {
16
17 // Observers for monitor configuration changes.
18 class AURA_EXPORT MonitorObserver {
19 public:
20 // Called when the |monitor|'s bound has changed.
21 virtual void OnMonitorBoundsChanged(const gfx::Monitor& monitor) = 0;
22
23 // Called when |new_monitor| has been added.
24 virtual void OnMonitorAdded(const gfx::Monitor& new_monitor) = 0;
25
26 // Called when |old_monitor| has been removed.
27 virtual void OnMonitorRemoved(const gfx::Monitor& old_monitor) = 0;
28
29 protected:
30 virtual ~MonitorObserver();
31 };
32
33 } // namespace aura
34
35 #endif // UI_AURA_MONITOR_OBSERVER_H_
OLDNEW
« no previous file with comments | « ui/aura/monitor_manager.cc ('k') | ui/aura/monitor_observer.cc » ('j') | ui/gfx/screen.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698