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

Side by Side Diff: content/renderer/render_widget.h

Issue 1897123002: Remove current implementation of frame timing events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 8 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 CONTENT_RENDERER_RENDER_WIDGET_H_ 5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_H_
6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ 6 #define CONTENT_RENDERER_RENDER_WIDGET_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 void DidCommitAndDrawCompositorFrame() override; 192 void DidCommitAndDrawCompositorFrame() override;
193 void DidCommitCompositorFrame() override; 193 void DidCommitCompositorFrame() override;
194 void DidCompletePageScaleAnimation() override; 194 void DidCompletePageScaleAnimation() override;
195 void DidCompleteSwapBuffers() override; 195 void DidCompleteSwapBuffers() override;
196 bool ForOOPIF() const override; 196 bool ForOOPIF() const override;
197 void ForwardCompositorProto(const std::vector<uint8_t>& proto) override; 197 void ForwardCompositorProto(const std::vector<uint8_t>& proto) override;
198 bool IsClosing() const override; 198 bool IsClosing() const override;
199 void OnSwapBuffersAborted() override; 199 void OnSwapBuffersAborted() override;
200 void OnSwapBuffersComplete() override; 200 void OnSwapBuffersComplete() override;
201 void OnSwapBuffersPosted() override; 201 void OnSwapBuffersPosted() override;
202 void RecordFrameTimingEvents(
203 std::unique_ptr<cc::FrameTimingTracker::CompositeTimingSet>
204 composite_events,
205 std::unique_ptr<cc::FrameTimingTracker::MainFrameTimingSet>
206 main_frame_events) override;
207 void RequestScheduleAnimation() override; 202 void RequestScheduleAnimation() override;
208 void UpdateVisualState() override; 203 void UpdateVisualState() override;
209 void WillBeginCompositorFrame() override; 204 void WillBeginCompositorFrame() override;
210 205
211 // RenderWidgetInputHandlerDelegate 206 // RenderWidgetInputHandlerDelegate
212 void FocusChangeComplete() override; 207 void FocusChangeComplete() override;
213 bool HasTouchEventHandlersAt(const gfx::Point& point) const override; 208 bool HasTouchEventHandlersAt(const gfx::Point& point) const override;
214 void ObserveWheelEventAndResult(const blink::WebMouseWheelEvent& wheel_event, 209 void ObserveWheelEventAndResult(const blink::WebMouseWheelEvent& wheel_event,
215 const gfx::Vector2dF& wheel_unused_delta, 210 const gfx::Vector2dF& wheel_unused_delta,
216 bool event_processed) override; 211 bool event_processed) override;
(...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after
769 private: 764 private:
770 // When emulated, this returns original device scale factor. 765 // When emulated, this returns original device scale factor.
771 float GetOriginalDeviceScaleFactor() const; 766 float GetOriginalDeviceScaleFactor() const;
772 767
773 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 768 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
774 }; 769 };
775 770
776 } // namespace content 771 } // namespace content
777 772
778 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 773 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW
« no previous file with comments | « content/renderer/gpu/render_widget_compositor_delegate.h ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698