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

Side by Side Diff: cc/trees/thread_proxy.h

Issue 879913002: mechanical rename of base::debug -> base::trace_event for /cc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_trace_part3
Patch Set: Edited a comment Created 5 years, 10 months 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
« no previous file with comments | « cc/trees/single_thread_proxy.cc ('k') | cc/trees/thread_proxy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 void SetDeferCommits(bool defer_commits) override; 167 void SetDeferCommits(bool defer_commits) override;
168 bool CommitRequested() const override; 168 bool CommitRequested() const override;
169 bool BeginMainFrameRequested() const override; 169 bool BeginMainFrameRequested() const override;
170 void MainThreadHasStoppedFlinging() override; 170 void MainThreadHasStoppedFlinging() override;
171 void Start() override; 171 void Start() override;
172 void Stop() override; 172 void Stop() override;
173 size_t MaxPartialTextureUpdates() const override; 173 size_t MaxPartialTextureUpdates() const override;
174 void ForceSerializeOnSwapBuffers() override; 174 void ForceSerializeOnSwapBuffers() override;
175 bool SupportsImplScrolling() const override; 175 bool SupportsImplScrolling() const override;
176 void SetDebugState(const LayerTreeDebugState& debug_state) override; 176 void SetDebugState(const LayerTreeDebugState& debug_state) override;
177 void AsValueInto(base::debug::TracedValue* value) const override; 177 void AsValueInto(base::trace_event::TracedValue* value) const override;
178 bool MainFrameWillHappenForTesting() override; 178 bool MainFrameWillHappenForTesting() override;
179 void SetChildrenNeedBeginFrames(bool children_need_begin_frames) override; 179 void SetChildrenNeedBeginFrames(bool children_need_begin_frames) override;
180 180
181 // LayerTreeHostImplClient implementation 181 // LayerTreeHostImplClient implementation
182 void UpdateRendererCapabilitiesOnImplThread() override; 182 void UpdateRendererCapabilitiesOnImplThread() override;
183 void DidLoseOutputSurfaceOnImplThread() override; 183 void DidLoseOutputSurfaceOnImplThread() override;
184 void CommitVSyncParameters(base::TimeTicks timebase, 184 void CommitVSyncParameters(base::TimeTicks timebase,
185 base::TimeDelta interval) override; 185 base::TimeDelta interval) override;
186 void SetEstimatedParentDrawTime(base::TimeDelta draw_time) override; 186 void SetEstimatedParentDrawTime(base::TimeDelta draw_time) override;
187 void SetMaxSwapsPendingOnImplThread(int max) override; 187 void SetMaxSwapsPendingOnImplThread(int max) override;
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 void DeleteContentsTexturesOnImplThread(CompletionEvent* completion); 270 void DeleteContentsTexturesOnImplThread(CompletionEvent* completion);
271 void InitializeOutputSurfaceOnImplThread( 271 void InitializeOutputSurfaceOnImplThread(
272 scoped_ptr<OutputSurface> output_surface); 272 scoped_ptr<OutputSurface> output_surface);
273 void FinishGLOnImplThread(CompletionEvent* completion); 273 void FinishGLOnImplThread(CompletionEvent* completion);
274 void LayerTreeHostClosedOnImplThread(CompletionEvent* completion); 274 void LayerTreeHostClosedOnImplThread(CompletionEvent* completion);
275 DrawResult DrawSwapInternal(bool forced_draw); 275 DrawResult DrawSwapInternal(bool forced_draw);
276 void ForceSerializeOnSwapBuffersOnImplThread(CompletionEvent* completion); 276 void ForceSerializeOnSwapBuffersOnImplThread(CompletionEvent* completion);
277 void MainFrameWillHappenOnImplThreadForTesting(CompletionEvent* completion, 277 void MainFrameWillHappenOnImplThreadForTesting(CompletionEvent* completion,
278 bool* main_frame_will_happen); 278 bool* main_frame_will_happen);
279 void AsValueOnImplThread(CompletionEvent* completion, 279 void AsValueOnImplThread(CompletionEvent* completion,
280 base::debug::TracedValue* state) const; 280 base::trace_event::TracedValue* state) const;
281 void SetSwapUsedIncompleteTileOnImplThread(bool used_incomplete_tile); 281 void SetSwapUsedIncompleteTileOnImplThread(bool used_incomplete_tile);
282 void MainThreadHasStoppedFlingingOnImplThread(); 282 void MainThreadHasStoppedFlingingOnImplThread();
283 void SetInputThrottledUntilCommitOnImplThread(bool is_throttled); 283 void SetInputThrottledUntilCommitOnImplThread(bool is_throttled);
284 void SetDebugStateOnImplThread(const LayerTreeDebugState& debug_state); 284 void SetDebugStateOnImplThread(const LayerTreeDebugState& debug_state);
285 void SetDeferCommitsOnImplThread(bool defer_commits) const; 285 void SetDeferCommitsOnImplThread(bool defer_commits) const;
286 286
287 LayerTreeHost* layer_tree_host(); 287 LayerTreeHost* layer_tree_host();
288 const LayerTreeHost* layer_tree_host() const; 288 const LayerTreeHost* layer_tree_host() const;
289 289
290 // Use accessors instead of this variable directly. 290 // Use accessors instead of this variable directly.
(...skipping 10 matching lines...) Expand all
301 301
302 base::WeakPtr<ThreadProxy> main_thread_weak_ptr_; 302 base::WeakPtr<ThreadProxy> main_thread_weak_ptr_;
303 base::WeakPtr<ThreadProxy> impl_thread_weak_ptr_; 303 base::WeakPtr<ThreadProxy> impl_thread_weak_ptr_;
304 304
305 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); 305 DISALLOW_COPY_AND_ASSIGN(ThreadProxy);
306 }; 306 };
307 307
308 } // namespace cc 308 } // namespace cc
309 309
310 #endif // CC_TREES_THREAD_PROXY_H_ 310 #endif // CC_TREES_THREAD_PROXY_H_
OLDNEW
« no previous file with comments | « cc/trees/single_thread_proxy.cc ('k') | cc/trees/thread_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698