| 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 "content/common/cursors/webcursor.h" | 5 #include "content/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 "base/mac/sdk_forward_declarations.h" | 12 #include "base/mac/sdk_forward_declarations.h" |
| 13 #include "content/app/resources/grit/content_resources.h" | 13 #include "content/app/resources/grit/content_resources.h" |
| 14 #include "content/public/common/content_client.h" | 14 #include "content/public/common/content_client.h" |
| 15 #include "skia/ext/skia_utils_mac.h" | 15 #include "skia/ext/skia_utils_mac.h" |
| 16 #include "third_party/WebKit/public/platform/WebCursorInfo.h" | 16 #include "third_party/WebKit/public/platform/WebCursorInfo.h" |
| 17 #include "third_party/WebKit/public/platform/WebSize.h" | 17 #include "third_party/WebKit/public/platform/WebSize.h" |
| 18 #include "ui/gfx/geometry/point_conversions.h" |
| 18 #include "ui/gfx/image/image.h" | 19 #include "ui/gfx/image/image.h" |
| 19 #include "ui/gfx/point_conversions.h" | |
| 20 #include "ui/gfx/size_conversions.h" | 20 #include "ui/gfx/size_conversions.h" |
| 21 | 21 |
| 22 using blink::WebCursorInfo; | 22 using blink::WebCursorInfo; |
| 23 using blink::WebSize; | 23 using blink::WebSize; |
| 24 | 24 |
| 25 // Private interface to CoreCursor, as of Mac OS X 10.7. This is essentially the | 25 // Private interface to CoreCursor, as of Mac OS X 10.7. This is essentially the |
| 26 // implementation of WKCursor in WebKitSystemInterface. | 26 // implementation of WKCursor in WebKitSystemInterface. |
| 27 | 27 |
| 28 enum { | 28 enum { |
| 29 kArrowCursor = 0, | 29 kArrowCursor = 0, |
| (...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 379 | 379 |
| 380 void WebCursor::CleanupPlatformData() { | 380 void WebCursor::CleanupPlatformData() { |
| 381 return; | 381 return; |
| 382 } | 382 } |
| 383 | 383 |
| 384 void WebCursor::CopyPlatformData(const WebCursor& other) { | 384 void WebCursor::CopyPlatformData(const WebCursor& other) { |
| 385 return; | 385 return; |
| 386 } | 386 } |
| 387 | 387 |
| 388 } // namespace content | 388 } // namespace content |
| OLD | NEW |