| OLD | NEW |
| 1 // Copyright (c) 2008 The Chromium Authors. All rights reserved. Use of this | 1 // Copyright (c) 2008 The Chromium Authors. All rights reserved. Use of this |
| 2 // source code is governed by a BSD-style license that can be found in the | 2 // source code is governed by a BSD-style license that can be found in the |
| 3 // LICENSE file. | 3 // LICENSE file. |
| 4 | 4 |
| 5 #include "webkit/glue/webcursor.h" | 5 #include "webkit/glue/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/nsimage_cache_mac.h" | 10 #include "base/nsimage_cache_mac.h" |
| 11 #include "base/scoped_cftyperef.h" | 11 #include "base/scoped_cftyperef.h" |
| 12 #include "webkit/api/public/WebCursorInfo.h" | 12 #include "third_party/WebKit/WebKit/chromium/public/WebCursorInfo.h" |
| 13 #include "webkit/api/public/WebImage.h" | 13 #include "third_party/WebKit/WebKit/chromium/public/WebImage.h" |
| 14 #include "webkit/api/public/WebSize.h" | 14 #include "third_party/WebKit/WebKit/chromium/public/WebSize.h" |
| 15 | 15 |
| 16 using WebKit::WebCursorInfo; | 16 using WebKit::WebCursorInfo; |
| 17 using WebKit::WebImage; | 17 using WebKit::WebImage; |
| 18 using WebKit::WebSize; | 18 using WebKit::WebSize; |
| 19 | 19 |
| 20 namespace { | 20 namespace { |
| 21 | 21 |
| 22 // TODO: This image fech can (and probably should) be serviced by the resource | 22 // TODO: This image fech can (and probably should) be serviced by the resource |
| 23 // resource bundle instead of going through nsimage_cache. | 23 // resource bundle instead of going through nsimage_cache. |
| 24 NSCursor* LoadCursor(const char* name, int x, int y) { | 24 NSCursor* LoadCursor(const char* name, int x, int y) { |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 return true; | 215 return true; |
| 216 } | 216 } |
| 217 | 217 |
| 218 void WebCursor::CleanupPlatformData() { | 218 void WebCursor::CleanupPlatformData() { |
| 219 return; | 219 return; |
| 220 } | 220 } |
| 221 | 221 |
| 222 void WebCursor::CopyPlatformData(const WebCursor& other) { | 222 void WebCursor::CopyPlatformData(const WebCursor& other) { |
| 223 return; | 223 return; |
| 224 } | 224 } |
| OLD | NEW |