| OLD | NEW |
| 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 "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "third_party/WebKit/Source/Platform/chromium/public/WebClipboard.h" | 9 #include "third_party/WebKit/public/platform/WebClipboard.h" |
| 10 #include "ui/base/clipboard/clipboard.h" | 10 #include "ui/base/clipboard/clipboard.h" |
| 11 #include "webkit/glue/webkit_glue_export.h" | 11 #include "webkit/glue/webkit_glue_export.h" |
| 12 | 12 |
| 13 #include <string> | 13 #include <string> |
| 14 | 14 |
| 15 namespace webkit_glue { | 15 namespace webkit_glue { |
| 16 class ClipboardClient; | 16 class ClipboardClient; |
| 17 | 17 |
| 18 class WEBKIT_GLUE_EXPORT WebClipboardImpl : | 18 class WEBKIT_GLUE_EXPORT WebClipboardImpl : |
| 19 NON_EXPORTED_BASE(public WebKit::WebClipboard) { | 19 NON_EXPORTED_BASE(public WebKit::WebClipboard) { |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 virtual void writeDataObject(const WebKit::WebDragData& data); | 58 virtual void writeDataObject(const WebKit::WebDragData& data); |
| 59 | 59 |
| 60 private: | 60 private: |
| 61 bool ConvertBufferType(Buffer, ui::Clipboard::Buffer*); | 61 bool ConvertBufferType(Buffer, ui::Clipboard::Buffer*); |
| 62 ClipboardClient* client_; | 62 ClipboardClient* client_; |
| 63 }; | 63 }; |
| 64 | 64 |
| 65 } // namespace webkit_glue | 65 } // namespace webkit_glue |
| 66 | 66 |
| 67 #endif // WEBCLIPBOARD_IMPL_H_ | 67 #endif // WEBCLIPBOARD_IMPL_H_ |
| OLD | NEW |