1 // Copyright 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 #ifndef WEBKIT_RENDERER_CLIPBOARD_UTILS_H_ 6 #define WEBKIT_RENDERER_CLIPBOARD_UTILS_H_ 7 8 #include <string> 9 10 #include "webkit/renderer/webkit_renderer_export.h" 11 12 namespace WebKit { 13 class WebString; 14 class WebURL; 15 } 16 17 namespace webkit_clipboard { 18 19 WEBKIT_RENDERER_EXPORT std::string URLToMarkup(const WebKit::WebURL& url, 20 const WebKit::WebString& title); 21 22 WEBKIT_RENDERER_EXPORT std::string URLToImageMarkup( 23 const WebKit::WebURL& url, 24 const WebKit::WebString& title); 25 26 } // namespace webkit_clipboard 27 28 #endif // WEBKIT_RENDERER_CLIPBOARD_UTILS_H_ 29