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

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

Issue 2658293002: content: Remove Lock/Unlock CompositingSurface API from RWH. (Closed)
Patch Set: last_frame_info Created 3 years, 10 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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override; 164 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override;
165 gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget() override; 165 gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget() override;
166 gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible() override; 166 gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible() override;
167 bool LockMouse() override; 167 bool LockMouse() override;
168 void UnlockMouse() override; 168 void UnlockMouse() override;
169 void OnSwapCompositorFrame(uint32_t compositor_frame_sink_id, 169 void OnSwapCompositorFrame(uint32_t compositor_frame_sink_id,
170 cc::CompositorFrame frame) override; 170 cc::CompositorFrame frame) override;
171 void ClearCompositorFrame() override; 171 void ClearCompositorFrame() override;
172 void DidStopFlinging() override; 172 void DidStopFlinging() override;
173 void OnDidNavigateMainFrameToNewPage() override; 173 void OnDidNavigateMainFrameToNewPage() override;
174 void LockCompositingSurface() override;
175 void UnlockCompositingSurface() override;
176 cc::FrameSinkId GetFrameSinkId() override; 174 cc::FrameSinkId GetFrameSinkId() override;
177 cc::FrameSinkId FrameSinkIdAtPoint(cc::SurfaceHittestDelegate* delegate, 175 cc::FrameSinkId FrameSinkIdAtPoint(cc::SurfaceHittestDelegate* delegate,
178 const gfx::Point& point, 176 const gfx::Point& point,
179 gfx::Point* transformed_point) override; 177 gfx::Point* transformed_point) override;
180 void ProcessMouseEvent(const blink::WebMouseEvent& event, 178 void ProcessMouseEvent(const blink::WebMouseEvent& event,
181 const ui::LatencyInfo& latency) override; 179 const ui::LatencyInfo& latency) override;
182 void ProcessMouseWheelEvent(const blink::WebMouseWheelEvent& event, 180 void ProcessMouseWheelEvent(const blink::WebMouseWheelEvent& event,
183 const ui::LatencyInfo& latency) override; 181 const ui::LatencyInfo& latency) override;
184 void ProcessTouchEvent(const blink::WebTouchEvent& event, 182 void ProcessTouchEvent(const blink::WebTouchEvent& event,
185 const ui::LatencyInfo& latency) override; 183 const ui::LatencyInfo& latency) override;
(...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after
589 std::unique_ptr<RenderWidgetHostViewEventHandler> event_handler_; 587 std::unique_ptr<RenderWidgetHostViewEventHandler> event_handler_;
590 588
591 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; 589 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_;
592 590
593 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 591 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
594 }; 592 };
595 593
596 } // namespace content 594 } // namespace content
597 595
598 #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