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

Unified Diff: webkit/glue/webclipboard_impl.h

Issue 28119: Chromium changes to use new WebKit, WebKitClient, and WebClipboard interfaces... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 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 | « webkit/glue/simple_clipboard_impl.cc ('k') | webkit/glue/webclipboard_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webclipboard_impl.h
===================================================================
--- webkit/glue/webclipboard_impl.h (revision 0)
+++ webkit/glue/webclipboard_impl.h (revision 0)
@@ -0,0 +1,34 @@
+// Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this
+// source code is governed by a BSD-style license that can be found in the
+// LICENSE file.
+
+#ifndef WEBCLIPBOARD_IMPL_H_
+#define WEBCLIPBOARD_IMPL_H_
+
+#include "WebClipboard.h"
+
+namespace webkit_glue {
+
+class WebClipboardImpl : public WebKit::WebClipboard {
+ public:
+ // WebClipboard methods:
+ virtual bool isFormatAvailable(WebKit::WebClipboard::Format);
+ virtual WebKit::WebString readPlainText();
+ virtual WebKit::WebString readHTML(WebKit::WebURL* source_url);
+ virtual void writeHTML(
+ const WebKit::WebString& html_text,
+ const WebKit::WebURL& source_url,
+ const WebKit::WebString& plain_text,
+ bool write_smart_paste);
+ virtual void writeURL(
+ const WebKit::WebURL&,
+ const WebKit::WebString& title);
+ virtual void writeImage(
+ const WebKit::WebImage&,
+ const WebKit::WebURL& source_url,
+ const WebKit::WebString& title);
+};
+
+} // namespace webkit_glue
+
+#endif // WEBCLIPBOARD_IMPL_H_
Property changes on: webkit\glue\webclipboard_impl.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « webkit/glue/simple_clipboard_impl.cc ('k') | webkit/glue/webclipboard_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698