| 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 #include "ash/wm/cursor_manager_chromeos.h" | 5 #include "ash/wm/cursor_manager_chromeos.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "ui/events/event.h" |
| 8 #include "ui/keyboard/keyboard_util.h" | 9 #include "ui/keyboard/keyboard_util.h" |
| 9 #include "ui/wm/core/cursor_manager.h" | 10 #include "ui/wm/core/cursor_manager.h" |
| 10 #include "ui/wm/core/native_cursor_manager.h" | 11 #include "ui/wm/core/native_cursor_manager.h" |
| 11 | 12 |
| 12 namespace ash { | 13 namespace ash { |
| 13 | 14 |
| 14 CursorManager::CursorManager( | 15 CursorManager::CursorManager( |
| 15 scoped_ptr< ::wm::NativeCursorManager> delegate) | 16 scoped_ptr< ::wm::NativeCursorManager> delegate) |
| 16 : ::wm::CursorManager(delegate.Pass()) { | 17 : ::wm::CursorManager(delegate.Pass()) { |
| 17 } | 18 } |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 case ui::VKEY_BRIGHTNESS_DOWN: | 50 case ui::VKEY_BRIGHTNESS_DOWN: |
| 50 case ui::VKEY_BRIGHTNESS_UP: | 51 case ui::VKEY_BRIGHTNESS_UP: |
| 51 case ui::VKEY_KBD_BRIGHTNESS_UP: | 52 case ui::VKEY_KBD_BRIGHTNESS_UP: |
| 52 case ui::VKEY_KBD_BRIGHTNESS_DOWN: | 53 case ui::VKEY_KBD_BRIGHTNESS_DOWN: |
| 53 return false; | 54 return false; |
| 54 default: | 55 default: |
| 55 return true; | 56 return true; |
| 56 } | 57 } |
| 57 } | 58 } |
| 58 } // namespace ash | 59 } // namespace ash |
| OLD | NEW |