Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(429)

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_aura.h

Issue 16730003: Aura: Support --enable-partial-swap with --composite-to-mailbox (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address sievers@s comments. Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 438 matching lines...) Expand 10 before | Expand all | Expand 10 after
449 449
450 // Converts |rect| from window coordinate to screen coordinate. 450 // Converts |rect| from window coordinate to screen coordinate.
451 gfx::Rect ConvertRectToScreen(const gfx::Rect& rect); 451 gfx::Rect ConvertRectToScreen(const gfx::Rect& rect);
452 452
453 // Converts |rect| from screen coordinate to window coordinate. 453 // Converts |rect| from screen coordinate to window coordinate.
454 gfx::Rect ConvertRectFromScreen(const gfx::Rect& rect); 454 gfx::Rect ConvertRectFromScreen(const gfx::Rect& rect);
455 455
456 typedef base::Callback<void(bool, const scoped_refptr<ui::Texture>&)> 456 typedef base::Callback<void(bool, const scoped_refptr<ui::Texture>&)>
457 BufferPresentedCallback; 457 BufferPresentedCallback;
458 458
459 // The common entry point for full buffer updates from renderer 459 // The common entry point for 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& surface_size,
462 const gfx::Rect& damage_rect,
462 float surface_scale_factor, 463 float surface_scale_factor,
463 const std::string& mailbox_name, 464 const std::string& mailbox_name,
464 const ui::LatencyInfo& latency_info, 465 const ui::LatencyInfo& latency_info,
465 const BufferPresentedCallback& ack_callback); 466 const BufferPresentedCallback& ack_callback);
466 467
467 bool SwapBuffersPrepare(const gfx::Rect& surface_rect, 468 bool SwapBuffersPrepare(const gfx::Rect& surface_rect,
468 float surface_scale_factor, 469 float surface_scale_factor,
469 const gfx::Rect& damage_rect, 470 const gfx::Rect& damage_rect,
470 const std::string& mailbox_name, 471 const std::string& mailbox_name,
471 const BufferPresentedCallback& ack_callback); 472 const BufferPresentedCallback& ack_callback);
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
680 yuv_readback_pipeline_; 681 yuv_readback_pipeline_;
681 682
682 TouchEditingClient* touch_editing_client_; 683 TouchEditingClient* touch_editing_client_;
683 684
684 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 685 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
685 }; 686 };
686 687
687 } // namespace content 688 } // namespace content
688 689
689 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 690 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698