commit | efcb843fdd5fefaf4f0c106f04f308ed1aba7919 | [log] [tgz] |
---|---|---|
author | danakj <[email protected]> | Wed Jan 16 18:47:14 2019 |
committer | Commit Bot <[email protected]> | Wed Jan 16 18:47:14 2019 |
tree | fc0164415019918a84769e7aebfb2a9f6a6341db | |
parent | 6d6baec006679a1b77dcfb205d951993c74ab26e [diff] [blame] |
Don't use WebView as a proxy to show FPS counter in the compositor. 1. Move the API from WebLayerTreeView to WebWidgetClient 2. Have RenderViewImpl set the value each time a new WebFrameWidget is attached, as in the future each one will have a new WebWidgetClient. 3. Have inspector go through the WebFrameWidget's client instead of through WebView (and WebLayerTreeView). Also removes the WebSetting for this, which was not used before this CL. [email protected] Change-Id: Ide83b5372033574cb965e973d50ac43d44f2e8fa Bug: 912193 Reviewed-on: https://chromium-review.googlesource.com/c/1407633 Commit-Queue: danakj <[email protected]> Reviewed-by: enne <[email protected]> Reviewed-by: Avi Drissman <[email protected]> Reviewed-by: Philip Rogers <[email protected]> Cr-Commit-Position: refs/heads/master@{#623313}
diff --git a/content/renderer/render_widget.h b/content/renderer/render_widget.h index cece012..1c5ff77 100644 --- a/content/renderer/render_widget.h +++ b/content/renderer/render_widget.h
@@ -348,6 +348,7 @@ // blink::WebWidgetClient void ScheduleAnimation() override; + void SetShowFPSCounter(bool show) override; void IntrinsicSizingInfoChanged( const blink::WebIntrinsicSizingInfo&) override; void DidMeaningfulLayout(blink::WebMeaningfulLayout layout_type) override;