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

Side by Side Diff: webkit/glue/webcursor_win.cc

Issue 65012: Move skia to DEPS, and put it in third_party. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 months 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 | Annotate | Revision Log
« no previous file with comments | « webkit/glue/image_resource_fetcher.cc ('k') | webkit/glue/webkit_glue.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 "config.h" 5 #include "config.h"
6 #include "NativeImageSkia.h" 6 #include "NativeImageSkia.h"
7 #include "PlatformCursor.h" 7 #include "PlatformCursor.h"
8 8
9 #undef LOG 9 #undef LOG
10 #include "base/gfx/gdi_util.h" 10 #include "base/gfx/gdi_util.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/pickle.h" 12 #include "base/pickle.h"
13 #include "grit/webkit_resources.h" 13 #include "grit/webkit_resources.h"
14 #include "skia/include/SkBitmap.h" 14 #include "third_party/skia/include/core/SkBitmap.h"
15 #include "webkit/glue/webcursor.h" 15 #include "webkit/glue/webcursor.h"
16 16
17 using WebCore::PlatformCursor; 17 using WebCore::PlatformCursor;
18 18
19 static LPCWSTR ToCursorID(PlatformCursor::Type type) { 19 static LPCWSTR ToCursorID(PlatformCursor::Type type) {
20 switch (type) { 20 switch (type) {
21 case PlatformCursor::TypePointer: 21 case PlatformCursor::TypePointer:
22 return IDC_ARROW; 22 return IDC_ARROW;
23 case PlatformCursor::TypeCross: 23 case PlatformCursor::TypeCross:
24 return IDC_CROSS; 24 return IDC_CROSS;
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 } 231 }
232 232
233 void WebCursor::CleanupPlatformData() { 233 void WebCursor::CleanupPlatformData() {
234 external_cursor_ = NULL; 234 external_cursor_ = NULL;
235 235
236 if (custom_cursor_) { 236 if (custom_cursor_) {
237 DestroyIcon(custom_cursor_); 237 DestroyIcon(custom_cursor_);
238 custom_cursor_ = NULL; 238 custom_cursor_ = NULL;
239 } 239 }
240 } 240 }
OLDNEW
« no previous file with comments | « webkit/glue/image_resource_fetcher.cc ('k') | webkit/glue/webkit_glue.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698