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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 ScheduledActionDrawAndSwapResult ScheduledActionDrawAndSwapInternal( | 170 ScheduledActionDrawAndSwapResult ScheduledActionDrawAndSwapInternal( |
171 bool forced_draw); | 171 bool forced_draw); |
172 void ForceSerializeOnSwapBuffersOnImplThread(CompletionEvent* completion); | 172 void ForceSerializeOnSwapBuffersOnImplThread(CompletionEvent* completion); |
173 void CheckOutputSurfaceStatusOnImplThread(); | 173 void CheckOutputSurfaceStatusOnImplThread(); |
174 void CommitPendingOnImplThreadForTesting(CommitPendingRequest* request); | 174 void CommitPendingOnImplThreadForTesting(CommitPendingRequest* request); |
175 void SchedulerStateAsValueOnImplThreadForTesting( | 175 void SchedulerStateAsValueOnImplThreadForTesting( |
176 SchedulerStateRequest* request); | 176 SchedulerStateRequest* request); |
177 void AsValueOnImplThread(CompletionEvent* completion, | 177 void AsValueOnImplThread(CompletionEvent* completion, |
178 base::DictionaryValue* state) const; | 178 base::DictionaryValue* state) const; |
179 void RenewTreePriorityOnImplThread(); | 179 void RenewTreePriorityOnImplThread(); |
180 void DidSwapUseIncompleteTileOnImplThread(); | 180 void SetSwapUsedIncompleteTileOnImplThread(bool used_incomplete_tile); |
181 void StartScrollbarAnimationOnImplThread(); | 181 void StartScrollbarAnimationOnImplThread(); |
182 void MainThreadHasStoppedFlingingOnImplThread(); | 182 void MainThreadHasStoppedFlingingOnImplThread(); |
183 void SetInputThrottledUntilCommitOnImplThread(bool is_throttled); | 183 void SetInputThrottledUntilCommitOnImplThread(bool is_throttled); |
184 | 184 |
185 // Accessed on main thread only. | 185 // Accessed on main thread only. |
186 | 186 |
187 // Set only when SetNeedsAnimate is called. | 187 // Set only when SetNeedsAnimate is called. |
188 bool animate_requested_; | 188 bool animate_requested_; |
189 // Set only when SetNeedsCommit is called. | 189 // Set only when SetNeedsCommit is called. |
190 bool commit_requested_; | 190 bool commit_requested_; |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 // activation_duration_history_. | 266 // activation_duration_history_. |
267 base::TimeTicks begin_frame_sent_to_main_thread_time_; | 267 base::TimeTicks begin_frame_sent_to_main_thread_time_; |
268 base::TimeTicks commit_complete_time_; | 268 base::TimeTicks commit_complete_time_; |
269 | 269 |
270 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); | 270 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); |
271 }; | 271 }; |
272 | 272 |
273 } // namespace cc | 273 } // namespace cc |
274 | 274 |
275 #endif // CC_TREES_THREAD_PROXY_H_ | 275 #endif // CC_TREES_THREAD_PROXY_H_ |
OLD | NEW |