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

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

Issue 1547893003: WIP - compositor worker mega patch. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 | « third_party/WebKit/public/web/WebWidget.h ('k') | ui/gfx/transform.h » ('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 (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 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 void WillBeginMainFrame() override {} 288 void WillBeginMainFrame() override {}
289 void DidBeginMainFrame() override {} 289 void DidBeginMainFrame() override {}
290 void BeginMainFrame(const cc::BeginFrameArgs& args) override; 290 void BeginMainFrame(const cc::BeginFrameArgs& args) override;
291 void BeginMainFrameNotExpectedSoon() override; 291 void BeginMainFrameNotExpectedSoon() override;
292 void UpdateLayerTreeHost() override; 292 void UpdateLayerTreeHost() override;
293 void ApplyViewportDeltas(const gfx::Vector2dF& inner_delta, 293 void ApplyViewportDeltas(const gfx::Vector2dF& inner_delta,
294 const gfx::Vector2dF& outer_delta, 294 const gfx::Vector2dF& outer_delta,
295 const gfx::Vector2dF& elastic_overscroll_delta, 295 const gfx::Vector2dF& elastic_overscroll_delta,
296 float page_scale, 296 float page_scale,
297 float top_controls_delta) override {} 297 float top_controls_delta) override {}
298 void ApplyMutations(
299 const cc::LayerTreeMutationMap& mutations) override {}
298 void RequestNewOutputSurface() override; 300 void RequestNewOutputSurface() override;
299 void DidInitializeOutputSurface() override; 301 void DidInitializeOutputSurface() override;
300 void DidFailToInitializeOutputSurface() override; 302 void DidFailToInitializeOutputSurface() override;
301 void WillCommit() override {} 303 void WillCommit() override {}
302 void DidCommit() override; 304 void DidCommit() override;
303 void DidCommitAndDrawFrame() override; 305 void DidCommitAndDrawFrame() override;
304 void DidCompleteSwapBuffers() override; 306 void DidCompleteSwapBuffers() override;
305 void DidCompletePageScaleAnimation() override {} 307 void DidCompletePageScaleAnimation() override {}
306 void SendBeginFramesToChildren(const cc::BeginFrameArgs& args) override; 308 void SendBeginFramesToChildren(const cc::BeginFrameArgs& args) override;
307 void RecordFrameTimingEvents( 309 void RecordFrameTimingEvents(
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 cc::BeginFrameArgs missed_begin_frame_args_; 379 cc::BeginFrameArgs missed_begin_frame_args_;
378 380
379 base::WeakPtrFactory<Compositor> weak_ptr_factory_; 381 base::WeakPtrFactory<Compositor> weak_ptr_factory_;
380 382
381 DISALLOW_COPY_AND_ASSIGN(Compositor); 383 DISALLOW_COPY_AND_ASSIGN(Compositor);
382 }; 384 };
383 385
384 } // namespace ui 386 } // namespace ui
385 387
386 #endif // UI_COMPOSITOR_COMPOSITOR_H_ 388 #endif // UI_COMPOSITOR_COMPOSITOR_H_
OLDNEW
« no previous file with comments | « third_party/WebKit/public/web/WebWidget.h ('k') | ui/gfx/transform.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698