| 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 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 391 const GPUCreateCommandBufferConfig& init_params, | 391 const GPUCreateCommandBufferConfig& init_params, |
| 392 int32 route_id) OVERRIDE; | 392 int32 route_id) OVERRIDE; |
| 393 virtual void CreateImage( | 393 virtual void CreateImage( |
| 394 gfx::PluginWindowHandle window, | 394 gfx::PluginWindowHandle window, |
| 395 int32 image_id, | 395 int32 image_id, |
| 396 const CreateImageCallback& callback) OVERRIDE; | 396 const CreateImageCallback& callback) OVERRIDE; |
| 397 virtual void DeleteImage(int32 image_id, int32 sync_point) OVERRIDE; | 397 virtual void DeleteImage(int32 image_id, int32 sync_point) OVERRIDE; |
| 398 virtual scoped_ptr<gfx::GpuMemoryBuffer> AllocateGpuMemoryBuffer( | 398 virtual scoped_ptr<gfx::GpuMemoryBuffer> AllocateGpuMemoryBuffer( |
| 399 size_t width, | 399 size_t width, |
| 400 size_t height, | 400 size_t height, |
| 401 unsigned internalformat) OVERRIDE; | 401 unsigned internalformat, |
| 402 gfx::GpuMemoryBuffer::Usage usage) OVERRIDE; |
| 402 | 403 |
| 403 // mojo::ShellClient implementation: | 404 // mojo::ShellClient implementation: |
| 404 virtual void AcceptConnection( | 405 virtual void AcceptConnection( |
| 405 const mojo::String& service_name, | 406 const mojo::String& service_name, |
| 406 mojo::ScopedMessagePipeHandle message_pipe) OVERRIDE; | 407 mojo::ScopedMessagePipeHandle message_pipe) OVERRIDE; |
| 407 | 408 |
| 408 void Init(); | 409 void Init(); |
| 409 | 410 |
| 410 void OnSetZoomLevelForCurrentURL(const std::string& scheme, | 411 void OnSetZoomLevelForCurrentURL(const std::string& scheme, |
| 411 const std::string& host, | 412 const std::string& host, |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 544 bool is_low_res_tiling_enabled_; | 545 bool is_low_res_tiling_enabled_; |
| 545 bool is_lcd_text_enabled_; | 546 bool is_lcd_text_enabled_; |
| 546 bool is_map_image_enabled_; | 547 bool is_map_image_enabled_; |
| 547 | 548 |
| 548 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 549 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
| 549 }; | 550 }; |
| 550 | 551 |
| 551 } // namespace content | 552 } // namespace content |
| 552 | 553 |
| 553 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 554 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
| OLD | NEW |