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

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

Issue 2144733005: [WIP] cc: Plumb SurfaceId from clients Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Ensure only SurfaceFactoy and tests can update hierarchy Created 4 years, 5 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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 override; 176 override;
177 InputEventAckState FilterInputEvent( 177 InputEventAckState FilterInputEvent(
178 const blink::WebInputEvent& input_event) override; 178 const blink::WebInputEvent& input_event) override;
179 BrowserAccessibilityManager* CreateBrowserAccessibilityManager( 179 BrowserAccessibilityManager* CreateBrowserAccessibilityManager(
180 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override; 180 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override;
181 gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget() override; 181 gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget() override;
182 gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible() override; 182 gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible() override;
183 bool LockMouse() override; 183 bool LockMouse() override;
184 void UnlockMouse() override; 184 void UnlockMouse() override;
185 void OnSwapCompositorFrame(uint32_t output_surface_id, 185 void OnSwapCompositorFrame(uint32_t output_surface_id,
186 const cc::SurfaceId& surface_id,
186 cc::CompositorFrame frame) override; 187 cc::CompositorFrame frame) override;
187 void ClearCompositorFrame() override; 188 void ClearCompositorFrame() override;
188 void DidStopFlinging() override; 189 void DidStopFlinging() override;
189 void OnDidNavigateMainFrameToNewPage() override; 190 void OnDidNavigateMainFrameToNewPage() override;
190 void LockCompositingSurface() override; 191 void LockCompositingSurface() override;
191 void UnlockCompositingSurface() override; 192 void UnlockCompositingSurface() override;
192 uint32_t GetSurfaceClientId() override; 193 uint32_t GetSurfaceClientId() override;
193 uint32_t SurfaceClientIdAtPoint(cc::SurfaceHittestDelegate* delegate, 194 uint32_t SurfaceClientIdAtPoint(cc::SurfaceHittestDelegate* delegate,
194 const gfx::Point& point, 195 const gfx::Point& point,
195 gfx::Point* transformed_point) override; 196 gfx::Point* transformed_point) override;
(...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after
685 bool disable_input_event_router_for_testing_; 686 bool disable_input_event_router_for_testing_;
686 687
687 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; 688 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_;
688 689
689 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 690 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
690 }; 691 };
691 692
692 } // namespace content 693 } // namespace content
693 694
694 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 695 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698