| 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_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_BROWSER_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 "base/timer/timer.h" | 15 #include "base/timer/timer.h" |
| 16 #include "content/browser/child_process_launcher.h" | 16 #include "content/browser/child_process_launcher.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/public/browser/gpu_data_manager_observer.h" | 19 #include "content/public/browser/gpu_data_manager_observer.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 "mojo/public/cpp/bindings/interface_ptr.h" | 23 #include "mojo/public/cpp/bindings/interface_ptr.h" |
| 24 | 24 |
| 25 #if defined(OS_MACOSX) | 25 #if defined(OS_MACOSX) |
| 26 #include <IOSurface/IOSurfaceAPI.h> |
| 26 #include "base/mac/scoped_cftyperef.h" | 27 #include "base/mac/scoped_cftyperef.h" |
| 27 #endif | 28 #endif |
| 28 | 29 |
| 29 struct ViewHostMsg_CompositorSurfaceBuffersSwapped_Params; | 30 struct ViewHostMsg_CompositorSurfaceBuffersSwapped_Params; |
| 30 | 31 |
| 31 namespace base { | 32 namespace base { |
| 32 class CommandLine; | 33 class CommandLine; |
| 33 class MessageLoop; | 34 class MessageLoop; |
| 34 } | 35 } |
| 35 | 36 |
| (...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 444 ScreenOrientationDispatcherHost* screen_orientation_dispatcher_host_; | 445 ScreenOrientationDispatcherHost* screen_orientation_dispatcher_host_; |
| 445 | 446 |
| 446 int worker_ref_count_; | 447 int worker_ref_count_; |
| 447 | 448 |
| 448 // Records the time when the process starts surviving for workers for UMA. | 449 // Records the time when the process starts surviving for workers for UMA. |
| 449 base::TimeTicks survive_for_worker_start_time_; | 450 base::TimeTicks survive_for_worker_start_time_; |
| 450 | 451 |
| 451 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; | 452 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; |
| 452 | 453 |
| 453 #if defined(OS_MACOSX) | 454 #if defined(OS_MACOSX) |
| 454 base::ScopedCFTypeRef<CFTypeRef> last_io_surface_; | 455 base::ScopedCFTypeRef<IOSurfaceRef> last_io_surface_; |
| 455 #endif | 456 #endif |
| 456 | 457 |
| 457 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); | 458 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); |
| 458 }; | 459 }; |
| 459 | 460 |
| 460 } // namespace content | 461 } // namespace content |
| 461 | 462 |
| 462 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ | 463 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ |
| OLD | NEW |