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

Side by Side Diff: ash/wm/cursor_manager_chromeos.cc

Issue 1119423003: Refactors away method implementations in ui::EventTargeter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Refactors ui::EventTargeter (rebased) Created 5 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 | « ash/utility/partial_screenshot_controller.cc ('k') | ash/wm/resize_handle_window_targeter.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 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
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
OLDNEW
« no previous file with comments | « ash/utility/partial_screenshot_controller.cc ('k') | ash/wm/resize_handle_window_targeter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698