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

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

Issue 2382873002: Replace usage of SurfaceId's client_id with FrameSinkId (Closed)
Patch Set: Rebased Created 4 years, 2 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) 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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 InputEventAckState ack_result) override; 149 InputEventAckState ack_result) override;
150 BrowserAccessibilityManager* CreateBrowserAccessibilityManager( 150 BrowserAccessibilityManager* CreateBrowserAccessibilityManager(
151 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override; 151 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override;
152 bool LockMouse() override; 152 bool LockMouse() override;
153 void UnlockMouse() override; 153 void UnlockMouse() override;
154 void OnSwapCompositorFrame(uint32_t compositor_frame_sink_id, 154 void OnSwapCompositorFrame(uint32_t compositor_frame_sink_id,
155 cc::CompositorFrame frame) override; 155 cc::CompositorFrame frame) override;
156 void ClearCompositorFrame() override; 156 void ClearCompositorFrame() override;
157 void DidOverscroll(const ui::DidOverscrollParams& params) override; 157 void DidOverscroll(const ui::DidOverscrollParams& params) override;
158 void DidStopFlinging() override; 158 void DidStopFlinging() override;
159 uint32_t GetSurfaceClientId() override; 159 cc::FrameSinkId GetFrameSinkId() override;
160 void ShowDisambiguationPopup(const gfx::Rect& rect_pixels, 160 void ShowDisambiguationPopup(const gfx::Rect& rect_pixels,
161 const SkBitmap& zoomed_bitmap) override; 161 const SkBitmap& zoomed_bitmap) override;
162 std::unique_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget() 162 std::unique_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget()
163 override; 163 override;
164 void LockCompositingSurface() override; 164 void LockCompositingSurface() override;
165 void UnlockCompositingSurface() override; 165 void UnlockCompositingSurface() override;
166 void OnDidNavigateMainFrameToNewPage() override; 166 void OnDidNavigateMainFrameToNewPage() override;
167 void SetNeedsBeginFrames(bool needs_begin_frames) override; 167 void SetNeedsBeginFrames(bool needs_begin_frames) override;
168 168
169 // ui::GestureProviderClient implementation. 169 // ui::GestureProviderClient implementation.
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 gfx::Vector2dF last_scroll_offset_; 384 gfx::Vector2dF last_scroll_offset_;
385 385
386 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; 386 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_;
387 387
388 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 388 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
389 }; 389 };
390 390
391 } // namespace content 391 } // namespace content
392 392
393 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 393 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698