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

Side by Side Diff: content/renderer/gpu/render_widget_compositor.h

Issue 2810813004: Hide fullscreen rotation jank (Closed)
Patch Set: Re-add feature flag Created 3 years, 5 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_GPU_RENDER_WIDGET_COMPOSITOR_H_ 5 #ifndef CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_
6 #define CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ 6 #define CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 void SetRootLayer(const blink::WebLayer& layer) override; 123 void SetRootLayer(const blink::WebLayer& layer) override;
124 void ClearRootLayer() override; 124 void ClearRootLayer() override;
125 cc::AnimationHost* CompositorAnimationHost() override; 125 cc::AnimationHost* CompositorAnimationHost() override;
126 void SetViewportSize(const blink::WebSize& device_viewport_size) override; 126 void SetViewportSize(const blink::WebSize& device_viewport_size) override;
127 blink::WebSize GetViewportSize() const override; 127 blink::WebSize GetViewportSize() const override;
128 virtual blink::WebFloatPoint adjustEventPointForPinchZoom( 128 virtual blink::WebFloatPoint adjustEventPointForPinchZoom(
129 const blink::WebFloatPoint& point) const; 129 const blink::WebFloatPoint& point) const;
130 void SetDeviceScaleFactor(float device_scale) override; 130 void SetDeviceScaleFactor(float device_scale) override;
131 void SetBackgroundColor(blink::WebColor color) override; 131 void SetBackgroundColor(blink::WebColor color) override;
132 void SetVisible(bool visible) override; 132 void SetVisible(bool visible) override;
133 void SetIsFullscreen(bool is_fullscreen) override;
133 void SetPageScaleFactorAndLimits(float page_scale_factor, 134 void SetPageScaleFactorAndLimits(float page_scale_factor,
134 float minimum, 135 float minimum,
135 float maximum) override; 136 float maximum) override;
136 void StartPageScaleAnimation(const blink::WebPoint& destination, 137 void StartPageScaleAnimation(const blink::WebPoint& destination,
137 bool use_anchor, 138 bool use_anchor,
138 float new_page_scale, 139 float new_page_scale,
139 double duration_sec) override; 140 double duration_sec) override;
140 bool HasPendingPageScaleAnimation() const override; 141 bool HasPendingPageScaleAnimation() const override;
141 void HeuristicsForGpuRasterizationUpdated(bool matches_heuristics) override; 142 void HeuristicsForGpuRasterizationUpdated(bool matches_heuristics) override;
142 void SetNeedsBeginFrame() override; 143 void SetNeedsBeginFrame() override;
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 cc::FrameSinkId frame_sink_id_; 252 cc::FrameSinkId frame_sink_id_;
252 253
253 base::WeakPtrFactory<RenderWidgetCompositor> weak_factory_; 254 base::WeakPtrFactory<RenderWidgetCompositor> weak_factory_;
254 255
255 DISALLOW_COPY_AND_ASSIGN(RenderWidgetCompositor); 256 DISALLOW_COPY_AND_ASSIGN(RenderWidgetCompositor);
256 }; 257 };
257 258
258 } // namespace content 259 } // namespace content
259 260
260 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ 261 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698