OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 // |
| 5 |
| 6 #ifndef WEBKIT_RENDERER_CLIPBOARD_UTILS_H_ |
| 7 #define WEBKIT_RENDERER_CLIPBOARD_UTILS_H_ |
| 8 |
| 9 #include <string> |
| 10 #include "third_party/WebKit/public/platform/WebClipboard.h" |
| 11 #include "third_party/WebKit/public/platform/WebURL.h" |
| 12 #include "webkit/renderer/webkit_renderer_export.h" |
| 13 |
| 14 using WebKit::WebString; |
| 15 using WebKit::WebURL; |
| 16 |
| 17 namespace webkit_clipboard { |
| 18 |
| 19 WEBKIT_RENDERER_EXPORT std::string URLToMarkup(const WebURL& url, |
| 20 const WebString& title); |
| 21 WEBKIT_RENDERER_EXPORT std::string URLToImageMarkup(const WebURL& url, |
| 22 const WebString& title); |
| 23 } // webkit_clipboard |
| 24 |
| 25 #endif // WEBKIT_RENDERER_CLIPBOARD_UTILS_H_ |
OLD | NEW |