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

Side by Side Diff: ui/views/widget/desktop_aura/desktop_native_cursor_manager.cc

Issue 174803002: Move root_window.* to window_event_dispatcher.* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 10 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/widget/desktop_aura/desktop_native_cursor_manager.h" 5 #include "ui/views/widget/desktop_aura/desktop_native_cursor_manager.h"
6 6
7 #include "ui/aura/root_window.h" 7 #include "ui/aura/window_event_dispatcher.h"
8 #include "ui/base/cursor/cursor_loader.h" 8 #include "ui/base/cursor/cursor_loader.h"
9 #include "ui/views/widget/desktop_aura/desktop_cursor_loader_updater.h" 9 #include "ui/views/widget/desktop_aura/desktop_cursor_loader_updater.h"
10 10
11 namespace views { 11 namespace views {
12 12
13 DesktopNativeCursorManager::DesktopNativeCursorManager( 13 DesktopNativeCursorManager::DesktopNativeCursorManager(
14 scoped_ptr<DesktopCursorLoaderUpdater> cursor_loader_updater) 14 scoped_ptr<DesktopCursorLoaderUpdater> cursor_loader_updater)
15 : cursor_loader_updater_(cursor_loader_updater.Pass()), 15 : cursor_loader_updater_(cursor_loader_updater.Pass()),
16 cursor_loader_(ui::CursorLoader::Create()) { 16 cursor_loader_(ui::CursorLoader::Create()) {
17 if (cursor_loader_updater_.get()) 17 if (cursor_loader_updater_.get())
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 SetVisibility(delegate->IsCursorVisible(), delegate); 112 SetVisibility(delegate->IsCursorVisible(), delegate);
113 113
114 for (Dispatchers::const_iterator i = dispatchers_.begin(); 114 for (Dispatchers::const_iterator i = dispatchers_.begin();
115 i != dispatchers_.end(); 115 i != dispatchers_.end();
116 ++i) { 116 ++i) {
117 (*i)->OnMouseEventsEnableStateChanged(enabled); 117 (*i)->OnMouseEventsEnableStateChanged(enabled);
118 } 118 }
119 } 119 }
120 120
121 } // namespace views 121 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/widget/desktop_aura/desktop_focus_rules.cc ('k') | ui/views/widget/desktop_aura/desktop_native_widget_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698