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_RENDERER_RENDER_THREAD_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 #include "third_party/WebKit/public/web/mac/WebScrollbarTheme.h" | 55 #include "third_party/WebKit/public/web/mac/WebScrollbarTheme.h" |
56 #endif | 56 #endif |
57 | 57 |
58 class SkBitmap; | 58 class SkBitmap; |
59 struct WorkerProcessMsg_CreateWorker_Params; | 59 struct WorkerProcessMsg_CreateWorker_Params; |
60 | 60 |
61 namespace blink { | 61 namespace blink { |
62 namespace scheduler { | 62 namespace scheduler { |
63 class WebThreadBase; | 63 class WebThreadBase; |
64 } | 64 } |
65 class WebGamepads; | |
66 class WebMediaStreamCenter; | 65 class WebMediaStreamCenter; |
67 class WebMediaStreamCenterClient; | 66 class WebMediaStreamCenterClient; |
68 } | 67 } |
69 | 68 |
70 namespace base { | 69 namespace base { |
71 class SingleThreadTaskRunner; | 70 class SingleThreadTaskRunner; |
72 class Thread; | 71 class Thread; |
73 } | 72 } |
74 | 73 |
75 namespace cc { | 74 namespace cc { |
76 class BeginFrameSource; | 75 class BeginFrameSource; |
77 class CompositorFrameSink; | 76 class CompositorFrameSink; |
78 class SyntheticBeginFrameSource; | 77 class SyntheticBeginFrameSource; |
79 class TaskGraphRunner; | 78 class TaskGraphRunner; |
80 } | 79 } |
81 | 80 |
| 81 namespace device { |
| 82 class Gamepads; |
| 83 } |
| 84 |
82 namespace discardable_memory { | 85 namespace discardable_memory { |
83 class ClientDiscardableSharedMemoryManager; | 86 class ClientDiscardableSharedMemoryManager; |
84 } | 87 } |
85 | 88 |
86 namespace gpu { | 89 namespace gpu { |
87 class GpuChannelHost; | 90 class GpuChannelHost; |
88 } | 91 } |
89 | 92 |
90 namespace IPC { | 93 namespace IPC { |
91 class MessageFilter; | 94 class MessageFilter; |
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
454 std::set<std::string> custom_histograms_; | 457 std::set<std::string> custom_histograms_; |
455 | 458 |
456 DISALLOW_COPY_AND_ASSIGN(HistogramCustomizer); | 459 DISALLOW_COPY_AND_ASSIGN(HistogramCustomizer); |
457 }; | 460 }; |
458 | 461 |
459 HistogramCustomizer* histogram_customizer() { | 462 HistogramCustomizer* histogram_customizer() { |
460 return &histogram_customizer_; | 463 return &histogram_customizer_; |
461 } | 464 } |
462 | 465 |
463 // Retrieve current gamepad data. | 466 // Retrieve current gamepad data. |
464 void SampleGamepads(blink::WebGamepads* data); | 467 void SampleGamepads(device::Gamepads* data); |
465 | 468 |
466 // Called by a RenderWidget when it is created or destroyed. This | 469 // Called by a RenderWidget when it is created or destroyed. This |
467 // allows the process to know when there are no visible widgets. | 470 // allows the process to know when there are no visible widgets. |
468 void WidgetCreated(); | 471 void WidgetCreated(); |
469 // Note: A widget must not be hidden when it is destroyed - ensure that | 472 // Note: A widget must not be hidden when it is destroyed - ensure that |
470 // WidgetRestored is called before WidgetDestroyed for any hidden widget. | 473 // WidgetRestored is called before WidgetDestroyed for any hidden widget. |
471 void WidgetDestroyed(); | 474 void WidgetDestroyed(); |
472 void WidgetHidden(); | 475 void WidgetHidden(); |
473 void WidgetRestored(); | 476 void WidgetRestored(); |
474 | 477 |
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
790 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 793 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
791 }; | 794 }; |
792 | 795 |
793 #if defined(COMPILER_MSVC) | 796 #if defined(COMPILER_MSVC) |
794 #pragma warning(pop) | 797 #pragma warning(pop) |
795 #endif | 798 #endif |
796 | 799 |
797 } // namespace content | 800 } // namespace content |
798 | 801 |
799 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 802 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
OLD | NEW |