| 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 "content/common/cursors/webcursor.h" | 5 #include "content/common/cursors/webcursor.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "third_party/WebKit/public/platform/WebCursorInfo.h" | 8 #include "third_party/WebKit/public/platform/WebCursorInfo.h" |
| 9 | 9 |
| 10 namespace content { | 10 namespace content { |
| 11 | 11 |
| 12 gfx::NativeCursor WebCursor::GetNativeCursor() { | 12 gfx::NativeCursor WebCursor::GetNativeCursor() { |
| 13 return gfx::kNullCursor; | 13 return gfx::kNullCursor; |
| 14 } | 14 } |
| 15 | 15 |
| 16 #if defined(USE_AURA) | 16 #if defined(USE_AURA) |
| 17 // In the future when we want to support cursors of various kinds in Aura on | 17 // In the future when we want to support cursors of various kinds in Aura on |
| 18 // Android, we should switch to using webcursor_aura rather than add an | 18 // Android, we should switch to using webcursor_aura rather than add an |
| 19 // implementation here. | 19 // implementation here. |
| 20 void WebCursor::SetDisplayInfo(const gfx::Display& display) { | 20 void WebCursor::SetDisplayInfo(const display::Display& display) { |
| 21 } | 21 } |
| 22 #endif | 22 #endif |
| 23 | 23 |
| 24 void WebCursor::InitPlatformData() { | 24 void WebCursor::InitPlatformData() { |
| 25 } | 25 } |
| 26 | 26 |
| 27 bool WebCursor::SerializePlatformData(base::Pickle* pickle) const { | 27 bool WebCursor::SerializePlatformData(base::Pickle* pickle) const { |
| 28 return true; | 28 return true; |
| 29 } | 29 } |
| 30 | 30 |
| 31 bool WebCursor::DeserializePlatformData(base::PickleIterator* iter) { | 31 bool WebCursor::DeserializePlatformData(base::PickleIterator* iter) { |
| 32 return true; | 32 return true; |
| 33 } | 33 } |
| 34 | 34 |
| 35 bool WebCursor::IsPlatformDataEqual(const WebCursor& other) const { | 35 bool WebCursor::IsPlatformDataEqual(const WebCursor& other) const { |
| 36 return true; | 36 return true; |
| 37 } | 37 } |
| 38 | 38 |
| 39 void WebCursor::CleanupPlatformData() { | 39 void WebCursor::CleanupPlatformData() { |
| 40 } | 40 } |
| 41 | 41 |
| 42 void WebCursor::CopyPlatformData(const WebCursor& other) { | 42 void WebCursor::CopyPlatformData(const WebCursor& other) { |
| 43 } | 43 } |
| 44 | 44 |
| 45 } // namespace content | 45 } // namespace content |
| OLD | NEW |