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

Side by Side Diff: ui/aura/client/cursor_client_observer.h

Issue 2780623002: exo: Fix multi-display hardware cursor (Closed)
Patch Set: Fix style error Created 3 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
« no previous file with comments | « ui/aura/client/cursor_client.h ('k') | ui/aura/test/test_cursor_client.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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_CLIENT_CURSOR_CLIENT_OBSERVER_H_ 5 #ifndef UI_AURA_CLIENT_CURSOR_CLIENT_OBSERVER_H_
6 #define UI_AURA_CLIENT_CURSOR_CLIENT_OBSERVER_H_ 6 #define UI_AURA_CLIENT_CURSOR_CLIENT_OBSERVER_H_
7 7
8 #include "ui/aura/aura_export.h" 8 #include "ui/aura/aura_export.h"
9 #include "ui/base/cursor/cursor.h" 9 #include "ui/base/cursor/cursor.h"
10 10
11 namespace display {
12 class Display;
13 }
14
11 namespace aura { 15 namespace aura {
12 namespace client { 16 namespace client {
13 17
14 class AURA_EXPORT CursorClientObserver { 18 class AURA_EXPORT CursorClientObserver {
15 public: 19 public:
16 virtual void OnCursorVisibilityChanged(bool is_visible) {} 20 virtual void OnCursorVisibilityChanged(bool is_visible) {}
17 virtual void OnCursorSetChanged(ui::CursorSetType cursor_set) {} 21 virtual void OnCursorSetChanged(ui::CursorSetType cursor_set) {}
22 virtual void OnCursorDisplayChanged(const display::Display& display) {}
18 23
19 protected: 24 protected:
20 virtual ~CursorClientObserver() {} 25 virtual ~CursorClientObserver() {}
21 }; 26 };
22 27
23 } // namespace client 28 } // namespace client
24 } // namespace aura 29 } // namespace aura
25 30
26 #endif // UI_AURA_CLIENT_CURSOR_CLIENT_OBSERVER_H_ 31 #endif // UI_AURA_CLIENT_CURSOR_CLIENT_OBSERVER_H_
OLDNEW
« no previous file with comments | « ui/aura/client/cursor_client.h ('k') | ui/aura/test/test_cursor_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698