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

Side by Side Diff: ui/base/cursor/image_cursors.cc

Issue 823703003: Cleanup: Update the path to insets and point headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: point.h Created 5 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
« no previous file with comments | « ui/base/cursor/cursors_aura.cc ('k') | ui/base/test/ui_controls_win.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 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 "ui/base/cursor/image_cursors.h" 5 #include "ui/base/cursor/image_cursors.h"
6 6
7 #include <float.h> 7 #include <float.h>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
11 #include "ui/base/cursor/cursor.h" 11 #include "ui/base/cursor/cursor.h"
12 #include "ui/base/cursor/cursor_loader.h" 12 #include "ui/base/cursor/cursor_loader.h"
13 #include "ui/base/cursor/cursors_aura.h" 13 #include "ui/base/cursor/cursors_aura.h"
14 #include "ui/gfx/display.h" 14 #include "ui/gfx/display.h"
15 #include "ui/gfx/point.h" 15 #include "ui/gfx/geometry/point.h"
16 16
17 namespace ui { 17 namespace ui {
18 18
19 namespace { 19 namespace {
20 20
21 const int kImageCursorIds[] = { 21 const int kImageCursorIds[] = {
22 kCursorNull, 22 kCursorNull,
23 kCursorPointer, 23 kCursorPointer,
24 kCursorNoDrop, 24 kCursorNoDrop,
25 kCursorNotAllowed, 25 kCursorNotAllowed,
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 141
142 if (cursor_loader_.get()) 142 if (cursor_loader_.get())
143 ReloadCursors(); 143 ReloadCursors();
144 } 144 }
145 145
146 void ImageCursors::SetPlatformCursor(gfx::NativeCursor* cursor) { 146 void ImageCursors::SetPlatformCursor(gfx::NativeCursor* cursor) {
147 cursor_loader_->SetPlatformCursor(cursor); 147 cursor_loader_->SetPlatformCursor(cursor);
148 } 148 }
149 149
150 } // namespace ui 150 } // namespace ui
OLDNEW
« no previous file with comments | « ui/base/cursor/cursors_aura.cc ('k') | ui/base/test/ui_controls_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698