Chromium Code Reviews| 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, string16* markup, std::string* src_url, |
| 64 std::string* src_url) const { | 64 uint32* fragment_start, uint32* fragment_end) const { |
|
Emmanuel Saint-loubert-Bié
2011/10/07 14:19:10
One argument per line, like the other methods in t
alicet1
2011/10/07 15:30:31
ok.
| |
| 65 NOTIMPLEMENTED(); | 65 NOTIMPLEMENTED(); |
| 66 } | 66 } |
| 67 | 67 |
| 68 SkBitmap Clipboard::ReadImage(Buffer buffer) const { | 68 SkBitmap Clipboard::ReadImage(Buffer buffer) const { |
| 69 NOTIMPLEMENTED(); | 69 NOTIMPLEMENTED(); |
| 70 return SkBitmap(); | 70 return SkBitmap(); |
| 71 } | 71 } |
| 72 | 72 |
| 73 void Clipboard::ReadBookmark(string16* title, std::string* url) const { | 73 void Clipboard::ReadBookmark(string16* title, std::string* url) const { |
| 74 NOTIMPLEMENTED(); | 74 NOTIMPLEMENTED(); |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 141 Clipboard::FormatType Clipboard::GetBitmapFormatType() { | 141 Clipboard::FormatType Clipboard::GetBitmapFormatType() { |
| 142 return std::string(kMimeTypeBitmap); | 142 return std::string(kMimeTypeBitmap); |
| 143 } | 143 } |
| 144 | 144 |
| 145 // static | 145 // static |
| 146 Clipboard::FormatType Clipboard::GetWebKitSmartPasteFormatType() { | 146 Clipboard::FormatType Clipboard::GetWebKitSmartPasteFormatType() { |
| 147 return std::string(kMimeTypeWebkitSmartPaste); | 147 return std::string(kMimeTypeWebkitSmartPaste); |
| 148 } | 148 } |
| 149 | 149 |
| 150 } // namespace ui | 150 } // namespace ui |
| OLD | NEW |