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

Side by Side Diff: ui/views/widget/desktop_aura/desktop_cursor_loader_updater_auralinux.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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/widget/desktop_aura/desktop_cursor_loader_updater_auralinux.h " 5 #include "ui/views/widget/desktop_aura/desktop_cursor_loader_updater_auralinux.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/base/cursor/cursors_aura.h" 9 #include "ui/base/cursor/cursors_aura.h"
10 #include "ui/gfx/display.h" 10 #include "ui/gfx/display.h"
11 11
12 namespace views { 12 namespace views {
13 namespace { 13 namespace {
14 14
15 // Cursors that we need to supply our own image resources for. This was 15 // Cursors that we need to supply our own image resources for. This was
16 // generated from webcursor_gtk.cc; any cursor that either was NOTIMPLEMENTED() 16 // generated from webcursor_gtk.cc; any cursor that either was NOTIMPLEMENTED()
17 // or already was implemented with a pixmap is on this list. 17 // or already was implemented with a pixmap is on this list.
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 LoadImageCursors(display.device_scale_factor(), loader); 64 LoadImageCursors(display.device_scale_factor(), loader);
65 } 65 }
66 66
67 // static 67 // static
68 scoped_ptr<DesktopCursorLoaderUpdater> DesktopCursorLoaderUpdater::Create() { 68 scoped_ptr<DesktopCursorLoaderUpdater> DesktopCursorLoaderUpdater::Create() {
69 return scoped_ptr<DesktopCursorLoaderUpdater>( 69 return scoped_ptr<DesktopCursorLoaderUpdater>(
70 new DesktopCursorLoaderUpdaterAuraLinux).Pass(); 70 new DesktopCursorLoaderUpdaterAuraLinux).Pass();
71 } 71 }
72 72
73 } // namespace views 73 } // namespace views
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698