| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 WEBKIT_GLUE_GLUE_UTIL_H_ | 5 #ifndef WEBKIT_GLUE_GLUE_UTIL_H_ |
| 6 #define WEBKIT_GLUE_GLUE_UTIL_H_ | 6 #define WEBKIT_GLUE_GLUE_UTIL_H_ |
| 7 | 7 |
| 8 #include "base/file_path.h" | 8 #include "base/file_path.h" |
| 9 #include "base/string16.h" | 9 #include "base/string16.h" |
| 10 | 10 |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 WebKit::WebString StringToWebString(const WebCore::String& str); | 64 WebKit::WebString StringToWebString(const WebCore::String& str); |
| 65 WebCore::String WebStringToString(const WebKit::WebString& str); | 65 WebCore::String WebStringToString(const WebKit::WebString& str); |
| 66 | 66 |
| 67 // WebCore::CString <-> WebCString. No charset conversion. | 67 // WebCore::CString <-> WebCString. No charset conversion. |
| 68 WebKit::WebCString CStringToWebCString(const WebCore::CString& str); | 68 WebKit::WebCString CStringToWebCString(const WebCore::CString& str); |
| 69 WebCore::CString WebCStringToCString(const WebKit::WebCString& str); | 69 WebCore::CString WebCStringToCString(const WebKit::WebCString& str); |
| 70 | 70 |
| 71 FilePath::StringType StringToFilePathString(const WebCore::String& str); | 71 FilePath::StringType StringToFilePathString(const WebCore::String& str); |
| 72 WebCore::String FilePathStringToString(const FilePath::StringType& str); | 72 WebCore::String FilePathStringToString(const FilePath::StringType& str); |
| 73 | 73 |
| 74 FilePath::StringType WebStringToFilePathString(const WebKit::WebString& str); | |
| 75 WebKit::WebString FilePathStringToWebString(const FilePath::StringType& str); | |
| 76 | |
| 77 GURL KURLToGURL(const WebCore::KURL& url); | 74 GURL KURLToGURL(const WebCore::KURL& url); |
| 78 WebCore::KURL GURLToKURL(const GURL& url); | 75 WebCore::KURL GURLToKURL(const GURL& url); |
| 79 GURL StringToGURL(const WebCore::String& spec); | 76 GURL StringToGURL(const WebCore::String& spec); |
| 80 | 77 |
| 81 WebKit::WebURL KURLToWebURL(const WebCore::KURL& url); | 78 WebKit::WebURL KURLToWebURL(const WebCore::KURL& url); |
| 82 WebCore::KURL WebURLToKURL(const WebKit::WebURL& url); | 79 WebCore::KURL WebURLToKURL(const WebKit::WebURL& url); |
| 83 | 80 |
| 84 gfx::Rect FromIntRect(const WebCore::IntRect& r); | 81 gfx::Rect FromIntRect(const WebCore::IntRect& r); |
| 85 WebCore::IntRect ToIntRect(const gfx::Rect& r); | 82 WebCore::IntRect ToIntRect(const gfx::Rect& r); |
| 86 | 83 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 98 | 95 |
| 99 // WebDragData <-> ChromiumDataObject | 96 // WebDragData <-> ChromiumDataObject |
| 100 WebKit::WebDragData ChromiumDataObjectToWebDragData( | 97 WebKit::WebDragData ChromiumDataObjectToWebDragData( |
| 101 const WTF::PassRefPtr<WebCore::ChromiumDataObject>&); | 98 const WTF::PassRefPtr<WebCore::ChromiumDataObject>&); |
| 102 WTF::PassRefPtr<WebCore::ChromiumDataObject> WebDragDataToChromiumDataObject( | 99 WTF::PassRefPtr<WebCore::ChromiumDataObject> WebDragDataToChromiumDataObject( |
| 103 const WebKit::WebDragData&); | 100 const WebKit::WebDragData&); |
| 104 | 101 |
| 105 } // namespace webkit_glue | 102 } // namespace webkit_glue |
| 106 | 103 |
| 107 #endif // #ifndef WEBKIT_GLUE_GLUE_UTIL_H_ | 104 #endif // #ifndef WEBKIT_GLUE_GLUE_UTIL_H_ |
| OLD | NEW |