Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(96)

Side by Side Diff: webkit/support/webkit_support.h

Issue 10664003: Add webkit_support::ReleaseMediaResources() on Android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | webkit/support/webkit_support.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « no previous file | webkit/support/webkit_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698