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 CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <queue> | 9 #include <queue> |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "base/observer_list.h" | 13 #include "base/observer_list.h" |
14 #include "base/process/process.h" | 14 #include "base/process/process.h" |
15 #include "content/browser/child_process_launcher.h" | 15 #include "content/browser/child_process_launcher.h" |
16 #include "content/browser/dom_storage/session_storage_namespace_impl.h" | 16 #include "content/browser/dom_storage/session_storage_namespace_impl.h" |
17 #include "content/browser/power_monitor_message_broadcaster.h" | 17 #include "content/browser/power_monitor_message_broadcaster.h" |
18 #include "content/common/content_export.h" | 18 #include "content/common/content_export.h" |
19 #include "content/common/mojo/service_registry_impl.h" | 19 #include "content/common/mojo/service_registry_impl.h" |
20 #include "content/public/browser/render_process_host.h" | 20 #include "content/public/browser/render_process_host.h" |
21 #include "ipc/ipc_channel_proxy.h" | 21 #include "ipc/ipc_channel_proxy.h" |
22 #include "ipc/ipc_platform_file.h" | 22 #include "ipc/ipc_platform_file.h" |
23 #include "third_party/mojo/src/mojo/public/cpp/bindings/interface_ptr.h" | 23 #include "third_party/mojo/src/mojo/public/cpp/bindings/interface_ptr.h" |
24 #include "ui/gfx/gpu_memory_buffer.h" | 24 #include "ui/gfx/gpu_memory_buffer.h" |
25 #include "ui/gl/gpu_switching_observer.h" | 25 #include "ui/gl/gpu_switching_observer.h" |
26 | 26 |
27 #if defined(OS_MACOSX) && !defined(OS_IOS) | |
28 #include "content/common/mac/io_surface_manager_token.h" | |
29 #endif | |
30 | |
27 namespace base { | 31 namespace base { |
28 class CommandLine; | 32 class CommandLine; |
29 class MessageLoop; | 33 class MessageLoop; |
30 } | 34 } |
31 | 35 |
32 namespace gfx { | 36 namespace gfx { |
33 class Size; | 37 class Size; |
34 } | 38 } |
35 | 39 |
36 namespace gpu { | 40 namespace gpu { |
(...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
494 SubscriptionSet subscription_set_; | 498 SubscriptionSet subscription_set_; |
495 | 499 |
496 // Maintains ValueStates which are not currently subscribed too so we can | 500 // Maintains ValueStates which are not currently subscribed too so we can |
497 // pass them to the GpuService if a Valuebuffer ever subscribes to the | 501 // pass them to the GpuService if a Valuebuffer ever subscribes to the |
498 // respective subscription target | 502 // respective subscription target |
499 scoped_refptr<gpu::ValueStateMap> pending_valuebuffer_state_; | 503 scoped_refptr<gpu::ValueStateMap> pending_valuebuffer_state_; |
500 | 504 |
501 // Whether or not the CHROMIUM_subscribe_uniform WebGL extension is enabled | 505 // Whether or not the CHROMIUM_subscribe_uniform WebGL extension is enabled |
502 bool subscribe_uniform_enabled_; | 506 bool subscribe_uniform_enabled_; |
503 | 507 |
508 #if defined(OS_MACOSX) && !defined(OS_IOS) | |
509 IOSurfaceManagerToken io_surface_manager_token_; | |
Robert Sesek
2015/05/28 18:25:11
Comment, since the rest of the members have one.
reveman
2015/05/29 00:09:02
Done.
| |
510 #endif | |
511 | |
504 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; | 512 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; |
505 | 513 |
506 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); | 514 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); |
507 }; | 515 }; |
508 | 516 |
509 } // namespace content | 517 } // namespace content |
510 | 518 |
511 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ | 519 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ |
OLD | NEW |