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 <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 // True if we are running layout tests. This currently disables forwarding | 185 // True if we are running layout tests. This currently disables forwarding |
186 // various status messages to the console, skips network error pages, and | 186 // various status messages to the console, skips network error pages, and |
187 // short circuits size update and focus events. | 187 // short circuits size update and focus events. |
188 bool layout_test_mode() const { | 188 bool layout_test_mode() const { |
189 return layout_test_mode_; | 189 return layout_test_mode_; |
190 } | 190 } |
191 void set_layout_test_mode(bool layout_test_mode) { | 191 void set_layout_test_mode(bool layout_test_mode) { |
192 layout_test_mode_ = layout_test_mode; | 192 layout_test_mode_ = layout_test_mode; |
193 } | 193 } |
194 | 194 |
| 195 RendererWebKitPlatformSupportImpl* webkit_platform_support() const { |
| 196 DCHECK(webkit_platform_support_); |
| 197 return webkit_platform_support_.get(); |
| 198 } |
| 199 |
195 IPC::ForwardingMessageFilter* compositor_output_surface_filter() const { | 200 IPC::ForwardingMessageFilter* compositor_output_surface_filter() const { |
196 return compositor_output_surface_filter_.get(); | 201 return compositor_output_surface_filter_.get(); |
197 } | 202 } |
198 | 203 |
199 InputHandlerManager* input_handler_manager() const { | 204 InputHandlerManager* input_handler_manager() const { |
200 return input_handler_manager_.get(); | 205 return input_handler_manager_.get(); |
201 } | 206 } |
202 | 207 |
203 // Will be NULL if threaded compositing has not been enabled. | 208 // Will be NULL if threaded compositing has not been enabled. |
204 scoped_refptr<base::MessageLoopProxy> compositor_message_loop_proxy() const { | 209 scoped_refptr<base::MessageLoopProxy> compositor_message_loop_proxy() const { |
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
574 bool is_distance_field_text_enabled_; | 579 bool is_distance_field_text_enabled_; |
575 bool is_zero_copy_enabled_; | 580 bool is_zero_copy_enabled_; |
576 bool is_one_copy_enabled_; | 581 bool is_one_copy_enabled_; |
577 | 582 |
578 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 583 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
579 }; | 584 }; |
580 | 585 |
581 } // namespace content | 586 } // namespace content |
582 | 587 |
583 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 588 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
OLD | NEW |