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 <string> | |
9 | |
10 #include "base/file_path.h" | 8 #include "base/file_path.h" |
11 #include "base/string16.h" | 9 #include "base/string16.h" |
12 #include "googleurl/src/gurl.h" | 10 |
| 11 class GURL; |
13 | 12 |
14 namespace WebCore { | 13 namespace WebCore { |
15 class CString; | 14 class CString; |
16 class IntRect; | 15 class IntRect; |
17 class KURL; | 16 class KURL; |
18 class String; | 17 class String; |
19 } | 18 } |
20 | 19 |
21 namespace gfx { | 20 namespace gfx { |
22 class Rect; | 21 class Rect; |
(...skipping 27 matching lines...) Expand all Loading... |
50 GURL KURLToGURL(const WebCore::KURL& url); | 49 GURL KURLToGURL(const WebCore::KURL& url); |
51 WebCore::KURL GURLToKURL(const GURL& url); | 50 WebCore::KURL GURLToKURL(const GURL& url); |
52 GURL StringToGURL(const WebCore::String& spec); | 51 GURL StringToGURL(const WebCore::String& spec); |
53 | 52 |
54 gfx::Rect FromIntRect(const WebCore::IntRect& r); | 53 gfx::Rect FromIntRect(const WebCore::IntRect& r); |
55 WebCore::IntRect ToIntRect(const gfx::Rect& r); | 54 WebCore::IntRect ToIntRect(const gfx::Rect& r); |
56 | 55 |
57 } // namespace webkit_glue | 56 } // namespace webkit_glue |
58 | 57 |
59 #endif // #ifndef WEBKIT_GLUE_GLUE_UTIL_H_ | 58 #endif // #ifndef WEBKIT_GLUE_GLUE_UTIL_H_ |
60 | |
OLD | NEW |