Revert 284234 "Pass signin_scoped_device_id to DeviceInfoSpecifics."
[chromium-blink-merge.git] / ui / views / native_cursor_mac.mm
blob967484deb7255053cce58abedbbfdfccc0a29553
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.
5 #include "ui/views/native_cursor.h"
7 #include <Cocoa/Cocoa.h>
9 namespace views {
11 gfx::NativeCursor GetNativeIBeamCursor() {
12   return [NSCursor IBeamCursor];
15 gfx::NativeCursor GetNativeArrowCursor() {
16   return [NSCursor arrowCursor];
19 gfx::NativeCursor GetNativeHandCursor() {
20   return [NSCursor pointingHandCursor];
23 gfx::NativeCursor GetNativeColumnResizeCursor() {
24   return [NSCursor resizeLeftRightCursor];
27 gfx::NativeCursor GetNativeEastWestResizeCursor() {
28   NOTIMPLEMENTED();
29   // TODO(tapted): This is the wrong cursor. Fetch the right one from WebCursor
30   // or ResourceBundle or CoreCursor private API.
31   return [NSCursor resizeLeftRightCursor];
34 gfx::NativeCursor GetNativeNorthSouthResizeCursor() {
35   NOTIMPLEMENTED();
36   return [NSCursor resizeUpDownCursor];
39 }  // namespace views