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

Side by Side Diff: webkit/common/cursors/webcursor_win.cc

Issue 68683009: Rewrite include paths for Blink public/ headers that have moved (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 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/common/cursors/webcursor_unittest.cc ('k') | webkit/common/quota/quota_status_code.h » ('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) 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 "base/logging.h" 5 #include "base/logging.h"
6 #include "base/pickle.h" 6 #include "base/pickle.h"
7 #include "grit/ui_unscaled_resources.h" 7 #include "grit/ui_unscaled_resources.h"
8 #include "third_party/WebKit/public/platform/WebCursorInfo.h"
8 #include "third_party/skia/include/core/SkBitmap.h" 9 #include "third_party/skia/include/core/SkBitmap.h"
9 #include "third_party/WebKit/public/web/WebCursorInfo.h"
10 #include "ui/gfx/icon_util.h" 10 #include "ui/gfx/icon_util.h"
11 #include "webkit/common/cursors/webcursor.h" 11 #include "webkit/common/cursors/webcursor.h"
12 12
13 using blink::WebCursorInfo; 13 using blink::WebCursorInfo;
14 14
15 static LPCWSTR ToCursorID(WebCursorInfo::Type type) { 15 static LPCWSTR ToCursorID(WebCursorInfo::Type type) {
16 switch (type) { 16 switch (type) {
17 case WebCursorInfo::TypePointer: 17 case WebCursorInfo::TypePointer:
18 return IDC_ARROW; 18 return IDC_ARROW;
19 case WebCursorInfo::TypeCross: 19 case WebCursorInfo::TypeCross:
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 } 172 }
173 173
174 void WebCursor::CleanupPlatformData() { 174 void WebCursor::CleanupPlatformData() {
175 external_cursor_ = NULL; 175 external_cursor_ = NULL;
176 176
177 if (custom_cursor_) { 177 if (custom_cursor_) {
178 DestroyIcon(custom_cursor_); 178 DestroyIcon(custom_cursor_);
179 custom_cursor_ = NULL; 179 custom_cursor_ = NULL;
180 } 180 }
181 } 181 }
OLDNEW
« no previous file with comments | « webkit/common/cursors/webcursor_unittest.cc ('k') | webkit/common/quota/quota_status_code.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698