OLD | NEW |
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_THREAD_PROXY_H_ | 5 #ifndef CC_TREES_THREAD_PROXY_H_ |
6 #define CC_TREES_THREAD_PROXY_H_ | 6 #define CC_TREES_THREAD_PROXY_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 bool swap_requested, | 173 bool swap_requested, |
174 bool readback_requested); | 174 bool readback_requested); |
175 void ForceSerializeOnSwapBuffersOnImplThread(CompletionEvent* completion); | 175 void ForceSerializeOnSwapBuffersOnImplThread(CompletionEvent* completion); |
176 void CheckOutputSurfaceStatusOnImplThread(); | 176 void CheckOutputSurfaceStatusOnImplThread(); |
177 void CommitPendingOnImplThreadForTesting(CommitPendingRequest* request); | 177 void CommitPendingOnImplThreadForTesting(CommitPendingRequest* request); |
178 void SchedulerStateAsValueOnImplThreadForTesting( | 178 void SchedulerStateAsValueOnImplThreadForTesting( |
179 SchedulerStateRequest* request); | 179 SchedulerStateRequest* request); |
180 void AsValueOnImplThread(CompletionEvent* completion, | 180 void AsValueOnImplThread(CompletionEvent* completion, |
181 base::DictionaryValue* state) const; | 181 base::DictionaryValue* state) const; |
182 void RenewTreePriorityOnImplThread(); | 182 void RenewTreePriorityOnImplThread(); |
183 void DidSwapUseIncompleteTileOnImplThread(); | 183 void SetSwapUsedIncompleteTileOnImplThread(bool used_incomplete_tile); |
184 void StartScrollbarAnimationOnImplThread(); | 184 void StartScrollbarAnimationOnImplThread(); |
185 void MainThreadHasStoppedFlingingOnImplThread(); | 185 void MainThreadHasStoppedFlingingOnImplThread(); |
186 void SetInputThrottledUntilCommitOnImplThread(bool is_throttled); | 186 void SetInputThrottledUntilCommitOnImplThread(bool is_throttled); |
187 | 187 |
188 // Accessed on main thread only. | 188 // Accessed on main thread only. |
189 | 189 |
190 // Set only when SetNeedsAnimate is called. | 190 // Set only when SetNeedsAnimate is called. |
191 bool animate_requested_; | 191 bool animate_requested_; |
192 // Set only when SetNeedsCommit is called. | 192 // Set only when SetNeedsCommit is called. |
193 bool commit_requested_; | 193 bool commit_requested_; |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
269 // activation_duration_history_. | 269 // activation_duration_history_. |
270 base::TimeTicks begin_frame_sent_to_main_thread_time_; | 270 base::TimeTicks begin_frame_sent_to_main_thread_time_; |
271 base::TimeTicks commit_complete_time_; | 271 base::TimeTicks commit_complete_time_; |
272 | 272 |
273 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); | 273 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); |
274 }; | 274 }; |
275 | 275 |
276 } // namespace cc | 276 } // namespace cc |
277 | 277 |
278 #endif // CC_TREES_THREAD_PROXY_H_ | 278 #endif // CC_TREES_THREAD_PROXY_H_ |
OLD | NEW |