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

Side by Side Diff: webkit/glue/webcursor_mac.mm

Issue 387020: Upstreaming WebKit.gyp (Closed)
Patch Set: Created 11 years, 1 month 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
« no previous file with comments | « webkit/glue/webcursor_gtk.cc ('k') | webkit/glue/webcursor_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « webkit/glue/webcursor_gtk.cc ('k') | webkit/glue/webcursor_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698