| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this |
| 2 // source code is governed by a BSD-style license that can be found in the | 2 // source code is governed by a BSD-style license that can be found in the |
| 3 // LICENSE file. | 3 // 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 "app/clipboard/clipboard.h" | 8 #include "app/clipboard/clipboard.h" |
| 9 #include "webkit/api/public/WebClipboard.h" | 9 #include "third_party/WebKit/WebKit/chromium/public/WebClipboard.h" |
| 10 | 10 |
| 11 #include <string> | 11 #include <string> |
| 12 | 12 |
| 13 namespace webkit_glue { | 13 namespace webkit_glue { |
| 14 | 14 |
| 15 class WebClipboardImpl : public WebKit::WebClipboard { | 15 class WebClipboardImpl : public WebKit::WebClipboard { |
| 16 public: | 16 public: |
| 17 static std::string URLToMarkup(const WebKit::WebURL& url, | 17 static std::string URLToMarkup(const WebKit::WebURL& url, |
| 18 const WebKit::WebString& title); | 18 const WebKit::WebString& title); |
| 19 static std::string URLToImageMarkup(const WebKit::WebURL& url, | 19 static std::string URLToImageMarkup(const WebKit::WebURL& url, |
| (...skipping 19 matching lines...) Expand all Loading... |
| 39 const WebKit::WebURL& source_url, | 39 const WebKit::WebURL& source_url, |
| 40 const WebKit::WebString& title); | 40 const WebKit::WebString& title); |
| 41 | 41 |
| 42 private: | 42 private: |
| 43 bool ConvertBufferType(Buffer, Clipboard::Buffer*); | 43 bool ConvertBufferType(Buffer, Clipboard::Buffer*); |
| 44 }; | 44 }; |
| 45 | 45 |
| 46 } // namespace webkit_glue | 46 } // namespace webkit_glue |
| 47 | 47 |
| 48 #endif // WEBCLIPBOARD_IMPL_H_ | 48 #endif // WEBCLIPBOARD_IMPL_H_ |
| OLD | NEW |