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

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

Issue 1990553002: Remove RenderViewImpl::GetFocusedElement. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Made Windows happy and brought back bool return because fake tests. Created 4 years, 7 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.cc ('k') | content/renderer/gpu/render_widget_compositor.cc » ('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) 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 void setBackgroundColor(blink::WebColor color) override; 109 void setBackgroundColor(blink::WebColor color) override;
110 void setHasTransparentBackground(bool transparent) override; 110 void setHasTransparentBackground(bool transparent) override;
111 void setVisible(bool visible) override; 111 void setVisible(bool visible) override;
112 void setPageScaleFactorAndLimits(float page_scale_factor, 112 void setPageScaleFactorAndLimits(float page_scale_factor,
113 float minimum, 113 float minimum,
114 float maximum) override; 114 float maximum) override;
115 void startPageScaleAnimation(const blink::WebPoint& destination, 115 void startPageScaleAnimation(const blink::WebPoint& destination,
116 bool use_anchor, 116 bool use_anchor,
117 float new_page_scale, 117 float new_page_scale,
118 double duration_sec) override; 118 double duration_sec) override;
119 bool hasPendingPageScaleAnimation() const override;
119 void heuristicsForGpuRasterizationUpdated(bool matches_heuristics) override; 120 void heuristicsForGpuRasterizationUpdated(bool matches_heuristics) override;
120 void setNeedsAnimate() override; 121 void setNeedsAnimate() override;
121 void setNeedsBeginFrame() override; 122 void setNeedsBeginFrame() override;
122 void setNeedsCompositorUpdate() override; 123 void setNeedsCompositorUpdate() override;
123 void didStopFlinging() override; 124 void didStopFlinging() override;
124 void layoutAndPaintAsync( 125 void layoutAndPaintAsync(
125 blink::WebLayoutAndPaintAsyncCallback* callback) override; 126 blink::WebLayoutAndPaintAsyncCallback* callback) override;
126 void compositeAndReadbackAsync( 127 void compositeAndReadbackAsync(
127 blink::WebCompositeAndReadbackAsyncCallback* callback) override; 128 blink::WebCompositeAndReadbackAsyncCallback* callback) override;
128 void setDeferCommits(bool defer_commits) override; 129 void setDeferCommits(bool defer_commits) override;
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 std::unique_ptr<cc::CopyOutputRequest> temporary_copy_output_request_; 216 std::unique_ptr<cc::CopyOutputRequest> temporary_copy_output_request_;
216 217
217 cc::RemoteProtoChannel::ProtoReceiver* remote_proto_channel_receiver_; 218 cc::RemoteProtoChannel::ProtoReceiver* remote_proto_channel_receiver_;
218 219
219 base::WeakPtrFactory<RenderWidgetCompositor> weak_factory_; 220 base::WeakPtrFactory<RenderWidgetCompositor> weak_factory_;
220 }; 221 };
221 222
222 } // namespace content 223 } // namespace content
223 224
224 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ 225 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host.cc ('k') | content/renderer/gpu/render_widget_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698