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

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

Issue 155954: Implement sending actions back to the render for media element context menus. (Closed)
Patch Set: remove uneeded bits. 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
« no previous file with comments | « webkit/glue/context_menu_client_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 Cursor;
17 class HistoryItem; 17 class HistoryItem;
18 class HTMLFormElement; 18 class HTMLFormElement;
19 class IntPoint; 19 class IntPoint;
20 class IntRect; 20 class IntRect;
21 class IntSize; 21 class IntSize;
22 class KURL; 22 class KURL;
23 class Node;
23 class ResourceError; 24 class ResourceError;
24 class ResourceResponse; 25 class ResourceResponse;
25 class SharedBuffer; 26 class SharedBuffer;
26 class String; 27 class String;
27 struct ResourceRequest; 28 struct ResourceRequest;
28 } 29 }
29 30
30 namespace WebKit { 31 namespace WebKit {
31 class WebCString; 32 class WebCString;
32 class WebData; 33 class WebData;
33 class WebDragData; 34 class WebDragData;
34 class WebForm; 35 class WebForm;
35 class WebHistoryItem; 36 class WebHistoryItem;
37 class WebNode;
36 class WebString; 38 class WebString;
37 class WebURL; 39 class WebURL;
38 class WebURLRequest; 40 class WebURLRequest;
39 class WebURLResponse; 41 class WebURLResponse;
40 struct WebCursorInfo; 42 struct WebCursorInfo;
41 struct WebPoint; 43 struct WebPoint;
42 struct WebRect; 44 struct WebRect;
43 struct WebSize; 45 struct WebSize;
44 struct WebURLError; 46 struct WebURLError;
45 } 47 }
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 WebCore::IntRect WebRectToIntRect(const WebKit::WebRect&); 115 WebCore::IntRect WebRectToIntRect(const WebKit::WebRect&);
114 WebKit::WebRect IntRectToWebRect(const WebCore::IntRect&); 116 WebKit::WebRect IntRectToWebRect(const WebCore::IntRect&);
115 117
116 // WebSize <-> IntSize 118 // WebSize <-> IntSize
117 WebCore::IntSize WebSizeToIntSize(const WebKit::WebSize&); 119 WebCore::IntSize WebSizeToIntSize(const WebKit::WebSize&);
118 WebKit::WebSize IntSizeToWebSize(const WebCore::IntSize&); 120 WebKit::WebSize IntSizeToWebSize(const WebCore::IntSize&);
119 121
120 // WebCursorInfo <- Cursor 122 // WebCursorInfo <- Cursor
121 WebKit::WebCursorInfo CursorToWebCursorInfo(const WebCore::Cursor&); 123 WebKit::WebCursorInfo CursorToWebCursorInfo(const WebCore::Cursor&);
122 124
125 // WebNode <-> Node
126 WebKit::WebNode NodeToWebNode(const WTF::PassRefPtr<WebCore::Node>&);
127 WTF::PassRefPtr<WebCore::Node> WebNodeToNode(const WebKit::WebNode&);
128
123 // WebDragData <-> ChromiumDataObject 129 // WebDragData <-> ChromiumDataObject
124 WebKit::WebDragData ChromiumDataObjectToWebDragData( 130 WebKit::WebDragData ChromiumDataObjectToWebDragData(
125 const WTF::PassRefPtr<WebCore::ChromiumDataObject>&); 131 const WTF::PassRefPtr<WebCore::ChromiumDataObject>&);
126 WTF::PassRefPtr<WebCore::ChromiumDataObject> WebDragDataToChromiumDataObject( 132 WTF::PassRefPtr<WebCore::ChromiumDataObject> WebDragDataToChromiumDataObject(
127 const WebKit::WebDragData&); 133 const WebKit::WebDragData&);
128 134
129 // WebForm <-> HTMLFormElement 135 // WebForm <-> HTMLFormElement
130 WebKit::WebForm HTMLFormElementToWebForm( 136 WebKit::WebForm HTMLFormElementToWebForm(
131 const WTF::PassRefPtr<WebCore::HTMLFormElement>&); 137 const WTF::PassRefPtr<WebCore::HTMLFormElement>&);
132 WTF::PassRefPtr<WebCore::HTMLFormElement> WebFormToHTMLFormElement( 138 WTF::PassRefPtr<WebCore::HTMLFormElement> WebFormToHTMLFormElement(
(...skipping 19 matching lines...) Expand all
152 158
153 // Exposes the ResourceResponse contained by a WebURLResponse 159 // Exposes the ResourceResponse contained by a WebURLResponse
154 WebCore::ResourceResponse* WebURLResponseToMutableResourceResponse( 160 WebCore::ResourceResponse* WebURLResponseToMutableResourceResponse(
155 WebKit::WebURLResponse* resp); 161 WebKit::WebURLResponse* resp);
156 const WebCore::ResourceResponse* WebURLResponseToResourceResponse( 162 const WebCore::ResourceResponse* WebURLResponseToResourceResponse(
157 const WebKit::WebURLResponse* resp); 163 const WebKit::WebURLResponse* resp);
158 164
159 } // namespace webkit_glue 165 } // namespace webkit_glue
160 166
161 #endif // #ifndef WEBKIT_GLUE_GLUE_UTIL_H_ 167 #endif // #ifndef WEBKIT_GLUE_GLUE_UTIL_H_
OLDNEW
« no previous file with comments | « webkit/glue/context_menu_client_impl.cc ('k') | webkit/glue/glue_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698