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 398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
409 gfx::PluginWindowHandle window, | 409 gfx::PluginWindowHandle window, |
410 int32 image_id, | 410 int32 image_id, |
411 const CreateImageCallback& callback) OVERRIDE; | 411 const CreateImageCallback& callback) OVERRIDE; |
412 virtual void DeleteImage(int32 image_id, int32 sync_point) OVERRIDE; | 412 virtual void DeleteImage(int32 image_id, int32 sync_point) OVERRIDE; |
413 virtual scoped_ptr<gfx::GpuMemoryBuffer> AllocateGpuMemoryBuffer( | 413 virtual scoped_ptr<gfx::GpuMemoryBuffer> AllocateGpuMemoryBuffer( |
414 size_t width, | 414 size_t width, |
415 size_t height, | 415 size_t height, |
416 unsigned internalformat, | 416 unsigned internalformat, |
417 unsigned usage) OVERRIDE; | 417 unsigned usage) OVERRIDE; |
418 | 418 |
419 // mojo::ShellClient implementation: | 419 // mojo::ServiceProvider implementation: |
420 virtual void AcceptConnection( | 420 virtual void ConnectToService( |
421 const mojo::String& service_name, | 421 const mojo::String& service_name, |
422 mojo::ScopedMessagePipeHandle message_pipe) OVERRIDE; | 422 mojo::ScopedMessagePipeHandle message_pipe) OVERRIDE; |
423 | 423 |
424 void Init(); | 424 void Init(); |
425 | 425 |
426 void OnSetZoomLevelForCurrentURL(const std::string& scheme, | 426 void OnSetZoomLevelForCurrentURL(const std::string& scheme, |
427 const std::string& host, | 427 const std::string& host, |
428 double zoom_level); | 428 double zoom_level); |
429 void OnCreateNewView(const ViewMsg_New_Params& params); | 429 void OnCreateNewView(const ViewMsg_New_Params& params); |
430 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); | 430 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
562 bool is_distance_field_text_enabled_; | 562 bool is_distance_field_text_enabled_; |
563 bool is_zero_copy_enabled_; | 563 bool is_zero_copy_enabled_; |
564 bool is_one_copy_enabled_; | 564 bool is_one_copy_enabled_; |
565 | 565 |
566 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); | 566 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
567 }; | 567 }; |
568 | 568 |
569 } // namespace content | 569 } // namespace content |
570 | 570 |
571 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ | 571 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ |
OLD | NEW |