Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 } |
| OLD | NEW |