| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 ASH_WM_CURSOR_MANAGER_CHROMEOS_H_ | 5 #ifndef ASH_WM_CURSOR_MANAGER_CHROMEOS_H_ |
| 6 #define ASH_WM_CURSOR_MANAGER_CHROMEOS_H_ | 6 #define ASH_WM_CURSOR_MANAGER_CHROMEOS_H_ |
| 7 | 7 |
| 8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 // hidden on certain key events only if the accessibility keyboard is not | 26 // hidden on certain key events only if the accessibility keyboard is not |
| 27 // enabled. | 27 // enabled. |
| 28 class ASH_EXPORT CursorManager : public ::wm::CursorManager { | 28 class ASH_EXPORT CursorManager : public ::wm::CursorManager { |
| 29 public: | 29 public: |
| 30 explicit CursorManager( | 30 explicit CursorManager( |
| 31 scoped_ptr< ::wm::NativeCursorManager> delegate); | 31 scoped_ptr< ::wm::NativeCursorManager> delegate); |
| 32 virtual ~CursorManager(); | 32 virtual ~CursorManager(); |
| 33 | 33 |
| 34 // aura::client::CursorClient: | 34 // aura::client::CursorClient: |
| 35 virtual bool ShouldHideCursorOnKeyEvent( | 35 virtual bool ShouldHideCursorOnKeyEvent( |
| 36 const ui::KeyEvent& event) const OVERRIDE; | 36 const ui::KeyEvent& event) const override; |
| 37 private: | 37 private: |
| 38 DISALLOW_COPY_AND_ASSIGN(CursorManager); | 38 DISALLOW_COPY_AND_ASSIGN(CursorManager); |
| 39 }; | 39 }; |
| 40 | 40 |
| 41 } // namespace ash | 41 } // namespace ash |
| 42 | 42 |
| 43 #endif // ASH_WM_CURSOR_MANAGER_CHROMEOS_H_ | 43 #endif // ASH_WM_CURSOR_MANAGER_CHROMEOS_H_ |
| OLD | NEW |