| 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 "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
| 10 #include "base/time.h" | 10 #include "base/time.h" |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 void RecreateOutputSurfaceOnImplThread( | 168 void RecreateOutputSurfaceOnImplThread( |
| 169 CompletionEvent* completion, | 169 CompletionEvent* completion, |
| 170 scoped_ptr<OutputSurface> output_surface, | 170 scoped_ptr<OutputSurface> output_surface, |
| 171 scoped_refptr<cc::ContextProvider> offscreen_context_provider, | 171 scoped_refptr<cc::ContextProvider> offscreen_context_provider, |
| 172 bool* recreate_succeeded, | 172 bool* recreate_succeeded, |
| 173 RendererCapabilities* capabilities); | 173 RendererCapabilities* capabilities); |
| 174 ScheduledActionDrawAndSwapResult ScheduledActionDrawAndSwapInternal( | 174 ScheduledActionDrawAndSwapResult ScheduledActionDrawAndSwapInternal( |
| 175 bool forced_draw); | 175 bool forced_draw); |
| 176 void ForceSerializeOnSwapBuffersOnImplThread(CompletionEvent* completion); | 176 void ForceSerializeOnSwapBuffersOnImplThread(CompletionEvent* completion); |
| 177 void SetNeedsForcedCommitOnImplThread(); | 177 void SetNeedsForcedCommitOnImplThread(); |
| 178 void SetAnimateRequestedOnImplThread(); |
| 178 void CheckOutputSurfaceStatusOnImplThread(); | 179 void CheckOutputSurfaceStatusOnImplThread(); |
| 179 void CommitPendingOnImplThreadForTesting(CommitPendingRequest* request); | 180 void CommitPendingOnImplThreadForTesting(CommitPendingRequest* request); |
| 180 void CapturePictureOnImplThread(CompletionEvent* completion, | 181 void CapturePictureOnImplThread(CompletionEvent* completion, |
| 181 skia::RefPtr<SkPicture>* picture); | 182 skia::RefPtr<SkPicture>* picture); |
| 182 void AsValueOnImplThread(CompletionEvent* completion, | 183 void AsValueOnImplThread(CompletionEvent* completion, |
| 183 base::DictionaryValue* state) const; | 184 base::DictionaryValue* state) const; |
| 184 void RenewTreePriorityOnImplThread(); | 185 void RenewTreePriorityOnImplThread(); |
| 185 void DidSwapUseIncompleteTileOnImplThread(); | 186 void DidSwapUseIncompleteTileOnImplThread(); |
| 186 void StartScrollbarAnimationOnImplThread(); | 187 void StartScrollbarAnimationOnImplThread(); |
| 187 | 188 |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 256 | 257 |
| 257 base::TimeTicks smoothness_takes_priority_expiration_time_; | 258 base::TimeTicks smoothness_takes_priority_expiration_time_; |
| 258 bool renew_tree_priority_on_impl_thread_pending_; | 259 bool renew_tree_priority_on_impl_thread_pending_; |
| 259 | 260 |
| 260 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); | 261 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); |
| 261 }; | 262 }; |
| 262 | 263 |
| 263 } // namespace cc | 264 } // namespace cc |
| 264 | 265 |
| 265 #endif // CC_TREES_THREAD_PROXY_H_ | 266 #endif // CC_TREES_THREAD_PROXY_H_ |
| OLD | NEW |