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 CONTENT_RENDERER_RENDERER_CLIPBOARD_CLIENT_H_ | 5 #ifndef CONTENT_RENDERER_RENDERER_CLIPBOARD_CLIENT_H_ |
6 #define CONTENT_RENDERER_RENDERER_CLIPBOARD_CLIENT_H_ | 6 #define CONTENT_RENDERER_RENDERER_CLIPBOARD_CLIENT_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 12 matching lines...) Expand all Loading... | |
23 bool* contains_filenames) OVERRIDE; | 23 bool* contains_filenames) OVERRIDE; |
24 virtual void ReadText(ui::Clipboard::Buffer buffer, | 24 virtual void ReadText(ui::Clipboard::Buffer buffer, |
25 string16* result) OVERRIDE; | 25 string16* result) OVERRIDE; |
26 virtual void ReadAsciiText(ui::Clipboard::Buffer buffer, | 26 virtual void ReadAsciiText(ui::Clipboard::Buffer buffer, |
27 std::string* result) OVERRIDE; | 27 std::string* result) OVERRIDE; |
28 virtual void ReadHTML(ui::Clipboard::Buffer buffer, string16* markup, | 28 virtual void ReadHTML(ui::Clipboard::Buffer buffer, string16* markup, |
29 GURL* url, uint32* fragment_start, | 29 GURL* url, uint32* fragment_start, |
30 uint32* fragment_end) OVERRIDE; | 30 uint32* fragment_end) OVERRIDE; |
31 virtual void ReadImage(ui::Clipboard::Buffer buffer, | 31 virtual void ReadImage(ui::Clipboard::Buffer buffer, |
32 std::string* data) OVERRIDE; | 32 std::string* data) OVERRIDE; |
33 virtual void ReadCustomData(ui::Clipboard::Buffer buffer, | |
34 const string16& type, | |
35 string16* data); | |
tony
2011/12/02 00:13:29
Nit: OVERRIDE like the other methods?
dcheng
2011/12/02 00:29:17
Done.
| |
33 virtual WriteContext* CreateWriteContext() OVERRIDE; | 36 virtual WriteContext* CreateWriteContext() OVERRIDE; |
34 }; | 37 }; |
35 | 38 |
36 #endif // CONTENT_RENDERER_RENDERER_CLIPBOARD_CLIENT_H_ | 39 #endif // CONTENT_RENDERER_RENDERER_CLIPBOARD_CLIENT_H_ |
OLD | NEW |