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 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
459 std::set<std::string> custom_histograms_; | 462 std::set<std::string> custom_histograms_; |
460 | 463 |
461 DISALLOW_COPY_AND_ASSIGN(HistogramCustomizer); | 464 DISALLOW_COPY_AND_ASSIGN(HistogramCustomizer); |
462 }; | 465 }; |
463 | 466 |
464 HistogramCustomizer* histogram_customizer() { | 467 HistogramCustomizer* histogram_customizer() { |
465 return &histogram_customizer_; | 468 return &histogram_customizer_; |
466 } | 469 } |
467 | 470 |
468 // Retrieve current gamepad data. | 471 // Retrieve current gamepad data. |
469 void SampleGamepads(blink::WebGamepads* data); | 472 void SampleGamepads(device::Gamepads* data); |
470 | 473 |
471 // Called by a RenderWidget when it is created or destroyed. This | 474 // Called by a RenderWidget when it is created or destroyed. This |
472 // allows the process to know when there are no visible widgets. | 475 // allows the process to know when there are no visible widgets. |
473 void WidgetCreated(); | 476 void WidgetCreated(); |
474 // Note: A widget must not be hidden when it is destroyed - ensure that | 477 // Note: A widget must not be hidden when it is destroyed - ensure that |
475 // WidgetRestored is called before WidgetDestroyed for any hidden widget. | 478 // WidgetRestored is called before WidgetDestroyed for any hidden widget. |
476 void WidgetDestroyed(); | 479 void WidgetDestroyed(); |
477 void WidgetHidden(); | 480 void WidgetHidden(); |
478 void WidgetRestored(); | 481 void WidgetRestored(); |
479 | 482 |
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
796 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 799 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
797 }; | 800 }; |
798 | 801 |
799 #if defined(COMPILER_MSVC) | 802 #if defined(COMPILER_MSVC) |
800 #pragma warning(pop) | 803 #pragma warning(pop) |
801 #endif | 804 #endif |
802 | 805 |
803 } // namespace content | 806 } // namespace content |
804 | 807 |
805 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 808 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
OLD | NEW |