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

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

Issue 1349813002: Enable pinch-zoom telemetry on Mac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@telemetry
Patch Set: feedback Created 5 years, 3 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 <list> 10 #include <list>
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 void GetScreenInfo(blink::WebScreenInfo* results) override; 334 void GetScreenInfo(blink::WebScreenInfo* results) override;
335 bool GetScreenColorProfile(std::vector<char>* color_profile) override; 335 bool GetScreenColorProfile(std::vector<char>* color_profile) override;
336 gfx::Rect GetBoundsInRootWindow() override; 336 gfx::Rect GetBoundsInRootWindow() override;
337 gfx::GLSurfaceHandle GetCompositingSurface() override; 337 gfx::GLSurfaceHandle GetCompositingSurface() override;
338 338
339 bool LockMouse() override; 339 bool LockMouse() override;
340 void UnlockMouse() override; 340 void UnlockMouse() override;
341 void WheelEventAck(const blink::WebMouseWheelEvent& event, 341 void WheelEventAck(const blink::WebMouseWheelEvent& event,
342 InputEventAckState ack_result) override; 342 InputEventAckState ack_result) override;
343 343
344 scoped_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget() override;
345
344 uint32_t GetSurfaceIdNamespace() override; 346 uint32_t GetSurfaceIdNamespace() override;
345 uint32_t SurfaceIdNamespaceAtPoint(const gfx::Point& point, 347 uint32_t SurfaceIdNamespaceAtPoint(const gfx::Point& point,
346 gfx::Point* transformed_point) override; 348 gfx::Point* transformed_point) override;
347 void ProcessMouseEvent(const blink::WebMouseEvent& event) override; 349 void ProcessMouseEvent(const blink::WebMouseEvent& event) override;
348 void ProcessMouseWheelEvent(const blink::WebMouseWheelEvent& event) override; 350 void ProcessMouseWheelEvent(const blink::WebMouseWheelEvent& event) override;
349 351
350 // IPC::Sender implementation. 352 // IPC::Sender implementation.
351 bool Send(IPC::Message* message) override; 353 bool Send(IPC::Message* message) override;
352 354
353 // gfx::DisplayObserver implementation. 355 // gfx::DisplayObserver implementation.
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
594 596
595 // Factory used to safely scope delayed calls to ShutdownHost(). 597 // Factory used to safely scope delayed calls to ShutdownHost().
596 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_; 598 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_;
597 599
598 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); 600 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac);
599 }; 601 };
600 602
601 } // namespace content 603 } // namespace content
602 604
603 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 605 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698