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 404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
415 virtual void DeleteImage(int32 image_id, int32 sync_point) OVERRIDE; | 415 virtual void DeleteImage(int32 image_id, int32 sync_point) OVERRIDE; |
416 virtual scoped_ptr<gfx::GpuMemoryBuffer> AllocateGpuMemoryBuffer( | 416 virtual scoped_ptr<gfx::GpuMemoryBuffer> AllocateGpuMemoryBuffer( |
417 size_t width, | 417 size_t width, |
418 size_t height, | 418 size_t height, |
419 unsigned internalformat, | 419 unsigned internalformat, |
420 unsigned usage) OVERRIDE; | 420 unsigned usage) OVERRIDE; |
421 | 421 |
422 // mojo::ServiceProvider implementation: | 422 // mojo::ServiceProvider implementation: |
423 virtual void ConnectToService( | 423 virtual void ConnectToService( |
424 const mojo::String& service_name, | 424 const mojo::String& service_name, |
| 425 const mojo::String& name, |
425 mojo::ScopedMessagePipeHandle message_pipe) OVERRIDE; | 426 mojo::ScopedMessagePipeHandle message_pipe) OVERRIDE; |
426 | 427 |
427 void Init(); | 428 void Init(); |
428 | 429 |
429 void OnSetZoomLevelForCurrentURL(const std::string& scheme, | 430 void OnSetZoomLevelForCurrentURL(const std::string& scheme, |
430 const std::string& host, | 431 const std::string& host, |
431 double zoom_level); | 432 double zoom_level); |
432 void OnCreateNewView(const ViewMsg_New_Params& params); | 433 void OnCreateNewView(const ViewMsg_New_Params& params); |
433 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); | 434 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); |
434 void OnPurgePluginListCache(bool reload_pages); | 435 void OnPurgePluginListCache(bool reload_pages); |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
566 bool is_distance_field_text_enabled_; | 567 bool is_distance_field_text_enabled_; |
567 bool is_zero_copy_enabled_; | 568 bool is_zero_copy_enabled_; |
568 bool is_one_copy_enabled_; | 569 bool is_one_copy_enabled_; |
569 | 570 |
570 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 571 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
571 }; | 572 }; |
572 | 573 |
573 } // namespace content | 574 } // namespace content |
574 | 575 |
575 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 576 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
OLD | NEW |