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

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 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 override; 159 override;
160 InputEventAckState FilterInputEvent( 160 InputEventAckState FilterInputEvent(
161 const blink::WebInputEvent& input_event) override; 161 const blink::WebInputEvent& input_event) override;
162 BrowserAccessibilityManager* CreateBrowserAccessibilityManager( 162 BrowserAccessibilityManager* CreateBrowserAccessibilityManager(
163 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override; 163 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override;
164 gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget() override; 164 gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget() override;
165 gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible() override; 165 gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible() override;
166 bool LockMouse() override; 166 bool LockMouse() override;
167 void UnlockMouse() override; 167 void UnlockMouse() override;
168 void OnSwapCompositorFrame(uint32_t compositor_frame_sink_id, 168 void OnSwapCompositorFrame(uint32_t compositor_frame_sink_id,
169 const cc::LocalSurfaceId& local_surface_id,
169 cc::CompositorFrame frame) override; 170 cc::CompositorFrame frame) override;
170 void OnBeginFrameDidNotSwap(const cc::BeginFrameAck& ack) override; 171 void OnBeginFrameDidNotSwap(const cc::BeginFrameAck& ack) override;
171 void ClearCompositorFrame() override; 172 void ClearCompositorFrame() override;
172 void DidStopFlinging() override; 173 void DidStopFlinging() override;
173 void OnDidNavigateMainFrameToNewPage() override; 174 void OnDidNavigateMainFrameToNewPage() override;
174 cc::FrameSinkId GetFrameSinkId() override; 175 cc::FrameSinkId GetFrameSinkId() override;
175 cc::FrameSinkId FrameSinkIdAtPoint(cc::SurfaceHittestDelegate* delegate, 176 cc::FrameSinkId FrameSinkIdAtPoint(cc::SurfaceHittestDelegate* delegate,
176 const gfx::Point& point, 177 const gfx::Point& point,
177 gfx::Point* transformed_point) override; 178 gfx::Point* transformed_point) override;
178 void ProcessMouseEvent(const blink::WebMouseEvent& event, 179 void ProcessMouseEvent(const blink::WebMouseEvent& event,
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after
586 std::unique_ptr<RenderWidgetHostViewEventHandler> event_handler_; 587 std::unique_ptr<RenderWidgetHostViewEventHandler> event_handler_;
587 588
588 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; 589 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_;
589 590
590 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 591 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
591 }; 592 };
592 593
593 } // namespace content 594 } // namespace content
594 595
595 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 596 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698