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

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, 11 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') | 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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 void WillBeginMainFrame() override {} 291 void WillBeginMainFrame() override {}
292 void DidBeginMainFrame() override {} 292 void DidBeginMainFrame() override {}
293 void BeginMainFrame(const cc::BeginFrameArgs& args) override; 293 void BeginMainFrame(const cc::BeginFrameArgs& args) override;
294 void BeginMainFrameNotExpectedSoon() override; 294 void BeginMainFrameNotExpectedSoon() override;
295 void UpdateLayerTreeHost() override; 295 void UpdateLayerTreeHost() override;
296 void ApplyViewportDeltas(const gfx::Vector2dF& inner_delta, 296 void ApplyViewportDeltas(const gfx::Vector2dF& inner_delta,
297 const gfx::Vector2dF& outer_delta, 297 const gfx::Vector2dF& outer_delta,
298 const gfx::Vector2dF& elastic_overscroll_delta, 298 const gfx::Vector2dF& elastic_overscroll_delta,
299 float page_scale, 299 float page_scale,
300 float top_controls_delta) override {} 300 float top_controls_delta) override {}
301 void ApplyMutations(
302 const cc::LayerTreeMutations& mutations) override {}
301 void RequestNewOutputSurface() override; 303 void RequestNewOutputSurface() override;
302 void DidInitializeOutputSurface() override; 304 void DidInitializeOutputSurface() override;
303 void DidFailToInitializeOutputSurface() override; 305 void DidFailToInitializeOutputSurface() override;
304 void WillCommit() override {} 306 void WillCommit() override {}
305 void DidCommit() override; 307 void DidCommit() override;
306 void DidCommitAndDrawFrame() override; 308 void DidCommitAndDrawFrame() override;
307 void DidCompleteSwapBuffers() override; 309 void DidCompleteSwapBuffers() override;
308 void DidCompletePageScaleAnimation() override {} 310 void DidCompletePageScaleAnimation() override {}
309 void SendBeginFramesToChildren(const cc::BeginFrameArgs& args) override; 311 void SendBeginFramesToChildren(const cc::BeginFrameArgs& args) override;
310 void RecordFrameTimingEvents( 312 void RecordFrameTimingEvents(
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 cc::BeginFrameArgs missed_begin_frame_args_; 382 cc::BeginFrameArgs missed_begin_frame_args_;
381 383
382 base::WeakPtrFactory<Compositor> weak_ptr_factory_; 384 base::WeakPtrFactory<Compositor> weak_ptr_factory_;
383 385
384 DISALLOW_COPY_AND_ASSIGN(Compositor); 386 DISALLOW_COPY_AND_ASSIGN(Compositor);
385 }; 387 };
386 388
387 } // namespace ui 389 } // namespace ui
388 390
389 #endif // UI_COMPOSITOR_COMPOSITOR_H_ 391 #endif // UI_COMPOSITOR_COMPOSITOR_H_
OLDNEW
« no previous file with comments | « third_party/WebKit/public/web/WebWidget.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698