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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_android.h

Issue 2725763003: DelegatedFrameHostAndroid should use CompositorFrameSinkSupport (Closed)
Patch Set: c 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
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_view_android.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) 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_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 void SetNeedsAnimate() override; 180 void SetNeedsAnimate() override;
181 void MoveCaret(const gfx::PointF& position) override; 181 void MoveCaret(const gfx::PointF& position) override;
182 void MoveRangeSelectionExtent(const gfx::PointF& extent) override; 182 void MoveRangeSelectionExtent(const gfx::PointF& extent) override;
183 void SelectBetweenCoordinates(const gfx::PointF& base, 183 void SelectBetweenCoordinates(const gfx::PointF& base,
184 const gfx::PointF& extent) override; 184 const gfx::PointF& extent) override;
185 void OnSelectionEvent(ui::SelectionEventType event) override; 185 void OnSelectionEvent(ui::SelectionEventType event) override;
186 std::unique_ptr<ui::TouchHandleDrawable> CreateDrawable() override; 186 std::unique_ptr<ui::TouchHandleDrawable> CreateDrawable() override;
187 187
188 // DelegatedFrameHostAndroid::Client implementation. 188 // DelegatedFrameHostAndroid::Client implementation.
189 void SetBeginFrameSource(cc::BeginFrameSource* begin_frame_source) override; 189 void SetBeginFrameSource(cc::BeginFrameSource* begin_frame_source) override;
190 void ReturnResources(const cc::ReturnedResourceArray& resources) override; 190 void DidReceiveCompositorFrameAck() override;
191 void ReclaimResources(const cc::ReturnedResourceArray& resources) override;
191 192
192 // cc::BeginFrameObserver implementation. 193 // cc::BeginFrameObserver implementation.
193 void OnBeginFrame(const cc::BeginFrameArgs& args) override; 194 void OnBeginFrame(const cc::BeginFrameArgs& args) override;
194 const cc::BeginFrameArgs& LastUsedBeginFrameArgs() const override; 195 const cc::BeginFrameArgs& LastUsedBeginFrameArgs() const override;
195 void OnBeginFrameSourcePausedChanged(bool paused) override; 196 void OnBeginFrameSourcePausedChanged(bool paused) override;
196 197
197 // Non-virtual methods 198 // Non-virtual methods
198 void SetContentViewCore(ContentViewCoreImpl* content_view_core); 199 void SetContentViewCore(ContentViewCoreImpl* content_view_core);
199 SkColor GetCachedBackgroundColor() const; 200 SkColor GetCachedBackgroundColor() const;
200 void SendKeyEvent(const NativeWebKeyboardEvent& event); 201 void SendKeyEvent(const NativeWebKeyboardEvent& event);
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 float prev_bottom_shown_pix_; 383 float prev_bottom_shown_pix_;
383 384
384 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; 385 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_;
385 386
386 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 387 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
387 }; 388 };
388 389
389 } // namespace content 390 } // namespace content
390 391
391 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 392 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_view_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698