Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1048)

Side by Side Diff: webkit/glue/glue_util.h

Issue 46094: Fix our handling of mixed SSL / non-SSL content.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
11 class GURL; 11 class GURL;
12 12
13 namespace WebCore { 13 namespace WebCore {
14 class CString; 14 class CString;
15 class Frame;
15 class IntRect; 16 class IntRect;
16 class KURL; 17 class KURL;
17 class String; 18 class String;
18 } 19 }
19 20
20 namespace WebKit { 21 namespace WebKit {
21 class WebString; 22 class WebString;
22 } 23 }
23 24
24 namespace gfx { 25 namespace gfx {
(...skipping 28 matching lines...) Expand all
53 FilePath::StringType WebStringToFilePathString(const WebKit::WebString& str); 54 FilePath::StringType WebStringToFilePathString(const WebKit::WebString& str);
54 WebKit::WebString FilePathStringToWebString(const FilePath::StringType& str); 55 WebKit::WebString FilePathStringToWebString(const FilePath::StringType& str);
55 56
56 GURL KURLToGURL(const WebCore::KURL& url); 57 GURL KURLToGURL(const WebCore::KURL& url);
57 WebCore::KURL GURLToKURL(const GURL& url); 58 WebCore::KURL GURLToKURL(const GURL& url);
58 GURL StringToGURL(const WebCore::String& spec); 59 GURL StringToGURL(const WebCore::String& spec);
59 60
60 gfx::Rect FromIntRect(const WebCore::IntRect& r); 61 gfx::Rect FromIntRect(const WebCore::IntRect& r);
61 WebCore::IntRect ToIntRect(const gfx::Rect& r); 62 WebCore::IntRect ToIntRect(const gfx::Rect& r);
62 63
64 // Extracts and serializes the origin of |frame|.
65 std::string FrameToOrigin(WebCore::Frame* frame);
66
63 } // namespace webkit_glue 67 } // namespace webkit_glue
64 68
65 #endif // #ifndef WEBKIT_GLUE_GLUE_UTIL_H_ 69 #endif // #ifndef WEBKIT_GLUE_GLUE_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698