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

Unified Diff: android_webview/browser/child_frame.h

Issue 2036023002: Rewire Android WebView's compositor changed signal. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix browse_view_renderer construction and rebase Created 4 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 side-by-side diff with in-line comments
Download patch
Index: android_webview/browser/child_frame.h
diff --git a/android_webview/browser/child_frame.h b/android_webview/browser/child_frame.h
index 68c4bd5bb278a4b51e8f215671128afab63f88d9..c6964ca837eea310798bd69acbc8c7160a32eabb 100644
--- a/android_webview/browser/child_frame.h
+++ b/android_webview/browser/child_frame.h
@@ -7,6 +7,7 @@
#include <memory>
+#include "android_webview/browser/compositor_id.h"
#include "base/macros.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/geometry/size.h"
@@ -22,7 +23,7 @@ class ChildFrame {
public:
ChildFrame(uint32_t output_surface_id,
std::unique_ptr<cc::CompositorFrame> frame,
- uint32_t compositor_id,
+ CompositorID compositor_id,
boliu 2016/06/13 15:30:44 const &
hush (inactive) 2016/06/14 23:48:28 Done.
bool viewport_rect_for_tile_priority_empty,
const gfx::Transform& transform_for_tile_priority,
bool offscreen_pre_raster,
@@ -32,7 +33,7 @@ class ChildFrame {
const uint32_t output_surface_id;
std::unique_ptr<cc::CompositorFrame> frame;
// The id of the compositor this |frame| comes from.
- const uint32_t compositor_id;
+ const CompositorID compositor_id;
const bool viewport_rect_for_tile_priority_empty;
const gfx::Transform transform_for_tile_priority;
const bool offscreen_pre_raster;

Powered by Google App Engine
This is Rietveld 408576698