OLD | NEW |
1 // Copyright (c) 2008 The Chromium Authors. All rights reserved. Use of this | 1 // Copyright (c) 2009 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 "base/gfx/gdi_util.h" | 5 #include "app/gfx/gdi_util.h" |
6 #include "base/logging.h" | 6 #include "base/logging.h" |
7 #include "base/pickle.h" | 7 #include "base/pickle.h" |
8 #include "grit/webkit_resources.h" | 8 #include "grit/webkit_resources.h" |
9 #include "third_party/skia/include/core/SkBitmap.h" | 9 #include "third_party/skia/include/core/SkBitmap.h" |
10 #include "webkit/api/public/WebCursorInfo.h" | 10 #include "webkit/api/public/WebCursorInfo.h" |
11 #include "webkit/glue/webcursor.h" | 11 #include "webkit/glue/webcursor.h" |
12 | 12 |
13 using WebKit::WebCursorInfo; | 13 using WebKit::WebCursorInfo; |
14 | 14 |
15 static LPCWSTR ToCursorID(WebCursorInfo::Type type) { | 15 static LPCWSTR ToCursorID(WebCursorInfo::Type type) { |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 } | 227 } |
228 | 228 |
229 void WebCursor::CleanupPlatformData() { | 229 void WebCursor::CleanupPlatformData() { |
230 external_cursor_ = NULL; | 230 external_cursor_ = NULL; |
231 | 231 |
232 if (custom_cursor_) { | 232 if (custom_cursor_) { |
233 DestroyIcon(custom_cursor_); | 233 DestroyIcon(custom_cursor_); |
234 custom_cursor_ = NULL; | 234 custom_cursor_ = NULL; |
235 } | 235 } |
236 } | 236 } |
OLD | NEW |