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

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

Issue 1489913003: Handle pointer-events: none in browser process hittesting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: implement piman@'s suggestion Created 4 years, 11 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 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 bool LockMouse() override; 186 bool LockMouse() override;
187 void UnlockMouse() override; 187 void UnlockMouse() override;
188 void OnSwapCompositorFrame(uint32_t output_surface_id, 188 void OnSwapCompositorFrame(uint32_t output_surface_id,
189 scoped_ptr<cc::CompositorFrame> frame) override; 189 scoped_ptr<cc::CompositorFrame> frame) override;
190 void ClearCompositorFrame() override; 190 void ClearCompositorFrame() override;
191 void DidStopFlinging() override; 191 void DidStopFlinging() override;
192 void OnDidNavigateMainFrameToNewPage() override; 192 void OnDidNavigateMainFrameToNewPage() override;
193 void LockCompositingSurface() override; 193 void LockCompositingSurface() override;
194 void UnlockCompositingSurface() override; 194 void UnlockCompositingSurface() override;
195 uint32_t GetSurfaceIdNamespace() override; 195 uint32_t GetSurfaceIdNamespace() override;
196 uint32_t SurfaceIdNamespaceAtPoint(const gfx::Point& point, 196 uint32_t SurfaceIdNamespaceAtPoint(cc::SurfaceHittestDelegate* delegate,
197 const gfx::Point& point,
197 gfx::Point* transformed_point) override; 198 gfx::Point* transformed_point) override;
198 void ProcessMouseEvent(const blink::WebMouseEvent& event) override; 199 void ProcessMouseEvent(const blink::WebMouseEvent& event) override;
199 void ProcessMouseWheelEvent(const blink::WebMouseWheelEvent& event) override; 200 void ProcessMouseWheelEvent(const blink::WebMouseWheelEvent& event) override;
200 void ProcessTouchEvent(const blink::WebTouchEvent& event, 201 void ProcessTouchEvent(const blink::WebTouchEvent& event,
201 const ui::LatencyInfo& latency) override; 202 const ui::LatencyInfo& latency) override;
202 void TransformPointToLocalCoordSpace(const gfx::Point& point, 203 void TransformPointToLocalCoordSpace(const gfx::Point& point,
203 cc::SurfaceId original_surface, 204 cc::SurfaceId original_surface,
204 gfx::Point* transformed_point) override; 205 gfx::Point* transformed_point) override;
205 206
206 #if defined(OS_WIN) 207 #if defined(OS_WIN)
(...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after
686 float device_scale_factor_; 687 float device_scale_factor_;
687 688
688 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; 689 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_;
689 690
690 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 691 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
691 }; 692 };
692 693
693 } // namespace content 694 } // namespace content
694 695
695 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 696 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698