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

Side by Side Diff: ui/wm/core/cursor_manager.cc

Issue 194843004: Move files from ui/views/corewm to ui/wm/core (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « ui/wm/core/cursor_manager.h ('k') | ui/wm/core/cursor_manager_unittest.cc » ('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 #include "ui/views/corewm/cursor_manager.h" 5 #include "ui/wm/core/cursor_manager.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "ui/aura/client/cursor_client_observer.h" 8 #include "ui/aura/client/cursor_client_observer.h"
9 #include "ui/views/corewm/native_cursor_manager.h" 9 #include "ui/wm/core/native_cursor_manager.h"
10 #include "ui/views/corewm/native_cursor_manager_delegate.h" 10 #include "ui/wm/core/native_cursor_manager_delegate.h"
11 11
12 namespace views { 12 namespace views {
13 namespace corewm { 13 namespace corewm {
14 14
15 namespace internal { 15 namespace internal {
16 16
17 // Represents the cursor state which is composed of cursor type, visibility, and 17 // Represents the cursor state which is composed of cursor type, visibility, and
18 // mouse events enable state. When mouse events are disabled, the cursor is 18 // mouse events enable state. When mouse events are disabled, the cursor is
19 // always invisible. 19 // always invisible.
20 class CursorState { 20 class CursorState {
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 void CursorManager::CommitCursorSet(ui::CursorSetType cursor_set) { 226 void CursorManager::CommitCursorSet(ui::CursorSetType cursor_set) {
227 current_state_->set_cursor_set(cursor_set); 227 current_state_->set_cursor_set(cursor_set);
228 } 228 }
229 229
230 void CursorManager::CommitMouseEventsEnabled(bool enabled) { 230 void CursorManager::CommitMouseEventsEnabled(bool enabled) {
231 current_state_->SetMouseEventsEnabled(enabled); 231 current_state_->SetMouseEventsEnabled(enabled);
232 } 232 }
233 233
234 } // namespace corewm 234 } // namespace corewm
235 } // namespace views 235 } // namespace views
OLDNEW
« no previous file with comments | « ui/wm/core/cursor_manager.h ('k') | ui/wm/core/cursor_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698