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

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

Issue 2740133002: Mark sub-frame root layer non-fast scrollable when wheel handlers present. (Closed)
Patch Set: Add mainframe version of test for verification. 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
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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 const blink::WebLayer* outerViewportScrollLayer) override; 152 const blink::WebLayer* outerViewportScrollLayer) override;
153 void clearViewportLayers() override; 153 void clearViewportLayers() override;
154 void registerSelection(const blink::WebSelection& selection) override; 154 void registerSelection(const blink::WebSelection& selection) override;
155 void clearSelection() override; 155 void clearSelection() override;
156 void setMutatorClient( 156 void setMutatorClient(
157 std::unique_ptr<blink::WebCompositorMutatorClient>) override; 157 std::unique_ptr<blink::WebCompositorMutatorClient>) override;
158 void forceRecalculateRasterScales() override; 158 void forceRecalculateRasterScales() override;
159 void setEventListenerProperties( 159 void setEventListenerProperties(
160 blink::WebEventListenerClass eventClass, 160 blink::WebEventListenerClass eventClass,
161 blink::WebEventListenerProperties properties) override; 161 blink::WebEventListenerProperties properties) override;
162 void updateTouchRectsForSubframeIfNecessary() override; 162 void updateEventRectsForSubframeIfNecessary() override;
163 blink::WebEventListenerProperties eventListenerProperties( 163 blink::WebEventListenerProperties eventListenerProperties(
164 blink::WebEventListenerClass eventClass) const override; 164 blink::WebEventListenerClass eventClass) const override;
165 void setHaveScrollEventHandlers(bool) override; 165 void setHaveScrollEventHandlers(bool) override;
166 bool haveScrollEventHandlers() const override; 166 bool haveScrollEventHandlers() const override;
167 int layerTreeId() const override; 167 int layerTreeId() const override;
168 void setShowFPSCounter(bool show) override; 168 void setShowFPSCounter(bool show) override;
169 void setShowPaintRects(bool show) override; 169 void setShowPaintRects(bool show) override;
170 void setShowDebugBorders(bool show) override; 170 void setShowDebugBorders(bool show) override;
171 void setShowScrollBottleneckRects(bool show) override; 171 void setShowScrollBottleneckRects(bool show) override;
172 172
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 blink::WebLayoutAndPaintAsyncCallback* layout_and_paint_async_callback_; 235 blink::WebLayoutAndPaintAsyncCallback* layout_and_paint_async_callback_;
236 236
237 cc::FrameSinkId frame_sink_id_; 237 cc::FrameSinkId frame_sink_id_;
238 238
239 base::WeakPtrFactory<RenderWidgetCompositor> weak_factory_; 239 base::WeakPtrFactory<RenderWidgetCompositor> weak_factory_;
240 }; 240 };
241 241
242 } // namespace content 242 } // namespace content
243 243
244 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ 244 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_
OLDNEW
« no previous file with comments | « content/browser/site_per_process_browsertest.cc ('k') | content/renderer/gpu/render_widget_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698