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

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 content/test/web_layer_tree_view_impl_for_testing.h 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
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 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 // Signals swap has completed. 301 // Signals swap has completed.
302 void OnSwapBuffersComplete(); 302 void OnSwapBuffersComplete();
303 303
304 // Signals swap has aborted (e.g. lost context). 304 // Signals swap has aborted (e.g. lost context).
305 void OnSwapBuffersAborted(); 305 void OnSwapBuffersAborted();
306 306
307 void OnUpdateVSyncParameters(base::TimeTicks timebase, 307 void OnUpdateVSyncParameters(base::TimeTicks timebase,
308 base::TimeDelta interval); 308 base::TimeDelta interval);
309 309
310 // LayerTreeHostClient implementation. 310 // LayerTreeHostClient implementation.
311 virtual void WillBeginMainFrame() OVERRIDE {} 311 virtual void WillBeginMainFrame(int frame_id) OVERRIDE {}
312 virtual void DidBeginMainFrame() OVERRIDE {} 312 virtual void DidBeginMainFrame() OVERRIDE {}
313 virtual void Animate(double frame_begin_time) OVERRIDE {} 313 virtual void Animate(double frame_begin_time) OVERRIDE {}
314 virtual void Layout() OVERRIDE; 314 virtual void Layout() OVERRIDE;
315 virtual void ApplyScrollAndScale(gfx::Vector2d scroll_delta, 315 virtual void ApplyScrollAndScale(gfx::Vector2d scroll_delta,
316 float page_scale) OVERRIDE {} 316 float page_scale) OVERRIDE {}
317 virtual scoped_ptr<cc::OutputSurface> CreateOutputSurface(bool fallback) 317 virtual scoped_ptr<cc::OutputSurface> CreateOutputSurface(bool fallback)
318 OVERRIDE; 318 OVERRIDE;
319 virtual void DidInitializeOutputSurface(bool success) OVERRIDE {} 319 virtual void DidInitializeOutputSurface(bool success) OVERRIDE {}
320 virtual void WillCommit() OVERRIDE {} 320 virtual void WillCommit() OVERRIDE {}
321 virtual void DidCommit() OVERRIDE; 321 virtual void DidCommit() OVERRIDE;
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 bool draw_on_compositing_end_; 381 bool draw_on_compositing_end_;
382 382
383 base::WeakPtrFactory<Compositor> schedule_draw_factory_; 383 base::WeakPtrFactory<Compositor> schedule_draw_factory_;
384 384
385 DISALLOW_COPY_AND_ASSIGN(Compositor); 385 DISALLOW_COPY_AND_ASSIGN(Compositor);
386 }; 386 };
387 387
388 } // namespace ui 388 } // namespace ui
389 389
390 #endif // UI_COMPOSITOR_COMPOSITOR_H_ 390 #endif // UI_COMPOSITOR_COMPOSITOR_H_
OLDNEW
« content/renderer/render_widget.cc ('K') | « 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