| 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 "gpu/command_buffer/common/mailbox.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 456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 493 SubscriptionSet subscription_set_; | 497 SubscriptionSet subscription_set_; |
| 494 | 498 |
| 495 // Maintains ValueStates which are not currently subscribed too so we can | 499 // Maintains ValueStates which are not currently subscribed too so we can |
| 496 // pass them to the GpuService if a Valuebuffer ever subscribes to the | 500 // pass them to the GpuService if a Valuebuffer ever subscribes to the |
| 497 // respective subscription target | 501 // respective subscription target |
| 498 scoped_refptr<gpu::ValueStateMap> pending_valuebuffer_state_; | 502 scoped_refptr<gpu::ValueStateMap> pending_valuebuffer_state_; |
| 499 | 503 |
| 500 // Whether or not the CHROMIUM_subscribe_uniform WebGL extension is enabled | 504 // Whether or not the CHROMIUM_subscribe_uniform WebGL extension is enabled |
| 501 bool subscribe_uniform_enabled_; | 505 bool subscribe_uniform_enabled_; |
| 502 | 506 |
| 507 #if defined(OS_MACOSX) && !defined(OS_IOS) |
| 508 gpu::Mailbox io_surface_manager_mailbox_; |
| 509 #endif |
| 510 |
| 503 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; | 511 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; |
| 504 | 512 |
| 505 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); | 513 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); |
| 506 }; | 514 }; |
| 507 | 515 |
| 508 } // namespace content | 516 } // namespace content |
| 509 | 517 |
| 510 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ | 518 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ |
| OLD | NEW |