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

Side by Side Diff: ui/compositor/compositor.h

Issue 54493003: Propagate source_frame_number from LTH to DevTools (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed android build Created 7 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 | Annotate | Revision Log
« no previous file with comments | « content/test/web_layer_tree_view_impl_for_testing.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 UI_COMPOSITOR_COMPOSITOR_H_ 5 #ifndef UI_COMPOSITOR_COMPOSITOR_H_
6 #define UI_COMPOSITOR_COMPOSITOR_H_ 6 #define UI_COMPOSITOR_COMPOSITOR_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/containers/hash_tables.h" 10 #include "base/containers/hash_tables.h"
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 // Signals swap has completed. 303 // Signals swap has completed.
304 void OnSwapBuffersComplete(); 304 void OnSwapBuffersComplete();
305 305
306 // Signals swap has aborted (e.g. lost context). 306 // Signals swap has aborted (e.g. lost context).
307 void OnSwapBuffersAborted(); 307 void OnSwapBuffersAborted();
308 308
309 void OnUpdateVSyncParameters(base::TimeTicks timebase, 309 void OnUpdateVSyncParameters(base::TimeTicks timebase,
310 base::TimeDelta interval); 310 base::TimeDelta interval);
311 311
312 // LayerTreeHostClient implementation. 312 // LayerTreeHostClient implementation.
313 virtual void WillBeginMainFrame() OVERRIDE {} 313 virtual void WillBeginMainFrame(int frame_id) OVERRIDE {}
314 virtual void DidBeginMainFrame() OVERRIDE {} 314 virtual void DidBeginMainFrame() OVERRIDE {}
315 virtual void Animate(double frame_begin_time) OVERRIDE {} 315 virtual void Animate(double frame_begin_time) OVERRIDE {}
316 virtual void Layout() OVERRIDE; 316 virtual void Layout() OVERRIDE;
317 virtual void ApplyScrollAndScale(gfx::Vector2d scroll_delta, 317 virtual void ApplyScrollAndScale(gfx::Vector2d scroll_delta,
318 float page_scale) OVERRIDE {} 318 float page_scale) OVERRIDE {}
319 virtual scoped_ptr<cc::OutputSurface> CreateOutputSurface(bool fallback) 319 virtual scoped_ptr<cc::OutputSurface> CreateOutputSurface(bool fallback)
320 OVERRIDE; 320 OVERRIDE;
321 virtual void DidInitializeOutputSurface(bool success) OVERRIDE {} 321 virtual void DidInitializeOutputSurface(bool success) OVERRIDE {}
322 virtual void WillCommit() OVERRIDE {} 322 virtual void WillCommit() OVERRIDE {}
323 virtual void DidCommit() OVERRIDE; 323 virtual void DidCommit() OVERRIDE;
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 bool draw_on_compositing_end_; 393 bool draw_on_compositing_end_;
394 394
395 base::WeakPtrFactory<Compositor> schedule_draw_factory_; 395 base::WeakPtrFactory<Compositor> schedule_draw_factory_;
396 396
397 DISALLOW_COPY_AND_ASSIGN(Compositor); 397 DISALLOW_COPY_AND_ASSIGN(Compositor);
398 }; 398 };
399 399
400 } // namespace ui 400 } // namespace ui
401 401
402 #endif // UI_COMPOSITOR_COMPOSITOR_H_ 402 #endif // UI_COMPOSITOR_COMPOSITOR_H_
OLDNEW
« no previous file with comments | « content/test/web_layer_tree_view_impl_for_testing.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698