diff options
author | Kristian Monsen <kristianm@google.com> | 2011-05-31 20:30:28 +0100 |
---|---|---|
committer | Kristian Monsen <kristianm@google.com> | 2011-06-14 20:31:41 -0700 |
commit | 72a454cd3513ac24fbdd0e0cb9ad70b86a99b801 (patch) | |
tree | 382278a54ce7a744d62fa510a9a80688cc12434b /webkit/glue/webclipboard_impl.h | |
parent | c4becdd46e31d261b930e4b5a539cbc1d45c23a6 (diff) | |
download | external_chromium-72a454cd3513ac24fbdd0e0cb9ad70b86a99b801.zip external_chromium-72a454cd3513ac24fbdd0e0cb9ad70b86a99b801.tar.gz external_chromium-72a454cd3513ac24fbdd0e0cb9ad70b86a99b801.tar.bz2 |
Merge Chromium.org at r11.0.672.0: Initial merge by git.
Change-Id: I8b4aaf611a2a405fe3fe10e8a94ea7658645c192
Diffstat (limited to 'webkit/glue/webclipboard_impl.h')
-rw-r--r-- | webkit/glue/webclipboard_impl.h | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/webkit/glue/webclipboard_impl.h b/webkit/glue/webclipboard_impl.h index 6a83a6d..ba3e747 100644 --- a/webkit/glue/webclipboard_impl.h +++ b/webkit/glue/webclipboard_impl.h @@ -1,12 +1,12 @@ -// 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. +// Copyright (c) 2011 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 "app/clipboard/clipboard.h" -#include "third_party/WebKit/WebKit/chromium/public/WebClipboard.h" +#include "third_party/WebKit/Source/WebKit/chromium/public/WebClipboard.h" +#include "ui/base/clipboard/clipboard.h" #include <string> @@ -38,7 +38,10 @@ class WebClipboardImpl : public WebKit::WebClipboard { const WebKit::WebImage&, const WebKit::WebURL& source_url, const WebKit::WebString& title); - virtual void writeData(const WebKit::WebDragData&); + virtual void writeData( + const WebKit::WebString& type, + const WebKit::WebString& data, + const WebKit::WebString& metadata); virtual WebKit::WebVector<WebKit::WebString> readAvailableTypes( Buffer, bool* contains_filenames); @@ -47,7 +50,7 @@ class WebClipboardImpl : public WebKit::WebClipboard { virtual WebKit::WebVector<WebKit::WebString> readFilenames(Buffer); private: - bool ConvertBufferType(Buffer, Clipboard::Buffer*); + bool ConvertBufferType(Buffer, ui::Clipboard::Buffer*); }; } // namespace webkit_glue |