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

Side by Side Diff: content/public/browser/render_process_host.h

Issue 1894313002: Removed implementation of CHROMIUM_subscribe_uniform (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Missed a couple more mus/ references Created 4 years, 8 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/public/browser/gpu_utils.cc ('k') | content/public/test/mock_render_process_host.h » ('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_BROWSER_RENDER_PROCESS_HOST_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_
6 #define CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_ 6 #define CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
11 #include <list> 11 #include <list>
12 12
13 #include "base/id_map.h" 13 #include "base/id_map.h"
14 #include "base/process/kill.h" 14 #include "base/process/kill.h"
15 #include "base/process/process_handle.h" 15 #include "base/process/process_handle.h"
16 #include "base/supports_user_data.h" 16 #include "base/supports_user_data.h"
17 #include "content/common/content_export.h" 17 #include "content/common/content_export.h"
18 #include "ipc/ipc_channel_proxy.h" 18 #include "ipc/ipc_channel_proxy.h"
19 #include "ipc/ipc_sender.h" 19 #include "ipc/ipc_sender.h"
20 #include "ui/gfx/native_widget_types.h" 20 #include "ui/gfx/native_widget_types.h"
21 21
22 class GURL; 22 class GURL;
23 23
24 namespace base { 24 namespace base {
25 class SharedPersistentMemoryAllocator; 25 class SharedPersistentMemoryAllocator;
26 class TimeDelta; 26 class TimeDelta;
27 } 27 }
28 28
29 namespace gpu {
30 union ValueState;
31 }
32
33 namespace media { 29 namespace media {
34 class AudioOutputController; 30 class AudioOutputController;
35 class MediaKeys; 31 class MediaKeys;
36 } 32 }
37 33
38 namespace shell { 34 namespace shell {
39 class Connection; 35 class Connection;
40 } 36 }
41 37
42 namespace content { 38 namespace content {
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 virtual std::unique_ptr<base::SharedPersistentMemoryAllocator> 268 virtual std::unique_ptr<base::SharedPersistentMemoryAllocator>
273 TakeMetricsAllocator() = 0; 269 TakeMetricsAllocator() = 0;
274 270
275 // PlzNavigate 271 // PlzNavigate
276 // Returns the time the first call to Init completed successfully (after a new 272 // Returns the time the first call to Init completed successfully (after a new
277 // renderer process was created); further calls to Init won't change this 273 // renderer process was created); further calls to Init won't change this
278 // value. 274 // value.
279 // Note: Do not use! Will disappear after PlzNavitate is completed. 275 // Note: Do not use! Will disappear after PlzNavitate is completed.
280 virtual const base::TimeTicks& GetInitTimeForNavigationMetrics() const = 0; 276 virtual const base::TimeTicks& GetInitTimeForNavigationMetrics() const = 0;
281 277
282 // Returns whether or not the CHROMIUM_subscribe_uniform WebGL extension
283 // is currently enabled
284 virtual bool SubscribeUniformEnabled() const = 0;
285
286 // Handlers for subscription target changes to update subscription_set_
287 virtual void OnAddSubscription(unsigned int target) = 0;
288 virtual void OnRemoveSubscription(unsigned int target) = 0;
289
290 // Send a new ValueState to the Gpu Service to update a subscription target
291 virtual void SendUpdateValueState(
292 unsigned int target, const gpu::ValueState& state) = 0;
293
294 // Retrieves the list of AudioOutputController objects associated 278 // Retrieves the list of AudioOutputController objects associated
295 // with this object and passes it to the callback you specify, on 279 // with this object and passes it to the callback you specify, on
296 // the same thread on which you called the method. 280 // the same thread on which you called the method.
297 typedef std::list<scoped_refptr<media::AudioOutputController>> 281 typedef std::list<scoped_refptr<media::AudioOutputController>>
298 AudioOutputControllerList; 282 AudioOutputControllerList;
299 typedef base::Callback<void(const AudioOutputControllerList&)> 283 typedef base::Callback<void(const AudioOutputControllerList&)>
300 GetAudioOutputControllersCallback; 284 GetAudioOutputControllersCallback;
301 virtual void GetAudioOutputControllers( 285 virtual void GetAudioOutputControllers(
302 const GetAudioOutputControllersCallback& callback) const = 0; 286 const GetAudioOutputControllersCallback& callback) const = 0;
303 287
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 static void SetMaxRendererProcessCount(size_t count); 355 static void SetMaxRendererProcessCount(size_t count);
372 356
373 // Returns the current maximum number of renderer process hosts kept by the 357 // Returns the current maximum number of renderer process hosts kept by the
374 // content module. 358 // content module.
375 static size_t GetMaxRendererProcessCount(); 359 static size_t GetMaxRendererProcessCount();
376 }; 360 };
377 361
378 } // namespace content. 362 } // namespace content.
379 363
380 #endif // CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_ 364 #endif // CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_
OLDNEW
« no previous file with comments | « content/public/browser/gpu_utils.cc ('k') | content/public/test/mock_render_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698