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

Side by Side Diff: webkit/glue/webclipboard_impl.h

Issue 211052: Implement ChromiumBridge::clipboardWritePlainText() (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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 | « webkit/api/src/ChromiumBridge.cpp ('k') | webkit/glue/webclipboard_impl.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) 2009 The Chromium Authors. All rights reserved. Use of this 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this
2 // source code is governed by a BSD-style license that can be found in the 2 // source code is governed by a BSD-style license that can be found in the
3 // LICENSE file. 3 // LICENSE file.
4 4
5 #ifndef WEBCLIPBOARD_IMPL_H_ 5 #ifndef WEBCLIPBOARD_IMPL_H_
6 #define WEBCLIPBOARD_IMPL_H_ 6 #define WEBCLIPBOARD_IMPL_H_
7 7
8 #include "base/clipboard.h" 8 #include "base/clipboard.h"
9 #include "webkit/api/public/WebClipboard.h" 9 #include "webkit/api/public/WebClipboard.h"
10 10
(...skipping 12 matching lines...) Expand all
23 23
24 // WebClipboard methods: 24 // WebClipboard methods:
25 virtual bool isFormatAvailable(Format, Buffer); 25 virtual bool isFormatAvailable(Format, Buffer);
26 virtual WebKit::WebString readPlainText(Buffer); 26 virtual WebKit::WebString readPlainText(Buffer);
27 virtual WebKit::WebString readHTML(Buffer, WebKit::WebURL* source_url); 27 virtual WebKit::WebString readHTML(Buffer, WebKit::WebURL* source_url);
28 virtual void writeHTML( 28 virtual void writeHTML(
29 const WebKit::WebString& html_text, 29 const WebKit::WebString& html_text,
30 const WebKit::WebURL& source_url, 30 const WebKit::WebURL& source_url,
31 const WebKit::WebString& plain_text, 31 const WebKit::WebString& plain_text,
32 bool write_smart_paste); 32 bool write_smart_paste);
33 virtual void writePlainText(const WebKit::WebString& plain_text);
33 virtual void writeURL( 34 virtual void writeURL(
34 const WebKit::WebURL&, 35 const WebKit::WebURL&,
35 const WebKit::WebString& title); 36 const WebKit::WebString& title);
36 virtual void writeImage( 37 virtual void writeImage(
37 const WebKit::WebImage&, 38 const WebKit::WebImage&,
38 const WebKit::WebURL& source_url, 39 const WebKit::WebURL& source_url,
39 const WebKit::WebString& title); 40 const WebKit::WebString& title);
40 41
41 private: 42 private:
42 bool ConvertBufferType(Buffer, Clipboard::Buffer*); 43 bool ConvertBufferType(Buffer, Clipboard::Buffer*);
43 }; 44 };
44 45
45 } // namespace webkit_glue 46 } // namespace webkit_glue
46 47
47 #endif // WEBCLIPBOARD_IMPL_H_ 48 #endif // WEBCLIPBOARD_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/api/src/ChromiumBridge.cpp ('k') | webkit/glue/webclipboard_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698