| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 #include "content/browser/power_monitor_message_broadcaster.h" | 23 #include "content/browser/power_monitor_message_broadcaster.h" |
| 24 #include "content/common/content_export.h" | 24 #include "content/common/content_export.h" |
| 25 #include "content/common/mojo/service_registry_impl.h" | 25 #include "content/common/mojo/service_registry_impl.h" |
| 26 #include "content/public/browser/render_process_host.h" | 26 #include "content/public/browser/render_process_host.h" |
| 27 #include "ipc/ipc_channel_proxy.h" | 27 #include "ipc/ipc_channel_proxy.h" |
| 28 #include "ipc/ipc_platform_file.h" | 28 #include "ipc/ipc_platform_file.h" |
| 29 #include "mojo/public/cpp/bindings/interface_ptr.h" | 29 #include "mojo/public/cpp/bindings/interface_ptr.h" |
| 30 #include "ui/gfx/gpu_memory_buffer.h" | 30 #include "ui/gfx/gpu_memory_buffer.h" |
| 31 #include "ui/gl/gpu_switching_observer.h" | 31 #include "ui/gl/gpu_switching_observer.h" |
| 32 | 32 |
| 33 #if defined(OS_MACOSX) && !defined(OS_IOS) | |
| 34 #include "content/common/mac/io_surface_manager_token.h" | |
| 35 #endif | |
| 36 | |
| 37 namespace base { | 33 namespace base { |
| 38 class CommandLine; | 34 class CommandLine; |
| 39 class MessageLoop; | 35 class MessageLoop; |
| 40 } | 36 } |
| 41 | 37 |
| 42 namespace gfx { | 38 namespace gfx { |
| 43 class Size; | 39 class Size; |
| 44 } | 40 } |
| 45 | 41 |
| 46 namespace gpu { | 42 namespace gpu { |
| (...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 491 SubscriptionSet subscription_set_; | 487 SubscriptionSet subscription_set_; |
| 492 | 488 |
| 493 // Maintains ValueStates which are not currently subscribed too so we can | 489 // Maintains ValueStates which are not currently subscribed too so we can |
| 494 // pass them to the GpuService if a Valuebuffer ever subscribes to the | 490 // pass them to the GpuService if a Valuebuffer ever subscribes to the |
| 495 // respective subscription target | 491 // respective subscription target |
| 496 scoped_refptr<gpu::ValueStateMap> pending_valuebuffer_state_; | 492 scoped_refptr<gpu::ValueStateMap> pending_valuebuffer_state_; |
| 497 | 493 |
| 498 // Whether or not the CHROMIUM_subscribe_uniform WebGL extension is enabled | 494 // Whether or not the CHROMIUM_subscribe_uniform WebGL extension is enabled |
| 499 bool subscribe_uniform_enabled_; | 495 bool subscribe_uniform_enabled_; |
| 500 | 496 |
| 501 #if defined(OS_MACOSX) && !defined(OS_IOS) | |
| 502 // Unique unguessable token that the child process is using to acquire | |
| 503 // IOSurface references. | |
| 504 IOSurfaceManagerToken io_surface_manager_token_; | |
| 505 #endif | |
| 506 | |
| 507 bool channel_connected_; | 497 bool channel_connected_; |
| 508 bool sent_render_process_ready_; | 498 bool sent_render_process_ready_; |
| 509 | 499 |
| 510 #if defined(OS_ANDROID) | 500 #if defined(OS_ANDROID) |
| 511 // UI thread is the source of sync IPCs and all shutdown signals. | 501 // UI thread is the source of sync IPCs and all shutdown signals. |
| 512 // Therefore a proper shutdown event to unblock the UI thread is not | 502 // Therefore a proper shutdown event to unblock the UI thread is not |
| 513 // possible without massive refactoring shutdown code. | 503 // possible without massive refactoring shutdown code. |
| 514 // Luckily Android never performs a clean shutdown. So explicitly | 504 // Luckily Android never performs a clean shutdown. So explicitly |
| 515 // ignore this problem. | 505 // ignore this problem. |
| 516 base::WaitableEvent never_signaled_; | 506 base::WaitableEvent never_signaled_; |
| 517 #endif | 507 #endif |
| 518 | 508 |
| 519 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; | 509 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; |
| 520 | 510 |
| 521 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); | 511 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); |
| 522 }; | 512 }; |
| 523 | 513 |
| 524 } // namespace content | 514 } // namespace content |
| 525 | 515 |
| 526 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ | 516 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ |
| OLD | NEW |