| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "ui/base/clipboard/clipboard.h" | 5 #include "ui/base/clipboard/clipboard.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "third_party/skia/include/core/SkBitmap.h" | 8 #include "third_party/skia/include/core/SkBitmap.h" |
| 9 | 9 |
| 10 namespace ui { | 10 namespace ui { |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 } | 53 } |
| 54 | 54 |
| 55 void Clipboard::ReadText(Buffer buffer, string16* result) const { | 55 void Clipboard::ReadText(Buffer buffer, string16* result) const { |
| 56 NOTIMPLEMENTED(); | 56 NOTIMPLEMENTED(); |
| 57 } | 57 } |
| 58 | 58 |
| 59 void Clipboard::ReadAsciiText(Buffer buffer, std::string* result) const { | 59 void Clipboard::ReadAsciiText(Buffer buffer, std::string* result) const { |
| 60 NOTIMPLEMENTED(); | 60 NOTIMPLEMENTED(); |
| 61 } | 61 } |
| 62 | 62 |
| 63 void Clipboard::ReadHTML(Buffer buffer, string16* markup, | 63 void Clipboard::ReadHTML(Buffer buffer, |
| 64 std::string* src_url) const { | 64 string16* markup, |
| 65 std::string* src_url, |
| 66 uint32* fragment_start, |
| 67 uint32* fragment_end) const { |
| 65 NOTIMPLEMENTED(); | 68 NOTIMPLEMENTED(); |
| 66 } | 69 } |
| 67 | 70 |
| 68 SkBitmap Clipboard::ReadImage(Buffer buffer) const { | 71 SkBitmap Clipboard::ReadImage(Buffer buffer) const { |
| 69 NOTIMPLEMENTED(); | 72 NOTIMPLEMENTED(); |
| 70 return SkBitmap(); | 73 return SkBitmap(); |
| 71 } | 74 } |
| 72 | 75 |
| 73 void Clipboard::ReadBookmark(string16* title, std::string* url) const { | 76 void Clipboard::ReadBookmark(string16* title, std::string* url) const { |
| 74 NOTIMPLEMENTED(); | 77 NOTIMPLEMENTED(); |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 Clipboard::FormatType Clipboard::GetBitmapFormatType() { | 144 Clipboard::FormatType Clipboard::GetBitmapFormatType() { |
| 142 return std::string(kMimeTypeBitmap); | 145 return std::string(kMimeTypeBitmap); |
| 143 } | 146 } |
| 144 | 147 |
| 145 // static | 148 // static |
| 146 Clipboard::FormatType Clipboard::GetWebKitSmartPasteFormatType() { | 149 Clipboard::FormatType Clipboard::GetWebKitSmartPasteFormatType() { |
| 147 return std::string(kMimeTypeWebkitSmartPaste); | 150 return std::string(kMimeTypeWebkitSmartPaste); |
| 148 } | 151 } |
| 149 | 152 |
| 150 } // namespace ui | 153 } // namespace ui |
| OLD | NEW |