| 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 } | 22 } |
| 23 | 23 |
| 24 namespace WebKit { | 24 namespace WebKit { |
| 25 class Platform; | 25 class Platform; |
| 26 class WebApplicationCacheHost; | 26 class WebApplicationCacheHost; |
| 27 class WebApplicationCacheHostClient; | 27 class WebApplicationCacheHostClient; |
| 28 class WebFileSystemCallbacks; | 28 class WebFileSystemCallbacks; |
| 29 class WebFrame; | 29 class WebFrame; |
| 30 class WebGamepads; | 30 class WebGamepads; |
| 31 class WebLayerTreeView; | 31 class WebLayerTreeView; |
| 32 class WebLayerTreeViewClient; | |
| 33 class WebMediaPlayer; | 32 class WebMediaPlayer; |
| 34 class WebMediaPlayerClient; | 33 class WebMediaPlayerClient; |
| 35 class WebPlugin; | 34 class WebPlugin; |
| 36 class WebStorageNamespace; | 35 class WebStorageNamespace; |
| 37 class WebString; | 36 class WebString; |
| 38 class WebThemeEngine; | 37 class WebThemeEngine; |
| 39 class WebURL; | 38 class WebURL; |
| 40 class WebURLResponse; | 39 class WebURLResponse; |
| 41 class WebView; | 40 class WebView; |
| 42 struct WebPluginParams; | 41 struct WebPluginParams; |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 WebKit::WebView* web_view); | 134 WebKit::WebView* web_view); |
| 136 | 135 |
| 137 class DRTLayerTreeViewClient { | 136 class DRTLayerTreeViewClient { |
| 138 public: | 137 public: |
| 139 virtual ~DRTLayerTreeViewClient() { } | 138 virtual ~DRTLayerTreeViewClient() { } |
| 140 virtual void Layout() = 0; | 139 virtual void Layout() = 0; |
| 141 virtual void ScheduleComposite() = 0; | 140 virtual void ScheduleComposite() = 0; |
| 142 }; | 141 }; |
| 143 | 142 |
| 144 WebKit::WebLayerTreeView* CreateLayerTreeViewSoftware( | 143 WebKit::WebLayerTreeView* CreateLayerTreeViewSoftware( |
| 145 WebKit::WebLayerTreeViewClient* client); | |
| 146 WebKit::WebLayerTreeView* CreateLayerTreeView3d( | |
| 147 WebKit::WebLayerTreeViewClient* client); | |
| 148 | |
| 149 WebKit::WebLayerTreeView* CreateLayerTreeViewSoftware( | |
| 150 DRTLayerTreeViewClient* client); | 144 DRTLayerTreeViewClient* client); |
| 151 WebKit::WebLayerTreeView* CreateLayerTreeView3d( | 145 WebKit::WebLayerTreeView* CreateLayerTreeView3d( |
| 152 DRTLayerTreeViewClient* client); | 146 DRTLayerTreeViewClient* client); |
| 153 | 147 |
| 154 // ------- URL load mocking. | 148 // ------- URL load mocking. |
| 155 // Registers the file at |file_path| to be served when |url| is requested. | 149 // Registers the file at |file_path| to be served when |url| is requested. |
| 156 // |response| is the response provided with the contents. | 150 // |response| is the response provided with the contents. |
| 157 void RegisterMockedURL(const WebKit::WebURL& url, | 151 void RegisterMockedURL(const WebKit::WebURL& url, |
| 158 const WebKit::WebURLResponse& response, | 152 const WebKit::WebURLResponse& response, |
| 159 const WebKit::WebString& file_path); | 153 const WebKit::WebString& file_path); |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 308 | 302 |
| 309 void EnableWebCoreLogChannels(const std::string& channels); | 303 void EnableWebCoreLogChannels(const std::string& channels); |
| 310 | 304 |
| 311 // - Gamepad | 305 // - Gamepad |
| 312 | 306 |
| 313 void SetGamepadData(const WebKit::WebGamepads& pads); | 307 void SetGamepadData(const WebKit::WebGamepads& pads); |
| 314 | 308 |
| 315 } // namespace webkit_support | 309 } // namespace webkit_support |
| 316 | 310 |
| 317 #endif // WEBKIT_SUPPORT_WEBKIT_SUPPORT_H_ | 311 #endif // WEBKIT_SUPPORT_WEBKIT_SUPPORT_H_ |
| OLD | NEW |