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

Side by Side Diff: content/public/common/content_client.h

Issue 2756333002: Rename MediaClientAndroid to MediaDrmBridgeClient (Closed)
Patch Set: Fix .h guards Created 3 years, 9 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
« no previous file with comments | « content/gpu/gpu_child_thread.cc ('k') | content/public/common/content_client.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 CONTENT_PUBLIC_COMMON_CONTENT_CLIENT_H_ 5 #ifndef CONTENT_PUBLIC_COMMON_CONTENT_CLIENT_H_
6 #define CONTENT_PUBLIC_COMMON_CONTENT_CLIENT_H_ 6 #define CONTENT_PUBLIC_COMMON_CONTENT_CLIENT_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 16 matching lines...) Expand all
27 27
28 namespace gfx { 28 namespace gfx {
29 class Image; 29 class Image;
30 } 30 }
31 31
32 namespace gpu { 32 namespace gpu {
33 struct GPUInfo; 33 struct GPUInfo;
34 } 34 }
35 35
36 namespace media { 36 namespace media {
37 class MediaClientAndroid; 37 class MediaDrmBridgeClient;
38 } 38 }
39 39
40 namespace content { 40 namespace content {
41 41
42 class ContentBrowserClient; 42 class ContentBrowserClient;
43 class ContentClient; 43 class ContentClient;
44 class ContentGpuClient; 44 class ContentGpuClient;
45 class ContentRendererClient; 45 class ContentRendererClient;
46 class ContentUtilityClient; 46 class ContentUtilityClient;
47 class OriginTrialPolicy; 47 class OriginTrialPolicy;
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 // Returns the origin trial policy, or nullptr if origin trials are not 176 // Returns the origin trial policy, or nullptr if origin trials are not
177 // supported by the embedder. 177 // supported by the embedder.
178 virtual OriginTrialPolicy* GetOriginTrialPolicy(); 178 virtual OriginTrialPolicy* GetOriginTrialPolicy();
179 179
180 #if defined(OS_ANDROID) 180 #if defined(OS_ANDROID)
181 // Returns true for clients like Android WebView that uses synchronous 181 // Returns true for clients like Android WebView that uses synchronous
182 // compositor. Note setting this to true will permit synchronous IPCs from 182 // compositor. Note setting this to true will permit synchronous IPCs from
183 // the browser UI thread. 183 // the browser UI thread.
184 virtual bool UsingSynchronousCompositing(); 184 virtual bool UsingSynchronousCompositing();
185 185
186 // Returns the MediaClientAndroid to be used by media code on Android. 186 // Returns the MediaDrmBridgeClient to be used by media code on Android.
187 virtual media::MediaClientAndroid* GetMediaClientAndroid(); 187 virtual media::MediaDrmBridgeClient* GetMediaDrmBridgeClient();
188 #endif // OS_ANDROID 188 #endif // OS_ANDROID
189 189
190 private: 190 private:
191 friend class ContentClientInitializer; // To set these pointers. 191 friend class ContentClientInitializer; // To set these pointers.
192 friend class InternalTestInitializer; 192 friend class InternalTestInitializer;
193 193
194 // The embedder API for participating in browser logic. 194 // The embedder API for participating in browser logic.
195 ContentBrowserClient* browser_; 195 ContentBrowserClient* browser_;
196 // The embedder API for participating in gpu logic. 196 // The embedder API for participating in gpu logic.
197 ContentGpuClient* gpu_; 197 ContentGpuClient* gpu_;
198 // The embedder API for participating in renderer logic. 198 // The embedder API for participating in renderer logic.
199 ContentRendererClient* renderer_; 199 ContentRendererClient* renderer_;
200 // The embedder API for participating in utility logic. 200 // The embedder API for participating in utility logic.
201 ContentUtilityClient* utility_; 201 ContentUtilityClient* utility_;
202 }; 202 };
203 203
204 } // namespace content 204 } // namespace content
205 205
206 #endif // CONTENT_PUBLIC_COMMON_CONTENT_CLIENT_H_ 206 #endif // CONTENT_PUBLIC_COMMON_CONTENT_CLIENT_H_
OLDNEW
« no previous file with comments | « content/gpu/gpu_child_thread.cc ('k') | content/public/common/content_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698