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

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

Issue 1543173002: Switch to standard integer types in ui/views/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
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 <stddef.h>
8
9 #include "base/macros.h"
7 #include "ui/aura/window_event_dispatcher.h" 10 #include "ui/aura/window_event_dispatcher.h"
8 #include "ui/base/cursor/cursor_loader.h" 11 #include "ui/base/cursor/cursor_loader.h"
9 #include "ui/base/cursor/cursors_aura.h" 12 #include "ui/base/cursor/cursors_aura.h"
10 #include "ui/gfx/display.h" 13 #include "ui/gfx/display.h"
11 14
12 namespace views { 15 namespace views {
13 namespace { 16 namespace {
14 17
15 // Cursors that we need to supply our own image resources for. This was 18 // 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() 19 // generated from webcursor_gtk.cc; any cursor that either was NOTIMPLEMENTED()
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 ui::CursorLoader* loader) { 66 ui::CursorLoader* loader) {
64 LoadImageCursors(display.device_scale_factor(), loader); 67 LoadImageCursors(display.device_scale_factor(), loader);
65 } 68 }
66 69
67 // static 70 // static
68 scoped_ptr<DesktopCursorLoaderUpdater> DesktopCursorLoaderUpdater::Create() { 71 scoped_ptr<DesktopCursorLoaderUpdater> DesktopCursorLoaderUpdater::Create() {
69 return make_scoped_ptr(new DesktopCursorLoaderUpdaterAuraLinux); 72 return make_scoped_ptr(new DesktopCursorLoaderUpdaterAuraLinux);
70 } 73 }
71 74
72 } // namespace views 75 } // namespace views
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698