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

Side by Side Diff: cc/trees/layer_tree_host_client.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 unified diff | Download patch
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 CC_TREES_LAYER_TREE_HOST_CLIENT_H_ 5 #ifndef CC_TREES_LAYER_TREE_HOST_CLIENT_H_
6 #define CC_TREES_LAYER_TREE_HOST_CLIENT_H_ 6 #define CC_TREES_LAYER_TREE_HOST_CLIENT_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/time/time.h" 10 #include "base/time/time.h"
(...skipping 27 matching lines...) Expand all
38 // call LayerTreeHost::SetOutputSurface. If fallback is true, it should 38 // call LayerTreeHost::SetOutputSurface. If fallback is true, it should
39 // attempt to create an OutputSurface that is guaranteed to initialize 39 // attempt to create an OutputSurface that is guaranteed to initialize
40 // correctly. 40 // correctly.
41 virtual void RequestNewOutputSurface(bool fallback) = 0; 41 virtual void RequestNewOutputSurface(bool fallback) = 0;
42 virtual void DidInitializeOutputSurface() = 0; 42 virtual void DidInitializeOutputSurface() = 0;
43 virtual void WillCommit() = 0; 43 virtual void WillCommit() = 0;
44 virtual void DidCommit() = 0; 44 virtual void DidCommit() = 0;
45 virtual void DidCommitAndDrawFrame() = 0; 45 virtual void DidCommitAndDrawFrame() = 0;
46 virtual void DidCompleteSwapBuffers() = 0; 46 virtual void DidCompleteSwapBuffers() = 0;
47 47
48 // Called when page scale animation has completed.
49 virtual void DidCompletePageScaleAnimation() = 0;
50
48 // Requests that the client insert a rate limiting token in the shared main 51 // Requests that the client insert a rate limiting token in the shared main
49 // thread context's command stream that will block if the context gets too far 52 // thread context's command stream that will block if the context gets too far
50 // ahead of the compositor's command stream. Only needed if the tree contains 53 // ahead of the compositor's command stream. Only needed if the tree contains
51 // a TextureLayer that calls SetRateLimitContext(true). 54 // a TextureLayer that calls SetRateLimitContext(true).
52 virtual void RateLimitSharedMainThreadContext() {} 55 virtual void RateLimitSharedMainThreadContext() {}
53 56
54 // This hook is for testing. 57 // This hook is for testing.
55 virtual void DidFailToInitializeOutputSurface() {} 58 virtual void DidFailToInitializeOutputSurface() {}
56 59
57 protected: 60 protected:
58 virtual ~LayerTreeHostClient() {} 61 virtual ~LayerTreeHostClient() {}
59 }; 62 };
60 63
61 } // namespace cc 64 } // namespace cc
62 65
63 #endif // CC_TREES_LAYER_TREE_HOST_CLIENT_H_ 66 #endif // CC_TREES_LAYER_TREE_HOST_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698