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

Side by Side 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 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
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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 CC_TREES_LAYER_TREE_HOST_H_ 5 #ifndef CC_TREES_LAYER_TREE_HOST_H_
6 #define CC_TREES_LAYER_TREE_HOST_H_ 6 #define CC_TREES_LAYER_TREE_HOST_H_
7 7
8 #include <limits> 8 #include <limits>
9 #include <list> 9 #include <list>
10 #include <set> 10 #include <set>
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 virtual scoped_ptr<LayerTreeHostImpl> CreateLayerTreeHostImpl( 126 virtual scoped_ptr<LayerTreeHostImpl> CreateLayerTreeHostImpl(
127 LayerTreeHostImplClient* client); 127 LayerTreeHostImplClient* client);
128 void DidLoseOutputSurface(); 128 void DidLoseOutputSurface();
129 bool output_surface_lost() const { return output_surface_lost_; } 129 bool output_surface_lost() const { return output_surface_lost_; }
130 virtual void OnCreateAndInitializeOutputSurfaceAttempted(bool success); 130 virtual void OnCreateAndInitializeOutputSurfaceAttempted(bool success);
131 void DidCommitAndDrawFrame() { client_->DidCommitAndDrawFrame(); } 131 void DidCommitAndDrawFrame() { client_->DidCommitAndDrawFrame(); }
132 void DidCompleteSwapBuffers() { client_->DidCompleteSwapBuffers(); } 132 void DidCompleteSwapBuffers() { client_->DidCompleteSwapBuffers(); }
133 void DeleteContentsTexturesOnImplThread(ResourceProvider* resource_provider); 133 void DeleteContentsTexturesOnImplThread(ResourceProvider* resource_provider);
134 bool UpdateLayers(ResourceUpdateQueue* queue); 134 bool UpdateLayers(ResourceUpdateQueue* queue);
135 135
136 // Called when the compositor completed page scale animation, but before a
137 // commit.
138 void DidCompletePageScaleAnimationBeforeCommit();
139
136 LayerTreeHostClient* client() { return client_; } 140 LayerTreeHostClient* client() { return client_; }
137 const base::WeakPtr<InputHandler>& GetInputHandler() { 141 const base::WeakPtr<InputHandler>& GetInputHandler() {
138 return input_handler_weak_ptr_; 142 return input_handler_weak_ptr_;
139 } 143 }
140 144
141 void NotifyInputThrottledUntilCommit(); 145 void NotifyInputThrottledUntilCommit();
142 146
143 void Composite(base::TimeTicks frame_begin_time); 147 void Composite(base::TimeTicks frame_begin_time);
144 148
145 void FinishAllRendering(); 149 void FinishAllRendering();
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
469 473
470 SharedBitmapManager* shared_bitmap_manager_; 474 SharedBitmapManager* shared_bitmap_manager_;
471 gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager_; 475 gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager_;
472 476
473 ScopedPtrVector<SwapPromise> swap_promise_list_; 477 ScopedPtrVector<SwapPromise> swap_promise_list_;
474 std::set<SwapPromiseMonitor*> swap_promise_monitor_; 478 std::set<SwapPromiseMonitor*> swap_promise_monitor_;
475 479
476 uint32_t surface_id_namespace_; 480 uint32_t surface_id_namespace_;
477 uint32_t next_surface_sequence_; 481 uint32_t next_surface_sequence_;
478 482
483 // 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.
484 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.
485
479 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); 486 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost);
480 }; 487 };
481 488
482 } // namespace cc 489 } // namespace cc
483 490
484 #endif // CC_TREES_LAYER_TREE_HOST_H_ 491 #endif // CC_TREES_LAYER_TREE_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698