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 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 bool is_lcd_text_enabled() const { return is_lcd_text_enabled_; } | 239 bool is_lcd_text_enabled() const { return is_lcd_text_enabled_; } |
240 | 240 |
241 bool is_distance_field_text_enabled() const { | 241 bool is_distance_field_text_enabled() const { |
242 return is_distance_field_text_enabled_; | 242 return is_distance_field_text_enabled_; |
243 } | 243 } |
244 | 244 |
245 bool is_zero_copy_enabled() const { return is_zero_copy_enabled_; } | 245 bool is_zero_copy_enabled() const { return is_zero_copy_enabled_; } |
246 | 246 |
247 bool is_one_copy_enabled() const { return is_one_copy_enabled_; } | 247 bool is_one_copy_enabled() const { return is_one_copy_enabled_; } |
248 | 248 |
| 249 bool use_image_external() const { return use_image_external_; } |
| 250 |
249 AppCacheDispatcher* appcache_dispatcher() const { | 251 AppCacheDispatcher* appcache_dispatcher() const { |
250 return appcache_dispatcher_.get(); | 252 return appcache_dispatcher_.get(); |
251 } | 253 } |
252 | 254 |
253 DomStorageDispatcher* dom_storage_dispatcher() const { | 255 DomStorageDispatcher* dom_storage_dispatcher() const { |
254 return dom_storage_dispatcher_.get(); | 256 return dom_storage_dispatcher_.get(); |
255 } | 257 } |
256 | 258 |
257 EmbeddedWorkerDispatcher* embedded_worker_dispatcher() const { | 259 EmbeddedWorkerDispatcher* embedded_worker_dispatcher() const { |
258 return embedded_worker_dispatcher_.get(); | 260 return embedded_worker_dispatcher_.get(); |
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
574 main_thread_compositor_task_runner_; | 576 main_thread_compositor_task_runner_; |
575 | 577 |
576 // Compositor settings | 578 // Compositor settings |
577 bool is_gpu_rasterization_enabled_; | 579 bool is_gpu_rasterization_enabled_; |
578 bool is_gpu_rasterization_forced_; | 580 bool is_gpu_rasterization_forced_; |
579 bool is_impl_side_painting_enabled_; | 581 bool is_impl_side_painting_enabled_; |
580 bool is_lcd_text_enabled_; | 582 bool is_lcd_text_enabled_; |
581 bool is_distance_field_text_enabled_; | 583 bool is_distance_field_text_enabled_; |
582 bool is_zero_copy_enabled_; | 584 bool is_zero_copy_enabled_; |
583 bool is_one_copy_enabled_; | 585 bool is_one_copy_enabled_; |
| 586 bool use_image_external_; |
584 | 587 |
585 std::map<int, mojo::MessagePipeHandle> pending_render_frame_connects_; | 588 std::map<int, mojo::MessagePipeHandle> pending_render_frame_connects_; |
586 | 589 |
587 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 590 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
588 }; | 591 }; |
589 | 592 |
590 } // namespace content | 593 } // namespace content |
591 | 594 |
592 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 595 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
OLD | NEW |