OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "webkit/common/cursors/webcursor.h" | 5 #include "webkit/common/cursors/webcursor.h" |
6 | 6 |
7 #import <AppKit/AppKit.h> | 7 #import <AppKit/AppKit.h> |
8 | 8 |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/mac/mac_util.h" | 10 #include "base/mac/mac_util.h" |
11 #include "base/mac/scoped_cftyperef.h" | 11 #include "base/mac/scoped_cftyperef.h" |
12 #include "grit/webkit_resources.h" | 12 #include "grit/webkit_resources.h" |
13 #include "skia/ext/skia_utils_mac.h" | 13 #include "skia/ext/skia_utils_mac.h" |
14 #include "third_party/WebKit/public/platform/WebSize.h" | 14 #include "third_party/WebKit/public/platform/WebSize.h" |
15 #include "third_party/WebKit/public/web/WebCursorInfo.h" | 15 #include "third_party/WebKit/public/web/WebCursorInfo.h" |
16 #include "ui/base/resource/resource_bundle.h" | 16 #include "ui/base/resource/resource_bundle.h" |
17 #include "ui/gfx/point_conversions.h" | 17 #include "ui/gfx/point_conversions.h" |
18 #include "ui/gfx/size_conversions.h" | 18 #include "ui/gfx/size_conversions.h" |
19 | 19 |
20 | 20 |
21 using WebKit::WebCursorInfo; | 21 using blink::WebCursorInfo; |
22 using WebKit::WebSize; | 22 using blink::WebSize; |
23 | 23 |
24 // Declare symbols that are part of the 10.7 SDK. | 24 // Declare symbols that are part of the 10.7 SDK. |
25 #if !defined(MAC_OS_X_VERSION_10_7) || \ | 25 #if !defined(MAC_OS_X_VERSION_10_7) || \ |
26 MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_7 | 26 MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_7 |
27 | 27 |
28 @interface NSCursor (LionSDKDeclarations) | 28 @interface NSCursor (LionSDKDeclarations) |
29 + (NSCursor*)IBeamCursorForVerticalLayout; | 29 + (NSCursor*)IBeamCursorForVerticalLayout; |
30 @end | 30 @end |
31 | 31 |
32 #endif // MAC_OS_X_VERSION_10_7 | 32 #endif // MAC_OS_X_VERSION_10_7 |
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
419 return true; | 419 return true; |
420 } | 420 } |
421 | 421 |
422 void WebCursor::CleanupPlatformData() { | 422 void WebCursor::CleanupPlatformData() { |
423 return; | 423 return; |
424 } | 424 } |
425 | 425 |
426 void WebCursor::CopyPlatformData(const WebCursor& other) { | 426 void WebCursor::CopyPlatformData(const WebCursor& other) { |
427 return; | 427 return; |
428 } | 428 } |
OLD | NEW |