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

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

Issue 2728183002: RendererCompositorFrameSink should handle local surface id allocation (Closed)
Patch Set: Rebase 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) 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_AURA_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 override; 158 override;
159 InputEventAckState FilterInputEvent( 159 InputEventAckState FilterInputEvent(
160 const blink::WebInputEvent& input_event) override; 160 const blink::WebInputEvent& input_event) override;
161 BrowserAccessibilityManager* CreateBrowserAccessibilityManager( 161 BrowserAccessibilityManager* CreateBrowserAccessibilityManager(
162 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override; 162 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override;
163 gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget() override; 163 gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget() override;
164 gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible() override; 164 gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible() override;
165 bool LockMouse() override; 165 bool LockMouse() override;
166 void UnlockMouse() override; 166 void UnlockMouse() override;
167 void OnSwapCompositorFrame(uint32_t compositor_frame_sink_id, 167 void OnSwapCompositorFrame(uint32_t compositor_frame_sink_id,
168 cc::LocalSurfaceId local_surface_id,
Fady Samuel 2017/03/15 12:05:48 const cc::LocalSurfaceId&
Saman Sami 2017/03/16 18:33:07 Done.
168 cc::CompositorFrame frame) override; 169 cc::CompositorFrame frame) override;
169 void ClearCompositorFrame() override; 170 void ClearCompositorFrame() override;
170 void DidStopFlinging() override; 171 void DidStopFlinging() override;
171 void OnDidNavigateMainFrameToNewPage() override; 172 void OnDidNavigateMainFrameToNewPage() override;
172 cc::FrameSinkId GetFrameSinkId() override; 173 cc::FrameSinkId GetFrameSinkId() override;
173 cc::FrameSinkId FrameSinkIdAtPoint(cc::SurfaceHittestDelegate* delegate, 174 cc::FrameSinkId FrameSinkIdAtPoint(cc::SurfaceHittestDelegate* delegate,
174 const gfx::Point& point, 175 const gfx::Point& point,
175 gfx::Point* transformed_point) override; 176 gfx::Point* transformed_point) override;
176 void ProcessMouseEvent(const blink::WebMouseEvent& event, 177 void ProcessMouseEvent(const blink::WebMouseEvent& event,
177 const ui::LatencyInfo& latency) override; 178 const ui::LatencyInfo& latency) override;
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after
582 std::unique_ptr<RenderWidgetHostViewEventHandler> event_handler_; 583 std::unique_ptr<RenderWidgetHostViewEventHandler> event_handler_;
583 584
584 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; 585 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_;
585 586
586 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 587 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
587 }; 588 };
588 589
589 } // namespace content 590 } // namespace content
590 591
591 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 592 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698