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

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

Issue 397443002: [not for review] Add Draw entries to window Performance Timeline Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git pull of third_party/WebKit Created 6 years, 5 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
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 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 // Signals swap has aborted (e.g. lost context). 212 // Signals swap has aborted (e.g. lost context).
213 void OnSwapBuffersAborted(); 213 void OnSwapBuffersAborted();
214 214
215 // LayerTreeHostClient implementation. 215 // LayerTreeHostClient implementation.
216 virtual void WillBeginMainFrame(int frame_id) OVERRIDE {} 216 virtual void WillBeginMainFrame(int frame_id) OVERRIDE {}
217 virtual void DidBeginMainFrame() OVERRIDE {} 217 virtual void DidBeginMainFrame() OVERRIDE {}
218 virtual void Animate(base::TimeTicks frame_begin_time) OVERRIDE; 218 virtual void Animate(base::TimeTicks frame_begin_time) OVERRIDE;
219 virtual void Layout() OVERRIDE; 219 virtual void Layout() OVERRIDE;
220 virtual void ApplyScrollAndScale(const gfx::Vector2d& scroll_delta, 220 virtual void ApplyScrollAndScale(const gfx::Vector2d& scroll_delta,
221 float page_scale) OVERRIDE {} 221 float page_scale) OVERRIDE {}
222 virtual void RecordDrawTiming(int64_t,
223 const std::vector<std::pair<int,base::TimeTicks> >&) OVERRIDE {}
222 virtual scoped_ptr<cc::OutputSurface> CreateOutputSurface(bool fallback) 224 virtual scoped_ptr<cc::OutputSurface> CreateOutputSurface(bool fallback)
223 OVERRIDE; 225 OVERRIDE;
224 virtual void DidInitializeOutputSurface() OVERRIDE {} 226 virtual void DidInitializeOutputSurface() OVERRIDE {}
225 virtual void WillCommit() OVERRIDE {} 227 virtual void WillCommit() OVERRIDE {}
226 virtual void DidCommit() OVERRIDE; 228 virtual void DidCommit() OVERRIDE;
227 virtual void DidCommitAndDrawFrame() OVERRIDE; 229 virtual void DidCommitAndDrawFrame() OVERRIDE;
228 virtual void DidCompleteSwapBuffers() OVERRIDE; 230 virtual void DidCompleteSwapBuffers() OVERRIDE;
229 231
230 // cc::LayerTreeHostSingleThreadClient implementation. 232 // cc::LayerTreeHostSingleThreadClient implementation.
231 virtual void ScheduleComposite() OVERRIDE; 233 virtual void ScheduleComposite() OVERRIDE;
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 LayerAnimatorCollection layer_animator_collection_; 303 LayerAnimatorCollection layer_animator_collection_;
302 304
303 base::WeakPtrFactory<Compositor> schedule_draw_factory_; 305 base::WeakPtrFactory<Compositor> schedule_draw_factory_;
304 306
305 DISALLOW_COPY_AND_ASSIGN(Compositor); 307 DISALLOW_COPY_AND_ASSIGN(Compositor);
306 }; 308 };
307 309
308 } // namespace ui 310 } // namespace ui
309 311
310 #endif // UI_COMPOSITOR_COMPOSITOR_H_ 312 #endif // UI_COMPOSITOR_COMPOSITOR_H_
OLDNEW
« tools/metrics/histograms/histograms.xml ('K') | « tools/metrics/histograms/histograms.xml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698