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

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

Issue 8591034: Implement WebClipboard::writeDataObject. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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 | « no previous file | 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) 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 WEBCLIPBOARD_IMPL_H_ 5 #ifndef WEBCLIPBOARD_IMPL_H_
6 #define WEBCLIPBOARD_IMPL_H_ 6 #define WEBCLIPBOARD_IMPL_H_
7 7
8 #include "third_party/WebKit/Source/WebKit/chromium/public/WebClipboard.h" 8 #include "third_party/WebKit/Source/WebKit/chromium/public/WebClipboard.h"
9 #include "ui/base/clipboard/clipboard.h" 9 #include "ui/base/clipboard/clipboard.h"
10 10
(...skipping 29 matching lines...) Expand all
40 const WebKit::WebString& plain_text, 40 const WebKit::WebString& plain_text,
41 bool write_smart_paste); 41 bool write_smart_paste);
42 virtual void writePlainText(const WebKit::WebString& plain_text); 42 virtual void writePlainText(const WebKit::WebString& plain_text);
43 virtual void writeURL( 43 virtual void writeURL(
44 const WebKit::WebURL& url, 44 const WebKit::WebURL& url,
45 const WebKit::WebString& title); 45 const WebKit::WebString& title);
46 virtual void writeImage( 46 virtual void writeImage(
47 const WebKit::WebImage& image, 47 const WebKit::WebImage& image,
48 const WebKit::WebURL& source_url, 48 const WebKit::WebURL& source_url,
49 const WebKit::WebString& title); 49 const WebKit::WebString& title);
50 virtual void writeDataObject(const WebKit::WebDragData& data);
50 51
51 private: 52 private:
52 bool ConvertBufferType(Buffer, ui::Clipboard::Buffer*); 53 bool ConvertBufferType(Buffer, ui::Clipboard::Buffer*);
53 }; 54 };
54 55
55 } // namespace webkit_glue 56 } // namespace webkit_glue
56 57
57 #endif // WEBCLIPBOARD_IMPL_H_ 58 #endif // WEBCLIPBOARD_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | webkit/glue/webclipboard_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698