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

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

Issue 2096493002: Make cc::CompositorFrames movable [Part 1 of 2] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Dana's nits Created 4 years, 6 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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 std::unique_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget() 181 std::unique_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget()
182 override; 182 override;
183 InputEventAckState FilterInputEvent( 183 InputEventAckState FilterInputEvent(
184 const blink::WebInputEvent& input_event) override; 184 const blink::WebInputEvent& input_event) override;
185 BrowserAccessibilityManager* CreateBrowserAccessibilityManager( 185 BrowserAccessibilityManager* CreateBrowserAccessibilityManager(
186 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override; 186 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override;
187 gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget() override; 187 gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget() override;
188 gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible() override; 188 gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible() override;
189 bool LockMouse() override; 189 bool LockMouse() override;
190 void UnlockMouse() override; 190 void UnlockMouse() override;
191 void OnSwapCompositorFrame( 191 void OnSwapCompositorFrame(uint32_t output_surface_id,
192 uint32_t output_surface_id, 192 cc::CompositorFrame frame) override;
193 std::unique_ptr<cc::CompositorFrame> frame) override;
194 void ClearCompositorFrame() override; 193 void ClearCompositorFrame() override;
195 void DidStopFlinging() override; 194 void DidStopFlinging() override;
196 void OnDidNavigateMainFrameToNewPage() override; 195 void OnDidNavigateMainFrameToNewPage() override;
197 void LockCompositingSurface() override; 196 void LockCompositingSurface() override;
198 void UnlockCompositingSurface() override; 197 void UnlockCompositingSurface() override;
199 uint32_t GetSurfaceIdNamespace() override; 198 uint32_t GetSurfaceIdNamespace() override;
200 uint32_t SurfaceIdNamespaceAtPoint(cc::SurfaceHittestDelegate* delegate, 199 uint32_t SurfaceIdNamespaceAtPoint(cc::SurfaceHittestDelegate* delegate,
201 const gfx::Point& point, 200 const gfx::Point& point,
202 gfx::Point* transformed_point) override; 201 gfx::Point* transformed_point) override;
203 void ProcessMouseEvent(const blink::WebMouseEvent& event, 202 void ProcessMouseEvent(const blink::WebMouseEvent& event,
(...skipping 488 matching lines...) Expand 10 before | Expand all | Expand 10 after
692 bool disable_input_event_router_for_testing_; 691 bool disable_input_event_router_for_testing_;
693 692
694 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; 693 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_;
695 694
696 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 695 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
697 }; 696 };
698 697
699 } // namespace content 698 } // namespace content
700 699
701 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 700 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698