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

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

Issue 2935563002: input: Remove dead code. (Closed)
Patch Set: . Created 3 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 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 BrowserAccessibilityManager* CreateBrowserAccessibilityManager( 316 BrowserAccessibilityManager* CreateBrowserAccessibilityManager(
317 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override; 317 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override;
318 gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds) override; 318 gfx::Point AccessibilityOriginInScreen(const gfx::Rect& bounds) override;
319 gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget() override; 319 gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget() override;
320 320
321 bool HasAcceleratedSurface(const gfx::Size& desired_size) override; 321 bool HasAcceleratedSurface(const gfx::Size& desired_size) override;
322 gfx::Rect GetBoundsInRootWindow() override; 322 gfx::Rect GetBoundsInRootWindow() override;
323 323
324 bool LockMouse() override; 324 bool LockMouse() override;
325 void UnlockMouse() override; 325 void UnlockMouse() override;
326 void OnSetNeedsFlushInput() override;
327 void GestureEventAck(const blink::WebGestureEvent& event, 326 void GestureEventAck(const blink::WebGestureEvent& event,
328 InputEventAckState ack_result) override; 327 InputEventAckState ack_result) override;
329 328
330 std::unique_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget() 329 std::unique_ptr<SyntheticGestureTarget> CreateSyntheticGestureTarget()
331 override; 330 override;
332 331
333 cc::FrameSinkId GetFrameSinkId() override; 332 cc::FrameSinkId GetFrameSinkId() override;
334 cc::FrameSinkId FrameSinkIdAtPoint(cc::SurfaceHittestDelegate* delegate, 333 cc::FrameSinkId FrameSinkIdAtPoint(cc::SurfaceHittestDelegate* delegate,
335 const gfx::Point& point, 334 const gfx::Point& point,
336 gfx::Point* transformed_point) override; 335 gfx::Point* transformed_point) override;
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
561 scoped_refptr<ui::DisplayLinkMac> display_link_; 560 scoped_refptr<ui::DisplayLinkMac> display_link_;
562 561
563 // The current VSync timebase and interval. This is zero until the first call 562 // The current VSync timebase and interval. This is zero until the first call
564 // to SendVSyncParametersToRenderer(), and refreshed regularly thereafter. 563 // to SendVSyncParametersToRenderer(), and refreshed regularly thereafter.
565 base::TimeTicks vsync_timebase_; 564 base::TimeTicks vsync_timebase_;
566 base::TimeDelta vsync_interval_; 565 base::TimeDelta vsync_interval_;
567 566
568 // Whether a request for begin frames has been issued. 567 // Whether a request for begin frames has been issued.
569 bool needs_begin_frames_; 568 bool needs_begin_frames_;
570 569
571 // Whether a request to flush input has been issued.
572 bool needs_flush_input_;
573
574 // The background color of the web content. This color will be drawn when the 570 // The background color of the web content. This color will be drawn when the
575 // web content is not able to draw in time. 571 // web content is not able to draw in time.
576 SkColor background_color_ = SK_ColorTRANSPARENT; 572 SkColor background_color_ = SK_ColorTRANSPARENT;
577 SkColor last_frame_root_background_color_ = SK_ColorTRANSPARENT; 573 SkColor last_frame_root_background_color_ = SK_ColorTRANSPARENT;
578 574
579 // Factory used to safely scope delayed calls to ShutdownHost(). 575 // Factory used to safely scope delayed calls to ShutdownHost().
580 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_; 576 base::WeakPtrFactory<RenderWidgetHostViewMac> weak_factory_;
581 577
582 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); 578 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac);
583 }; 579 };
584 580
585 } // namespace content 581 } // namespace content
586 582
587 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 583 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698