| 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 const WebKit::WebURL& url, | 97 const WebKit::WebURL& url, |
| 98 WebKit::WebMediaPlayerClient* client, | 98 WebKit::WebMediaPlayerClient* client, |
| 99 webkit_media::MediaStreamClient* media_stream_client); | 99 webkit_media::MediaStreamClient* media_stream_client); |
| 100 | 100 |
| 101 // This is used by WebFrameClient::createMediaPlayer(). | 101 // This is used by WebFrameClient::createMediaPlayer(). |
| 102 WebKit::WebMediaPlayer* CreateMediaPlayer( | 102 WebKit::WebMediaPlayer* CreateMediaPlayer( |
| 103 WebKit::WebFrame* frame, | 103 WebKit::WebFrame* frame, |
| 104 const WebKit::WebURL& url, | 104 const WebKit::WebURL& url, |
| 105 WebKit::WebMediaPlayerClient* client); | 105 WebKit::WebMediaPlayerClient* client); |
| 106 | 106 |
| 107 // This is used by WebFrameClient::createApplicationCacheHost(). | |
| 108 WebKit::WebApplicationCacheHost* CreateApplicationCacheHost( | |
| 109 WebKit::WebFrame* frame, WebKit::WebApplicationCacheHostClient* client); | |
| 110 | |
| 111 // This is used by WebViewHost::createSessionStorageNamespace(). | 107 // This is used by WebViewHost::createSessionStorageNamespace(). |
| 112 WebKit::WebStorageNamespace* CreateSessionStorageNamespace(unsigned quota); | 108 WebKit::WebStorageNamespace* CreateSessionStorageNamespace(unsigned quota); |
| 113 | 109 |
| 114 // Returns the root directory of the WebKit code. | 110 // Returns the root directory of the WebKit code. |
| 115 WebKit::WebString GetWebKitRootDir(); | 111 WebKit::WebString GetWebKitRootDir(); |
| 116 | 112 |
| 117 enum GLBindingPreferences { | 113 enum GLBindingPreferences { |
| 118 GL_BINDING_DEFAULT, | 114 GL_BINDING_DEFAULT, |
| 119 GL_BINDING_SOFTWARE_RENDERER | 115 GL_BINDING_SOFTWARE_RENDERER |
| 120 }; | 116 }; |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 252 | 248 |
| 253 // - Theme engine | 249 // - Theme engine |
| 254 #if defined(OS_WIN) || defined(OS_MACOSX) | 250 #if defined(OS_WIN) || defined(OS_MACOSX) |
| 255 void SetThemeEngine(WebKit::WebThemeEngine* engine); | 251 void SetThemeEngine(WebKit::WebThemeEngine* engine); |
| 256 WebKit::WebThemeEngine* GetThemeEngine(); | 252 WebKit::WebThemeEngine* GetThemeEngine(); |
| 257 #endif | 253 #endif |
| 258 | 254 |
| 259 // - DevTools | 255 // - DevTools |
| 260 WebKit::WebURL GetDevToolsPathAsURL(); | 256 WebKit::WebURL GetDevToolsPathAsURL(); |
| 261 | 257 |
| 262 // - FileSystem | |
| 263 void OpenFileSystem(WebKit::WebFrame* frame, | |
| 264 WebKit::WebFileSystemType type, | |
| 265 long long size, | |
| 266 bool create, | |
| 267 WebKit::WebFileSystemCallbacks* callbacks); | |
| 268 void DeleteFileSystem(WebKit::WebFrame* frame, | |
| 269 WebKit::WebFileSystemType type, | |
| 270 WebKit::WebFileSystemCallbacks* callbacks); | |
| 271 | |
| 272 // Returns a filesystem ID for the newly created isolated filesystem. | 258 // Returns a filesystem ID for the newly created isolated filesystem. |
| 273 WebKit::WebString RegisterIsolatedFileSystem( | 259 WebKit::WebString RegisterIsolatedFileSystem( |
| 274 const WebKit::WebVector<WebKit::WebString>& filenames); | 260 const WebKit::WebVector<WebKit::WebString>& filenames); |
| 275 | 261 |
| 276 // -------- Keyboard code | 262 // -------- Keyboard code |
| 277 enum { | 263 enum { |
| 278 VKEY_LEFT = ui::VKEY_LEFT, | 264 VKEY_LEFT = ui::VKEY_LEFT, |
| 279 VKEY_RIGHT = ui::VKEY_RIGHT, | 265 VKEY_RIGHT = ui::VKEY_RIGHT, |
| 280 VKEY_UP = ui::VKEY_UP, | 266 VKEY_UP = ui::VKEY_UP, |
| 281 VKEY_DOWN = ui::VKEY_DOWN, | 267 VKEY_DOWN = ui::VKEY_DOWN, |
| (...skipping 16 matching lines...) Expand all Loading... |
| 298 | 284 |
| 299 void EnableWebCoreLogChannels(const std::string& channels); | 285 void EnableWebCoreLogChannels(const std::string& channels); |
| 300 | 286 |
| 301 // - Gamepad | 287 // - Gamepad |
| 302 | 288 |
| 303 void SetGamepadData(const WebKit::WebGamepads& pads); | 289 void SetGamepadData(const WebKit::WebGamepads& pads); |
| 304 | 290 |
| 305 } // namespace webkit_support | 291 } // namespace webkit_support |
| 306 | 292 |
| 307 #endif // WEBKIT_SUPPORT_WEBKIT_SUPPORT_H_ | 293 #endif // WEBKIT_SUPPORT_WEBKIT_SUPPORT_H_ |
| OLD | NEW |