| 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_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 457 BufferPresentedCallback; | 457 BufferPresentedCallback; |
| 458 | 458 |
| 459 // The common entry point for full buffer updates from renderer | 459 // The common entry point for full buffer updates from renderer |
| 460 // and GPU process. | 460 // and GPU process. |
| 461 void BuffersSwapped(const gfx::Size& size, | 461 void BuffersSwapped(const gfx::Size& size, |
| 462 float surface_scale_factor, | 462 float surface_scale_factor, |
| 463 const std::string& mailbox_name, | 463 const std::string& mailbox_name, |
| 464 const ui::LatencyInfo& latency_info, | 464 const ui::LatencyInfo& latency_info, |
| 465 const BufferPresentedCallback& ack_callback); | 465 const BufferPresentedCallback& ack_callback); |
| 466 | 466 |
| 467 // The common entry point for partial buffer updates from renderer |
| 468 // and GPU process. |
| 469 void SubBufferPosted(const gfx::Size& size, |
| 470 float surface_scale_factor, |
| 471 const std::string& mailbox_name, |
| 472 const ui::LatencyInfo& latency_info, |
| 473 const gfx::Rect& damage_rect, |
| 474 const BufferPresentedCallback& ack_callback); |
| 475 |
| 467 bool SwapBuffersPrepare(const gfx::Rect& surface_rect, | 476 bool SwapBuffersPrepare(const gfx::Rect& surface_rect, |
| 468 float surface_scale_factor, | 477 float surface_scale_factor, |
| 469 const gfx::Rect& damage_rect, | 478 const gfx::Rect& damage_rect, |
| 470 const std::string& mailbox_name, | 479 const std::string& mailbox_name, |
| 471 const BufferPresentedCallback& ack_callback); | 480 const BufferPresentedCallback& ack_callback); |
| 472 | 481 |
| 473 void SwapBuffersCompleted( | 482 void SwapBuffersCompleted( |
| 474 const BufferPresentedCallback& ack_callback, | 483 const BufferPresentedCallback& ack_callback, |
| 475 const scoped_refptr<ui::Texture>& texture_to_return); | 484 const scoped_refptr<ui::Texture>& texture_to_return); |
| 476 | 485 |
| (...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 680 yuv_readback_pipeline_; | 689 yuv_readback_pipeline_; |
| 681 | 690 |
| 682 TouchEditingClient* touch_editing_client_; | 691 TouchEditingClient* touch_editing_client_; |
| 683 | 692 |
| 684 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 693 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
| 685 }; | 694 }; |
| 686 | 695 |
| 687 } // namespace content | 696 } // namespace content |
| 688 | 697 |
| 689 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 698 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
| OLD | NEW |