Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_SUPPORT_WEBKIT_SUPPORT_H_ | 5 #ifndef WEBKIT_SUPPORT_WEBKIT_SUPPORT_H_ |
| 6 #define WEBKIT_SUPPORT_WEBKIT_SUPPORT_H_ | 6 #define WEBKIT_SUPPORT_WEBKIT_SUPPORT_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 11 matching lines...) Expand all Loading... | |
| 22 class WebGamepads; | 22 class WebGamepads; |
| 23 class WebKitPlatformSupport; | 23 class WebKitPlatformSupport; |
| 24 class WebMediaPlayer; | 24 class WebMediaPlayer; |
| 25 class WebMediaPlayerClient; | 25 class WebMediaPlayerClient; |
| 26 class WebPlugin; | 26 class WebPlugin; |
| 27 class WebString; | 27 class WebString; |
| 28 class WebThemeEngine; | 28 class WebThemeEngine; |
| 29 class WebURL; | 29 class WebURL; |
| 30 class WebURLRequest; | 30 class WebURLRequest; |
| 31 class WebURLResponse; | 31 class WebURLResponse; |
| 32 class WebView; | |
|
tony
2012/02/23 19:04:36
Nit: Did you mean to remove the WebKit:: from the
jamesr
2012/02/23 19:24:03
Where? The forward decl here is added because I'm
| |
| 32 struct WebPluginParams; | 33 struct WebPluginParams; |
| 33 struct WebURLError; | 34 struct WebURLError; |
| 34 } | 35 } |
| 35 | 36 |
| 36 namespace webkit_media { | 37 namespace webkit_media { |
| 37 class MediaStreamClient; | 38 class MediaStreamClient; |
| 38 } | 39 } |
| 39 | 40 |
| 40 // This package provides functions used by DumpRenderTree/chromium. | 41 // This package provides functions used by DumpRenderTree/chromium. |
| 41 // DumpRenderTree/chromium uses some code in webkit/ of Chromium. In | 42 // DumpRenderTree/chromium uses some code in webkit/ of Chromium. In |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 94 enum GraphicsContext3DImplementation { | 95 enum GraphicsContext3DImplementation { |
| 95 IN_PROCESS, | 96 IN_PROCESS, |
| 96 IN_PROCESS_COMMAND_BUFFER | 97 IN_PROCESS_COMMAND_BUFFER |
| 97 }; | 98 }; |
| 98 // Registers which GraphicsContext3D Implementation to use. | 99 // Registers which GraphicsContext3D Implementation to use. |
| 99 void SetGraphicsContext3DImplementation(GraphicsContext3DImplementation); | 100 void SetGraphicsContext3DImplementation(GraphicsContext3DImplementation); |
| 100 GraphicsContext3DImplementation GetGraphicsContext3DImplementation(); | 101 GraphicsContext3DImplementation GetGraphicsContext3DImplementation(); |
| 101 | 102 |
| 102 WebKit::WebGraphicsContext3D* CreateGraphicsContext3D( | 103 WebKit::WebGraphicsContext3D* CreateGraphicsContext3D( |
| 103 const WebKit::WebGraphicsContext3D::Attributes& attributes, | 104 const WebKit::WebGraphicsContext3D::Attributes& attributes, |
| 104 WebKit::WebView* web_view, | 105 WebKit::WebView* web_view, |
|
tony
2012/02/23 19:34:49
here
jamesr
2012/02/23 19:35:53
Not sure I understand - there's no using statement
| |
| 105 bool direct); | 106 bool direct); |
| 106 | 107 |
| 107 // ------- URL load mocking. | 108 // ------- URL load mocking. |
| 108 // Registers the file at |file_path| to be served when |url| is requested. | 109 // Registers the file at |file_path| to be served when |url| is requested. |
| 109 // |response| is the response provided with the contents. | 110 // |response| is the response provided with the contents. |
| 110 void RegisterMockedURL(const WebKit::WebURL& url, | 111 void RegisterMockedURL(const WebKit::WebURL& url, |
| 111 const WebKit::WebURLResponse& response, | 112 const WebKit::WebURLResponse& response, |
| 112 const WebKit::WebString& file_path); | 113 const WebKit::WebString& file_path); |
| 113 | 114 |
| 114 // Unregisters URLs so they are no longer mocked. | 115 // Unregisters URLs so they are no longer mocked. |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 239 | 240 |
| 240 void EnableWebCoreLogChannels(const std::string& channels); | 241 void EnableWebCoreLogChannels(const std::string& channels); |
| 241 | 242 |
| 242 // - Gamepad | 243 // - Gamepad |
| 243 | 244 |
| 244 void SetGamepadData(const WebKit::WebGamepads& pads); | 245 void SetGamepadData(const WebKit::WebGamepads& pads); |
| 245 | 246 |
| 246 } // namespace webkit_support | 247 } // namespace webkit_support |
| 247 | 248 |
| 248 #endif // WEBKIT_SUPPORT_WEBKIT_SUPPORT_H_ | 249 #endif // WEBKIT_SUPPORT_WEBKIT_SUPPORT_H_ |
| OLD | NEW |