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

Side by Side Diff: webkit/tools/test_shell/simple_clipboard_impl.cc

Issue 11225021: Move flash clipboard to the new proxy and add custom format support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 1 month 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/tools/test_shell/simple_clipboard_impl.h ('k') | no next file » | 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 #include "webkit/tools/test_shell/simple_clipboard_impl.h" 5 #include "webkit/tools/test_shell/simple_clipboard_impl.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/lazy_instance.h" 9 #include "base/lazy_instance.h"
10 #include "base/stl_util.h" 10 #include "base/stl_util.h"
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 png_data.size()); 104 png_data.size());
105 } 105 }
106 } 106 }
107 107
108 void SimpleClipboardClient::ReadCustomData(ui::Clipboard::Buffer buffer, 108 void SimpleClipboardClient::ReadCustomData(ui::Clipboard::Buffer buffer,
109 const string16& type, 109 const string16& type,
110 string16* data) { 110 string16* data) {
111 GetClipboard()->ReadCustomData(buffer, type, data); 111 GetClipboard()->ReadCustomData(buffer, type, data);
112 } 112 }
113 113
114 void SimpleClipboardClient::ReadData(const ui::Clipboard::FormatType& format,
115 std::string* data) {
116 GetClipboard()->ReadData(format, data);
117 }
118
114 webkit_glue::ClipboardClient::WriteContext* 119 webkit_glue::ClipboardClient::WriteContext*
115 SimpleClipboardClient::CreateWriteContext() { 120 SimpleClipboardClient::CreateWriteContext() {
116 return NULL; 121 return NULL;
117 } 122 }
OLDNEW
« no previous file with comments | « webkit/tools/test_shell/simple_clipboard_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698