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

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

Issue 155172: Start using WebCursorInfo from the WebKit API. WebCursorInfo is a... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 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
« no previous file with comments | « webkit/glue/chromium_bridge_impl.cc ('k') | webkit/glue/glue_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ChromiumDataObject; 14 class ChromiumDataObject;
15 class CString; 15 class CString;
16 class Cursor;
16 class HistoryItem; 17 class HistoryItem;
17 class HTMLFormElement; 18 class HTMLFormElement;
18 class IntPoint; 19 class IntPoint;
19 class IntRect; 20 class IntRect;
20 class IntSize; 21 class IntSize;
21 class KURL; 22 class KURL;
22 class ResourceError; 23 class ResourceError;
23 class ResourceResponse; 24 class ResourceResponse;
24 class SharedBuffer; 25 class SharedBuffer;
25 class String; 26 class String;
26 struct ResourceRequest; 27 struct ResourceRequest;
27 } 28 }
28 29
29 namespace WebKit { 30 namespace WebKit {
30 class WebCString; 31 class WebCString;
31 class WebData; 32 class WebData;
32 class WebDragData; 33 class WebDragData;
33 class WebForm; 34 class WebForm;
34 class WebHistoryItem; 35 class WebHistoryItem;
35 class WebString; 36 class WebString;
36 class WebURL; 37 class WebURL;
37 class WebURLRequest; 38 class WebURLRequest;
38 class WebURLResponse; 39 class WebURLResponse;
40 struct WebCursorInfo;
39 struct WebPoint; 41 struct WebPoint;
40 struct WebRect; 42 struct WebRect;
41 struct WebSize; 43 struct WebSize;
42 struct WebURLError; 44 struct WebURLError;
43 } 45 }
44 46
45 namespace WTF { 47 namespace WTF {
46 template <typename T> class PassRefPtr; 48 template <typename T> class PassRefPtr;
47 } 49 }
48 50
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 WebKit::WebPoint IntPointToWebPoint(const WebCore::IntPoint&); 110 WebKit::WebPoint IntPointToWebPoint(const WebCore::IntPoint&);
109 111
110 // WebRect <-> IntRect 112 // WebRect <-> IntRect
111 WebCore::IntRect WebRectToIntRect(const WebKit::WebRect&); 113 WebCore::IntRect WebRectToIntRect(const WebKit::WebRect&);
112 WebKit::WebRect IntRectToWebRect(const WebCore::IntRect&); 114 WebKit::WebRect IntRectToWebRect(const WebCore::IntRect&);
113 115
114 // WebSize <-> IntSize 116 // WebSize <-> IntSize
115 WebCore::IntSize WebSizeToIntSize(const WebKit::WebSize&); 117 WebCore::IntSize WebSizeToIntSize(const WebKit::WebSize&);
116 WebKit::WebSize IntSizeToWebSize(const WebCore::IntSize&); 118 WebKit::WebSize IntSizeToWebSize(const WebCore::IntSize&);
117 119
120 // WebCursorInfo <- Cursor
121 WebKit::WebCursorInfo CursorToWebCursorInfo(const WebCore::Cursor&);
122
118 // WebDragData <-> ChromiumDataObject 123 // WebDragData <-> ChromiumDataObject
119 WebKit::WebDragData ChromiumDataObjectToWebDragData( 124 WebKit::WebDragData ChromiumDataObjectToWebDragData(
120 const WTF::PassRefPtr<WebCore::ChromiumDataObject>&); 125 const WTF::PassRefPtr<WebCore::ChromiumDataObject>&);
121 WTF::PassRefPtr<WebCore::ChromiumDataObject> WebDragDataToChromiumDataObject( 126 WTF::PassRefPtr<WebCore::ChromiumDataObject> WebDragDataToChromiumDataObject(
122 const WebKit::WebDragData&); 127 const WebKit::WebDragData&);
123 128
124 // WebForm <-> HTMLFormElement 129 // WebForm <-> HTMLFormElement
125 WebKit::WebForm HTMLFormElementToWebForm( 130 WebKit::WebForm HTMLFormElementToWebForm(
126 const WTF::PassRefPtr<WebCore::HTMLFormElement>&); 131 const WTF::PassRefPtr<WebCore::HTMLFormElement>&);
127 WTF::PassRefPtr<WebCore::HTMLFormElement> WebFormToHTMLFormElement( 132 WTF::PassRefPtr<WebCore::HTMLFormElement> WebFormToHTMLFormElement(
(...skipping 19 matching lines...) Expand all
147 152
148 // Exposes the ResourceResponse contained by a WebURLResponse 153 // Exposes the ResourceResponse contained by a WebURLResponse
149 WebCore::ResourceResponse* WebURLResponseToMutableResourceResponse( 154 WebCore::ResourceResponse* WebURLResponseToMutableResourceResponse(
150 WebKit::WebURLResponse* resp); 155 WebKit::WebURLResponse* resp);
151 const WebCore::ResourceResponse* WebURLResponseToResourceResponse( 156 const WebCore::ResourceResponse* WebURLResponseToResourceResponse(
152 const WebKit::WebURLResponse* resp); 157 const WebKit::WebURLResponse* resp);
153 158
154 } // namespace webkit_glue 159 } // namespace webkit_glue
155 160
156 #endif // #ifndef WEBKIT_GLUE_GLUE_UTIL_H_ 161 #endif // #ifndef WEBKIT_GLUE_GLUE_UTIL_H_
OLDNEW
« no previous file with comments | « webkit/glue/chromium_bridge_impl.cc ('k') | webkit/glue/glue_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698