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

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

Issue 15971005: Move the WebCursor sources from webkit/glue to webkit/common/cursors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 6 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/common/cursors/webcursor_aura.cc ('k') | webkit/common/cursors/webcursor_aurax11.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) 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 "webkit/glue/webcursor.h" 5 #include "webkit/common/cursors/webcursor.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 8
9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCursorInfo.h" 9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCursorInfo.h"
10 #include "ui/gfx/icon_util.h" 10 #include "ui/gfx/icon_util.h"
11 11
12 const ui::PlatformCursor WebCursor::GetPlatformCursor() { 12 const ui::PlatformCursor WebCursor::GetPlatformCursor() {
13 if (!IsCustom()) 13 if (!IsCustom())
14 return LoadCursor(NULL, IDC_ARROW); 14 return LoadCursor(NULL, IDC_ARROW);
15 15
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 47
48 void WebCursor::CleanupPlatformData() { 48 void WebCursor::CleanupPlatformData() {
49 if (custom_cursor_) { 49 if (custom_cursor_) {
50 DestroyIcon(custom_cursor_); 50 DestroyIcon(custom_cursor_);
51 custom_cursor_ = NULL; 51 custom_cursor_ = NULL;
52 } 52 }
53 } 53 }
54 54
55 void WebCursor::CopyPlatformData(const WebCursor& other) { 55 void WebCursor::CopyPlatformData(const WebCursor& other) {
56 } 56 }
OLDNEW
« no previous file with comments | « webkit/common/cursors/webcursor_aura.cc ('k') | webkit/common/cursors/webcursor_aurax11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698