| 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" |
| 11 #include "base/string16.h" | 11 #include "base/string16.h" |
| 12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDevToolsAgentClien
t.h" | 12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDevToolsAgentClien
t.h" |
| 13 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebFileSyste
m.h" | 13 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebFileSyste
m.h" |
| 14 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebGraphicsC
ontext3D.h" | 14 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebGraphicsC
ontext3D.h" |
| 15 #include "ui/base/keycodes/keyboard_codes.h" | 15 #include "ui/base/keycodes/keyboard_codes.h" |
| 16 | 16 |
| 17 namespace WebKit { | 17 namespace WebKit { |
| 18 class WebApplicationCacheHost; | 18 class WebApplicationCacheHost; |
| 19 class WebApplicationCacheHostClient; | 19 class WebApplicationCacheHostClient; |
| 20 class WebFileSystemCallbacks; | 20 class WebFileSystemCallbacks; |
| 21 class WebFrame; | 21 class WebFrame; |
| 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 WebStorageNamespace; |
| 27 class WebString; | 28 class WebString; |
| 28 class WebThemeEngine; | 29 class WebThemeEngine; |
| 29 class WebURL; | 30 class WebURL; |
| 30 class WebURLRequest; | 31 class WebURLRequest; |
| 31 class WebURLResponse; | 32 class WebURLResponse; |
| 32 class WebView; | 33 class WebView; |
| 33 struct WebPluginParams; | 34 struct WebPluginParams; |
| 34 struct WebURLError; | 35 struct WebURLError; |
| 35 } | 36 } |
| 36 | 37 |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 | 77 |
| 77 // This is used by WebFrameClient::createMediaPlayer(). | 78 // This is used by WebFrameClient::createMediaPlayer(). |
| 78 WebKit::WebMediaPlayer* CreateMediaPlayer( | 79 WebKit::WebMediaPlayer* CreateMediaPlayer( |
| 79 WebKit::WebFrame* frame, | 80 WebKit::WebFrame* frame, |
| 80 WebKit::WebMediaPlayerClient* client); | 81 WebKit::WebMediaPlayerClient* client); |
| 81 | 82 |
| 82 // This is used by WebFrameClient::createApplicationCacheHost(). | 83 // This is used by WebFrameClient::createApplicationCacheHost(). |
| 83 WebKit::WebApplicationCacheHost* CreateApplicationCacheHost( | 84 WebKit::WebApplicationCacheHost* CreateApplicationCacheHost( |
| 84 WebKit::WebFrame* frame, WebKit::WebApplicationCacheHostClient* client); | 85 WebKit::WebFrame* frame, WebKit::WebApplicationCacheHostClient* client); |
| 85 | 86 |
| 87 // This is used by WebViewHost::createSessionStorageNamespace(). |
| 88 WebKit::WebStorageNamespace* CreateSessionStorageNamespace(unsigned quota); |
| 89 |
| 86 // Returns the root directory of the WebKit code. | 90 // Returns the root directory of the WebKit code. |
| 87 WebKit::WebString GetWebKitRootDir(); | 91 WebKit::WebString GetWebKitRootDir(); |
| 88 | 92 |
| 89 enum GLBindingPreferences { | 93 enum GLBindingPreferences { |
| 90 GL_BINDING_DEFAULT, | 94 GL_BINDING_DEFAULT, |
| 91 GL_BINDING_SOFTWARE_RENDERER | 95 GL_BINDING_SOFTWARE_RENDERER |
| 92 }; | 96 }; |
| 93 void SetUpGLBindings(GLBindingPreferences); | 97 void SetUpGLBindings(GLBindingPreferences); |
| 94 | 98 |
| 95 enum GraphicsContext3DImplementation { | 99 enum GraphicsContext3DImplementation { |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 240 | 244 |
| 241 void EnableWebCoreLogChannels(const std::string& channels); | 245 void EnableWebCoreLogChannels(const std::string& channels); |
| 242 | 246 |
| 243 // - Gamepad | 247 // - Gamepad |
| 244 | 248 |
| 245 void SetGamepadData(const WebKit::WebGamepads& pads); | 249 void SetGamepadData(const WebKit::WebGamepads& pads); |
| 246 | 250 |
| 247 } // namespace webkit_support | 251 } // namespace webkit_support |
| 248 | 252 |
| 249 #endif // WEBKIT_SUPPORT_WEBKIT_SUPPORT_H_ | 253 #endif // WEBKIT_SUPPORT_WEBKIT_SUPPORT_H_ |
| OLD | NEW |