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

Side by Side Diff: content/browser/renderer_host/compositor_impl_android.h

Issue 2737653004: UMA metrics for use count of wheel and touch scrolls. (Closed)
Patch Set: TODO for GRC usage added. Created 3 years, 9 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/layer_tree_host_impl.cc ('k') | content/renderer/gpu/render_widget_compositor.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 CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 void WillBeginMainFrame() override {} 82 void WillBeginMainFrame() override {}
83 void DidBeginMainFrame() override {} 83 void DidBeginMainFrame() override {}
84 void BeginMainFrame(const cc::BeginFrameArgs& args) override {} 84 void BeginMainFrame(const cc::BeginFrameArgs& args) override {}
85 void BeginMainFrameNotExpectedSoon() override {} 85 void BeginMainFrameNotExpectedSoon() override {}
86 void UpdateLayerTreeHost() override; 86 void UpdateLayerTreeHost() override;
87 void ApplyViewportDeltas(const gfx::Vector2dF& inner_delta, 87 void ApplyViewportDeltas(const gfx::Vector2dF& inner_delta,
88 const gfx::Vector2dF& outer_delta, 88 const gfx::Vector2dF& outer_delta,
89 const gfx::Vector2dF& elastic_overscroll_delta, 89 const gfx::Vector2dF& elastic_overscroll_delta,
90 float page_scale, 90 float page_scale,
91 float top_controls_delta) override {} 91 float top_controls_delta) override {}
92 void RecordWheelAndTouchScrollingCount(bool has_scrolled_by_wheel,
93 bool has_scrolled_by_touch) override {}
92 void RequestNewCompositorFrameSink() override; 94 void RequestNewCompositorFrameSink() override;
93 void DidInitializeCompositorFrameSink() override; 95 void DidInitializeCompositorFrameSink() override;
94 void DidFailToInitializeCompositorFrameSink() override; 96 void DidFailToInitializeCompositorFrameSink() override;
95 void WillCommit() override {} 97 void WillCommit() override {}
96 void DidCommit() override; 98 void DidCommit() override;
97 void DidCommitAndDrawFrame() override {} 99 void DidCommitAndDrawFrame() override {}
98 void DidReceiveCompositorFrameAck() override; 100 void DidReceiveCompositorFrameAck() override;
99 void DidCompletePageScaleAnimation() override {} 101 void DidCompletePageScaleAnimation() override {}
100 102
101 // LayerTreeHostSingleThreadClient implementation. 103 // LayerTreeHostSingleThreadClient implementation.
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 std::unordered_set<cc::FrameSinkId, cc::FrameSinkIdHash> 181 std::unordered_set<cc::FrameSinkId, cc::FrameSinkIdHash>
180 pending_child_frame_sink_ids_; 182 pending_child_frame_sink_ids_;
181 base::WeakPtrFactory<CompositorImpl> weak_factory_; 183 base::WeakPtrFactory<CompositorImpl> weak_factory_;
182 184
183 DISALLOW_COPY_AND_ASSIGN(CompositorImpl); 185 DISALLOW_COPY_AND_ASSIGN(CompositorImpl);
184 }; 186 };
185 187
186 } // namespace content 188 } // namespace content
187 189
188 #endif // CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_ 190 #endif // CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_impl.cc ('k') | content/renderer/gpu/render_widget_compositor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698