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

Side by Side Diff: ui/views/native_cursor_aura.cc

Issue 248863002: MacViews: Introduce native_cursor.h to provide cursor "literals" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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/views/native_cursor.h ('k') | ui/views/native_cursor_mac.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "ui/views/native_cursor.h"
6
7 #include "ui/base/cursor/cursor.h"
8
9 namespace views {
10
11 gfx::NativeCursor GetNativeIBeamCursor() {
12 return ui::kCursorIBeam;
13 }
14
15 gfx::NativeCursor GetNativeHandCursor() {
16 return ui::kCursorHand;
17 }
18
19 gfx::NativeCursor GetNativeColumnResizeCursor() {
20 return ui::kCursorColumnResize;
21 }
22
23 gfx::NativeCursor GetNativeEastWestResizeCursor() {
24 return ui::kCursorEastWestResize;
25 }
26
27 gfx::NativeCursor GetNativeNorthSouthResizeCursor() {
28 return ui::kCursorNorthSouthResize;
29 }
30
31 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/native_cursor.h ('k') | ui/views/native_cursor_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698