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 #ifndef WEBKIT_TOOLS_TEST_SHELL_SIMPLE_CLIPBOARD_IMPL_H_ | 5 #ifndef WEBKIT_TOOLS_TEST_SHELL_SIMPLE_CLIPBOARD_IMPL_H_ |
6 #define WEBKIT_TOOLS_TEST_SHELL_SIMPLE_CLIPBOARD_IMPL_H_ | 6 #define WEBKIT_TOOLS_TEST_SHELL_SIMPLE_CLIPBOARD_IMPL_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "webkit/glue/clipboard_client.h" | 9 #include "webkit/glue/clipboard_client.h" |
10 | 10 |
(...skipping 11 matching lines...) Expand all Loading... |
22 bool* contains_filenames) OVERRIDE; | 22 bool* contains_filenames) OVERRIDE; |
23 virtual void ReadText(ui::Clipboard::Buffer buffer, | 23 virtual void ReadText(ui::Clipboard::Buffer buffer, |
24 string16* result) OVERRIDE; | 24 string16* result) OVERRIDE; |
25 virtual void ReadAsciiText(ui::Clipboard::Buffer buffer, | 25 virtual void ReadAsciiText(ui::Clipboard::Buffer buffer, |
26 std::string* result) OVERRIDE; | 26 std::string* result) OVERRIDE; |
27 virtual void ReadHTML(ui::Clipboard::Buffer buffer, string16* markup, | 27 virtual void ReadHTML(ui::Clipboard::Buffer buffer, string16* markup, |
28 GURL* url, uint32* fragment_start, | 28 GURL* url, uint32* fragment_start, |
29 uint32* fragment_end) OVERRIDE; | 29 uint32* fragment_end) OVERRIDE; |
30 virtual void ReadImage(ui::Clipboard::Buffer buffer, | 30 virtual void ReadImage(ui::Clipboard::Buffer buffer, |
31 std::string* data) OVERRIDE; | 31 std::string* data) OVERRIDE; |
| 32 virtual void ReadCustomData(ui::Clipboard::Buffer buffer, |
| 33 const string16& type, |
| 34 string16* data) OVERRIDE; |
32 virtual WriteContext* CreateWriteContext() OVERRIDE; | 35 virtual WriteContext* CreateWriteContext() OVERRIDE; |
33 }; | 36 }; |
34 | 37 |
35 #endif // WEBKIT_TOOLS_TEST_SHELL_SIMPLE_CLIPBOARD_IMPL_H_ | 38 #endif // WEBKIT_TOOLS_TEST_SHELL_SIMPLE_CLIPBOARD_IMPL_H_ |
OLD | NEW |