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

Unified Diff: chrome/renderer/renderer_glue.cc

Issue 174367: Change the ChromiumPasteboard to have a notion of an alternate clipboard... (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/renderer/render_view.cc ('k') | views/controls/textfield/native_textfield_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/renderer_glue.cc
===================================================================
--- chrome/renderer/renderer_glue.cc (revision 25640)
+++ chrome/renderer/renderer_glue.cc (working copy)
@@ -174,23 +174,27 @@
return NULL;
}
-bool ClipboardIsFormatAvailable(const Clipboard::FormatType& format) {
+bool ClipboardIsFormatAvailable(const Clipboard::FormatType& format,
+ Clipboard::Buffer buffer) {
bool result;
RenderThread::current()->Send(
- new ViewHostMsg_ClipboardIsFormatAvailable(format, &result));
+ new ViewHostMsg_ClipboardIsFormatAvailable(format, buffer, &result));
return result;
}
-void ClipboardReadText(string16* result) {
- RenderThread::current()->Send(new ViewHostMsg_ClipboardReadText(result));
+void ClipboardReadText(Clipboard::Buffer buffer, string16* result) {
+ RenderThread::current()->Send(new ViewHostMsg_ClipboardReadText(buffer,
+ result));
}
-void ClipboardReadAsciiText(std::string* result) {
- RenderThread::current()->Send(new ViewHostMsg_ClipboardReadAsciiText(result));
+void ClipboardReadAsciiText(Clipboard::Buffer buffer, std::string* result) {
+ RenderThread::current()->Send(new ViewHostMsg_ClipboardReadAsciiText(buffer,
+ result));
}
-void ClipboardReadHTML(string16* markup, GURL* url) {
- RenderThread::current()->Send(new ViewHostMsg_ClipboardReadHTML(markup, url));
+void ClipboardReadHTML(Clipboard::Buffer buffer, string16* markup, GURL* url) {
+ RenderThread::current()->Send(new ViewHostMsg_ClipboardReadHTML(buffer,
+ markup, url));
}
GURL GetInspectorURL() {
« no previous file with comments | « chrome/renderer/render_view.cc ('k') | views/controls/textfield/native_textfield_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698