Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 | 10 |
| 10 namespace aura { | 11 namespace aura { |
| 11 namespace client { | 12 namespace client { |
| 12 | 13 |
| 13 class AURA_EXPORT CursorClientObserver { | 14 class AURA_EXPORT CursorClientObserver { |
| 14 public: | 15 public: |
| 15 virtual void OnCursorVisibilityChanged(bool is_visible) = 0; | 16 virtual void OnCursorVisibilityChanged(bool is_visible) {}; |
| 17 virtual void OnCursorSetChanged(ui::CursorSetType cursor_set) {}; | |
|
sky
2016/06/20 15:27:51
nit: no ';' here and previous line.
yoshiki
2016/06/28 02:12:42
Done.
| |
| 16 | 18 |
| 17 protected: | 19 protected: |
| 18 virtual ~CursorClientObserver() {} | 20 virtual ~CursorClientObserver() {} |
| 19 }; | 21 }; |
| 20 | 22 |
| 21 } // namespace client | 23 } // namespace client |
| 22 } // namespace aura | 24 } // namespace aura |
| 23 | 25 |
| 24 #endif // UI_AURA_CLIENT_CURSOR_CLIENT_OBSERVER_H_ | 26 #endif // UI_AURA_CLIENT_CURSOR_CLIENT_OBSERVER_H_ |
| OLD | NEW |