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

Side by Side Diff: content/browser/frame_host/render_widget_host_view_guest.h

Issue 325933003: Scroll offset pinning and content size notifications were only used for the Mac overlay navigation … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 const SkBitmap::Config config) OVERRIDE; 93 const SkBitmap::Config config) OVERRIDE;
94 virtual void AcceleratedSurfaceBuffersSwapped( 94 virtual void AcceleratedSurfaceBuffersSwapped(
95 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, 95 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params,
96 int gpu_host_id) OVERRIDE; 96 int gpu_host_id) OVERRIDE;
97 virtual void AcceleratedSurfacePostSubBuffer( 97 virtual void AcceleratedSurfacePostSubBuffer(
98 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, 98 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params,
99 int gpu_host_id) OVERRIDE; 99 int gpu_host_id) OVERRIDE;
100 virtual void OnSwapCompositorFrame( 100 virtual void OnSwapCompositorFrame(
101 uint32 output_surface_id, 101 uint32 output_surface_id,
102 scoped_ptr<cc::CompositorFrame> frame) OVERRIDE; 102 scoped_ptr<cc::CompositorFrame> frame) OVERRIDE;
103 virtual void SetScrollOffsetPinning(
104 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE;
105 #if defined(USE_AURA) 103 #if defined(USE_AURA)
106 virtual void ProcessAckedTouchEvent( 104 virtual void ProcessAckedTouchEvent(
107 const TouchEventWithLatencyInfo& touch, 105 const TouchEventWithLatencyInfo& touch,
108 InputEventAckState ack_result) OVERRIDE; 106 InputEventAckState ack_result) OVERRIDE;
109 #endif 107 #endif
110 virtual bool LockMouse() OVERRIDE; 108 virtual bool LockMouse() OVERRIDE;
111 virtual void UnlockMouse() OVERRIDE; 109 virtual void UnlockMouse() OVERRIDE;
112 virtual void GetScreenInfo(blink::WebScreenInfo* results) OVERRIDE; 110 virtual void GetScreenInfo(blink::WebScreenInfo* results) OVERRIDE;
113 111
114 #if defined(OS_MACOSX) 112 #if defined(OS_MACOSX)
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 RenderWidgetHostViewBase* platform_view_; 172 RenderWidgetHostViewBase* platform_view_;
175 #if defined(USE_AURA) 173 #if defined(USE_AURA)
176 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; 174 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_;
177 #endif 175 #endif
178 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); 176 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest);
179 }; 177 };
180 178
181 } // namespace content 179 } // namespace content
182 180
183 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ 181 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698