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

Side by Side Diff: components/html_viewer/web_layer_tree_view_impl.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 | « cc/trees/threaded_channel.cc ('k') | content/browser/renderer_host/compositor_impl_android.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 COMPONENTS_HTML_VIEWER_WEB_LAYER_TREE_VIEW_IMPL_H_ 5 #ifndef COMPONENTS_HTML_VIEWER_WEB_LAYER_TREE_VIEW_IMPL_H_
6 #define COMPONENTS_HTML_VIEWER_WEB_LAYER_TREE_VIEW_IMPL_H_ 6 #define COMPONENTS_HTML_VIEWER_WEB_LAYER_TREE_VIEW_IMPL_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 void WillBeginMainFrame() override; 51 void WillBeginMainFrame() override;
52 void DidBeginMainFrame() override; 52 void DidBeginMainFrame() override;
53 void BeginMainFrame(const cc::BeginFrameArgs& args) override; 53 void BeginMainFrame(const cc::BeginFrameArgs& args) override;
54 void BeginMainFrameNotExpectedSoon() override; 54 void BeginMainFrameNotExpectedSoon() override;
55 void UpdateLayerTreeHost() override; 55 void UpdateLayerTreeHost() override;
56 void ApplyViewportDeltas(const gfx::Vector2dF& inner_delta, 56 void ApplyViewportDeltas(const gfx::Vector2dF& inner_delta,
57 const gfx::Vector2dF& outer_delta, 57 const gfx::Vector2dF& outer_delta,
58 const gfx::Vector2dF& elastic_overscroll_delta, 58 const gfx::Vector2dF& elastic_overscroll_delta,
59 float page_scale, 59 float page_scale,
60 float top_controls_delta) override; 60 float top_controls_delta) override;
61 void ApplyMutations(
62 const blink::WebMutationMap& mutations) override {}
61 void RequestNewOutputSurface() override; 63 void RequestNewOutputSurface() override;
62 void DidFailToInitializeOutputSurface() override; 64 void DidFailToInitializeOutputSurface() override;
63 void DidInitializeOutputSurface() override; 65 void DidInitializeOutputSurface() override;
64 void WillCommit() override; 66 void WillCommit() override;
65 void DidCommit() override; 67 void DidCommit() override;
66 void DidCommitAndDrawFrame() override; 68 void DidCommitAndDrawFrame() override;
67 void DidCompleteSwapBuffers() override; 69 void DidCompleteSwapBuffers() override;
68 void DidCompletePageScaleAnimation() override {} 70 void DidCompletePageScaleAnimation() override {}
69 void RecordFrameTimingEvents( 71 void RecordFrameTimingEvents(
70 scoped_ptr<cc::FrameTimingTracker::CompositeTimingSet> composite_events, 72 scoped_ptr<cc::FrameTimingTracker::CompositeTimingSet> composite_events,
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 main_thread_compositor_task_runner_; 119 main_thread_compositor_task_runner_;
118 base::WeakPtr<WebLayerTreeViewImpl> main_thread_bound_weak_ptr_; 120 base::WeakPtr<WebLayerTreeViewImpl> main_thread_bound_weak_ptr_;
119 121
120 base::WeakPtrFactory<WebLayerTreeViewImpl> weak_factory_; 122 base::WeakPtrFactory<WebLayerTreeViewImpl> weak_factory_;
121 DISALLOW_COPY_AND_ASSIGN(WebLayerTreeViewImpl); 123 DISALLOW_COPY_AND_ASSIGN(WebLayerTreeViewImpl);
122 }; 124 };
123 125
124 } // namespace html_viewer 126 } // namespace html_viewer
125 127
126 #endif // COMPONENTS_HTML_VIEWER_WEB_LAYER_TREE_VIEW_IMPL_H_ 128 #endif // COMPONENTS_HTML_VIEWER_WEB_LAYER_TREE_VIEW_IMPL_H_
OLDNEW
« no previous file with comments | « cc/trees/threaded_channel.cc ('k') | content/browser/renderer_host/compositor_impl_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698