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

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

Issue 10697082: aura: Scale custom cursors appropriately. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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/webcursor.h ('k') | webkit/glue/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/glue/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 10
11 const ui::PlatformCursor WebCursor::GetPlatformCursor() { 11 const ui::PlatformCursor WebCursor::GetPlatformCursor() {
12 // TODO(winguru): 12 // TODO(winguru):
13 return LoadCursor(NULL, IDC_ARROW); 13 return LoadCursor(NULL, IDC_ARROW);
14 } 14 }
15 15
16 void WebCursor::SetScaleFactor(float scale_factor) {
17 // TODO(winguru):
brettw 2012/07/10 05:07:19 Usually you would write something after the todo.
sadrul 2012/07/10 11:39:35 Fixed (this and the one above).
18 }
19
16 void WebCursor::InitPlatformData() { 20 void WebCursor::InitPlatformData() {
17 } 21 }
18 22
19 bool WebCursor::SerializePlatformData(Pickle* pickle) const { 23 bool WebCursor::SerializePlatformData(Pickle* pickle) const {
20 return true; 24 return true;
21 } 25 }
22 26
23 bool WebCursor::DeserializePlatformData(PickleIterator* iter) { 27 bool WebCursor::DeserializePlatformData(PickleIterator* iter) {
24 return true; 28 return true;
25 } 29 }
26 30
27 bool WebCursor::IsPlatformDataEqual(const WebCursor& other) const { 31 bool WebCursor::IsPlatformDataEqual(const WebCursor& other) const {
28 return true; 32 return true;
29 } 33 }
30 34
31 void WebCursor::CleanupPlatformData() { 35 void WebCursor::CleanupPlatformData() {
32 } 36 }
33 37
34 void WebCursor::CopyPlatformData(const WebCursor& other) { 38 void WebCursor::CopyPlatformData(const WebCursor& other) {
35 } 39 }
OLDNEW
« no previous file with comments | « webkit/glue/webcursor.h ('k') | webkit/glue/webcursor_aurax11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698