Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(965)

Side by Side Diff: content/renderer/renderer_clipboard_client.h

Issue 9921018: Added RTF support to pepper API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/common/clipboard_messages.h ('k') | content/renderer/renderer_clipboard_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #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 11 matching lines...) Expand all
22 virtual void ReadAvailableTypes(ui::Clipboard::Buffer buffer, 22 virtual void ReadAvailableTypes(ui::Clipboard::Buffer buffer,
23 std::vector<string16>* types, 23 std::vector<string16>* types,
24 bool* contains_filenames) OVERRIDE; 24 bool* contains_filenames) OVERRIDE;
25 virtual void ReadText(ui::Clipboard::Buffer buffer, 25 virtual void ReadText(ui::Clipboard::Buffer buffer,
26 string16* result) OVERRIDE; 26 string16* result) OVERRIDE;
27 virtual void ReadAsciiText(ui::Clipboard::Buffer buffer, 27 virtual void ReadAsciiText(ui::Clipboard::Buffer buffer,
28 std::string* result) OVERRIDE; 28 std::string* result) OVERRIDE;
29 virtual void ReadHTML(ui::Clipboard::Buffer buffer, string16* markup, 29 virtual void ReadHTML(ui::Clipboard::Buffer buffer, string16* markup,
30 GURL* url, uint32* fragment_start, 30 GURL* url, uint32* fragment_start,
31 uint32* fragment_end) OVERRIDE; 31 uint32* fragment_end) OVERRIDE;
32 virtual void ReadRTF(ui::Clipboard::Buffer buffer,
33 std::string* result) OVERRIDE;
32 virtual void ReadImage(ui::Clipboard::Buffer buffer, 34 virtual void ReadImage(ui::Clipboard::Buffer buffer,
33 std::string* data) OVERRIDE; 35 std::string* data) OVERRIDE;
34 virtual void ReadCustomData(ui::Clipboard::Buffer buffer, 36 virtual void ReadCustomData(ui::Clipboard::Buffer buffer,
35 const string16& type, 37 const string16& type,
36 string16* data) OVERRIDE; 38 string16* data) OVERRIDE;
37 virtual WriteContext* CreateWriteContext() OVERRIDE; 39 virtual WriteContext* CreateWriteContext() OVERRIDE;
38 }; 40 };
39 41
40 #endif // CONTENT_RENDERER_RENDERER_CLIPBOARD_CLIENT_H_ 42 #endif // CONTENT_RENDERER_RENDERER_CLIPBOARD_CLIENT_H_
OLDNEW
« no previous file with comments | « content/common/clipboard_messages.h ('k') | content/renderer/renderer_clipboard_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698