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

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

Issue 291003002: Move OverscrollController to RenderWidgetHostViewAura (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix navigation screenshot Created 6 years, 7 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 <list> 9 #include <list>
10 #include <map> 10 #include <map>
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 virtual void AcceleratedSurfaceRelease() OVERRIDE; 333 virtual void AcceleratedSurfaceRelease() OVERRIDE;
334 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE; 334 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE;
335 virtual void GetScreenInfo(blink::WebScreenInfo* results) OVERRIDE; 335 virtual void GetScreenInfo(blink::WebScreenInfo* results) OVERRIDE;
336 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; 336 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE;
337 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; 337 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE;
338 338
339 virtual void SetScrollOffsetPinning( 339 virtual void SetScrollOffsetPinning(
340 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; 340 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE;
341 virtual bool LockMouse() OVERRIDE; 341 virtual bool LockMouse() OVERRIDE;
342 virtual void UnlockMouse() OVERRIDE; 342 virtual void UnlockMouse() OVERRIDE;
343 virtual void UnhandledWheelEvent( 343 virtual void WheelEventAck(const blink::WebMouseWheelEvent& event,
344 const blink::WebMouseWheelEvent& event) OVERRIDE; 344 InputEventAckState ack_result) OVERRIDE;
345 345
346 // IPC::Sender implementation. 346 // IPC::Sender implementation.
347 virtual bool Send(IPC::Message* message) OVERRIDE; 347 virtual bool Send(IPC::Message* message) OVERRIDE;
348 348
349 // SoftwareFrameManagerClient implementation: 349 // SoftwareFrameManagerClient implementation:
350 virtual void SoftwareFrameWasFreed( 350 virtual void SoftwareFrameWasFreed(
351 uint32 output_surface_id, unsigned frame_id) OVERRIDE; 351 uint32 output_surface_id, unsigned frame_id) OVERRIDE;
352 virtual void ReleaseReferencesToSoftwareFrame() OVERRIDE; 352 virtual void ReleaseReferencesToSoftwareFrame() OVERRIDE;
353 353
354 virtual SkBitmap::Config PreferredReadbackFormat() OVERRIDE; 354 virtual SkBitmap::Config PreferredReadbackFormat() OVERRIDE;
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
673 scoped_ptr<RenderWidgetHostViewFrameSubscriber> frame_subscriber_; 673 scoped_ptr<RenderWidgetHostViewFrameSubscriber> frame_subscriber_;
674 674
675 base::WeakPtrFactory<RenderWidgetHostViewMac> 675 base::WeakPtrFactory<RenderWidgetHostViewMac>
676 software_frame_weak_ptr_factory_; 676 software_frame_weak_ptr_factory_;
677 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac); 677 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewMac);
678 }; 678 };
679 679
680 } // namespace content 680 } // namespace content
681 681
682 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_ 682 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698