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

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

Issue 15842013: Plumb LatencyInfo through aura. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 441 matching lines...) Expand 10 before | Expand all | Expand 10 after
452 gfx::Rect ConvertRectFromScreen(const gfx::Rect& rect); 452 gfx::Rect ConvertRectFromScreen(const gfx::Rect& rect);
453 453
454 typedef base::Callback<void(bool, const scoped_refptr<ui::Texture>&)> 454 typedef base::Callback<void(bool, const scoped_refptr<ui::Texture>&)>
455 BufferPresentedCallback; 455 BufferPresentedCallback;
456 456
457 // The common entry point for full buffer updates from renderer 457 // The common entry point for full buffer updates from renderer
458 // and GPU process. 458 // and GPU process.
459 void BuffersSwapped(const gfx::Size& size, 459 void BuffersSwapped(const gfx::Size& size,
460 float surface_scale_factor, 460 float surface_scale_factor,
461 const std::string& mailbox_name, 461 const std::string& mailbox_name,
462 const ui::LatencyInfo& latency_info,
462 const BufferPresentedCallback& ack_callback); 463 const BufferPresentedCallback& ack_callback);
463 464
464 bool SwapBuffersPrepare(const gfx::Rect& surface_rect, 465 bool SwapBuffersPrepare(const gfx::Rect& surface_rect,
465 float surface_scale_factor, 466 float surface_scale_factor,
466 const gfx::Rect& damage_rect, 467 const gfx::Rect& damage_rect,
467 const std::string& mailbox_name, 468 const std::string& mailbox_name,
468 const BufferPresentedCallback& ack_callback); 469 const BufferPresentedCallback& ack_callback);
469 470
470 void SwapBuffersCompleted( 471 void SwapBuffersCompleted(
471 const BufferPresentedCallback& ack_callback, 472 const BufferPresentedCallback& ack_callback,
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
671 scoped_ptr<RenderWidgetHostViewFrameSubscriber> frame_subscriber_; 672 scoped_ptr<RenderWidgetHostViewFrameSubscriber> frame_subscriber_;
672 673
673 TouchEditingClient* touch_editing_client_; 674 TouchEditingClient* touch_editing_client_;
674 675
675 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 676 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
676 }; 677 };
677 678
678 } // namespace content 679 } // namespace content
679 680
680 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 681 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698