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

Unified Diff: cc/trees/layer_tree_host.h

Issue 715733002: [Android] Show autofill popup after animation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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: cc/trees/layer_tree_host.h
diff --git a/cc/trees/layer_tree_host.h b/cc/trees/layer_tree_host.h
index 7820cc24a29764bb8eb02ffc65cdd352d7a9757b..582778c5416159dd77255fb53b01cfaa73a2c614 100644
--- a/cc/trees/layer_tree_host.h
+++ b/cc/trees/layer_tree_host.h
@@ -133,6 +133,10 @@ class CC_EXPORT LayerTreeHost {
void DeleteContentsTexturesOnImplThread(ResourceProvider* resource_provider);
bool UpdateLayers(ResourceUpdateQueue* queue);
+ // Called when the compositor completed page scale animation, but before a
+ // commit.
+ void DidCompletePageScaleAnimationBeforeCommit();
+
LayerTreeHostClient* client() { return client_; }
const base::WeakPtr<InputHandler>& GetInputHandler() {
return input_handler_weak_ptr_;
@@ -476,6 +480,9 @@ class CC_EXPORT LayerTreeHost {
uint32_t surface_id_namespace_;
uint32_t next_surface_sequence_;
+ // If set, then page scale animation has completed, but not committed yet.
aelias_OOO_until_Jul13 2014/11/22 03:38:11 A page scale animation isn't explicitly involved i
please use gerrit instead 2014/11/24 20:22:31 Done.
+ bool did_complete_scale_animation_before_commit_;
aelias_OOO_until_Jul13 2014/11/22 03:38:11 Please move this next to "pending_page_scale_anima
please use gerrit instead 2014/11/24 20:22:31 Done.
+
DISALLOW_COPY_AND_ASSIGN(LayerTreeHost);
};

Powered by Google App Engine
This is Rietveld 408576698