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

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

Issue 2050033002: Revert of Remove enable/disable wheel gestures setting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@can_scroll_remove
Patch Set: 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_MAC_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 #include <IOSurface/IOSurface.h> 9 #include <IOSurface/IOSurface.h>
10 #include <stddef.h> 10 #include <stddef.h>
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 322
323 bool HasAcceleratedSurface(const gfx::Size& desired_size) override; 323 bool HasAcceleratedSurface(const gfx::Size& desired_size) override;
324 void GetScreenInfo(blink::WebScreenInfo* results) override; 324 void GetScreenInfo(blink::WebScreenInfo* results) override;
325 bool GetScreenColorProfile(std::vector<char>* color_profile) override; 325 bool GetScreenColorProfile(std::vector<char>* color_profile) override;
326 gfx::Rect GetBoundsInRootWindow() override; 326 gfx::Rect GetBoundsInRootWindow() override;
327 void LockCompositingSurface() override; 327 void LockCompositingSurface() override;
328 void UnlockCompositingSurface() override; 328 void UnlockCompositingSurface() override;
329 329
330 bool LockMouse() override; 330 bool LockMouse() override;
331 void UnlockMouse() override; 331 void UnlockMouse() override;
332 void WheelEventAck(const blink::WebMouseWheelEvent& event,
333 InputEventAckState ack_result) override;
332 void GestureEventAck(const blink::WebGestureEvent& event, 334 void GestureEventAck(const blink::WebGestureEvent& event,
333 InputEventAckState ack_result) override; 335 InputEventAckState ack_result) override;
334 336
335 std::unique_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget() 337 std::unique_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget()
336 override; 338 override;
337 339
338 uint32_t GetSurfaceIdNamespace() override; 340 uint32_t GetSurfaceIdNamespace() override;
339 uint32_t SurfaceIdNamespaceAtPoint(cc::SurfaceHittestDelegate* delegate, 341 uint32_t SurfaceIdNamespaceAtPoint(cc::SurfaceHittestDelegate* delegate,
340 const gfx::Point& point, 342 const gfx::Point& point,
341 gfx::Point* transformed_point) override; 343 gfx::Point* transformed_point) override;
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
620 622
621 // Factory used to safely scope delayed calls to ShutdownHost(). 623 // Factory used to safely scope delayed calls to ShutdownHost().
622 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_; 624 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_;
623 625
624 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); 626 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac);
625 }; 627 };
626 628
627 } // namespace content 629 } // namespace content
628 630
629 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 631 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698