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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 WebKit::WebMediaPlayer* CreateMediaPlayer( | 75 WebKit::WebMediaPlayer* CreateMediaPlayer( |
76 WebKit::WebFrame* frame, | 76 WebKit::WebFrame* frame, |
77 WebKit::WebMediaPlayerClient* client, | 77 WebKit::WebMediaPlayerClient* client, |
78 webkit_media::MediaStreamClient* media_stream_client); | 78 webkit_media::MediaStreamClient* media_stream_client); |
79 | 79 |
80 // This is used by WebFrameClient::createMediaPlayer(). | 80 // This is used by WebFrameClient::createMediaPlayer(). |
81 WebKit::WebMediaPlayer* CreateMediaPlayer( | 81 WebKit::WebMediaPlayer* CreateMediaPlayer( |
82 WebKit::WebFrame* frame, | 82 WebKit::WebFrame* frame, |
83 WebKit::WebMediaPlayerClient* client); | 83 WebKit::WebMediaPlayerClient* client); |
84 | 84 |
| 85 #if defined(OS_ANDROID) |
| 86 void ReleaseMediaResources(); |
| 87 #endif |
| 88 |
85 // This is used by WebFrameClient::createApplicationCacheHost(). | 89 // This is used by WebFrameClient::createApplicationCacheHost(). |
86 WebKit::WebApplicationCacheHost* CreateApplicationCacheHost( | 90 WebKit::WebApplicationCacheHost* CreateApplicationCacheHost( |
87 WebKit::WebFrame* frame, WebKit::WebApplicationCacheHostClient* client); | 91 WebKit::WebFrame* frame, WebKit::WebApplicationCacheHostClient* client); |
88 | 92 |
89 // This is used by WebViewHost::createSessionStorageNamespace(). | 93 // This is used by WebViewHost::createSessionStorageNamespace(). |
90 WebKit::WebStorageNamespace* CreateSessionStorageNamespace(unsigned quota); | 94 WebKit::WebStorageNamespace* CreateSessionStorageNamespace(unsigned quota); |
91 | 95 |
92 // Returns the root directory of the WebKit code. | 96 // Returns the root directory of the WebKit code. |
93 WebKit::WebString GetWebKitRootDir(); | 97 WebKit::WebString GetWebKitRootDir(); |
94 | 98 |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 | 264 |
261 void EnableWebCoreLogChannels(const std::string& channels); | 265 void EnableWebCoreLogChannels(const std::string& channels); |
262 | 266 |
263 // - Gamepad | 267 // - Gamepad |
264 | 268 |
265 void SetGamepadData(const WebKit::WebGamepads& pads); | 269 void SetGamepadData(const WebKit::WebGamepads& pads); |
266 | 270 |
267 } // namespace webkit_support | 271 } // namespace webkit_support |
268 | 272 |
269 #endif // WEBKIT_SUPPORT_WEBKIT_SUPPORT_H_ | 273 #endif // WEBKIT_SUPPORT_WEBKIT_SUPPORT_H_ |
OLD | NEW |