OLD | NEW |
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_WIN_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ |
7 | 7 |
8 #include <atlbase.h> | 8 #include <atlbase.h> |
9 #include <atlapp.h> | 9 #include <atlapp.h> |
10 #include <atlcrack.h> | 10 #include <atlcrack.h> |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 virtual void WillWmDestroy() OVERRIDE; | 194 virtual void WillWmDestroy() OVERRIDE; |
195 virtual void Destroy() OVERRIDE; | 195 virtual void Destroy() OVERRIDE; |
196 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE; | 196 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE; |
197 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; | 197 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; |
198 virtual void CopyFromCompositingSurface( | 198 virtual void CopyFromCompositingSurface( |
199 const gfx::Rect& src_subrect, | 199 const gfx::Rect& src_subrect, |
200 const gfx::Size& dst_size, | 200 const gfx::Size& dst_size, |
201 const base::Callback<void(bool)>& callback, | 201 const base::Callback<void(bool)>& callback, |
202 skia::PlatformBitmap* output) OVERRIDE; | 202 skia::PlatformBitmap* output) OVERRIDE; |
203 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; | 203 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; |
204 virtual void ProcessTouchAck(bool processed) OVERRIDE; | 204 virtual void ProcessAckedTouchEvent(const WebKit::WebTouchEvent& touch, |
| 205 bool processed) OVERRIDE; |
205 virtual void SetHasHorizontalScrollbar( | 206 virtual void SetHasHorizontalScrollbar( |
206 bool has_horizontal_scrollbar) OVERRIDE; | 207 bool has_horizontal_scrollbar) OVERRIDE; |
207 virtual void SetScrollOffsetPinning( | 208 virtual void SetScrollOffsetPinning( |
208 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; | 209 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; |
209 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; | 210 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; |
210 virtual void AcceleratedSurfaceBuffersSwapped( | 211 virtual void AcceleratedSurfaceBuffersSwapped( |
211 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, | 212 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, |
212 int gpu_host_id) OVERRIDE; | 213 int gpu_host_id) OVERRIDE; |
213 virtual void AcceleratedSurfacePostSubBuffer( | 214 virtual void AcceleratedSurfacePostSubBuffer( |
214 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, | 215 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, |
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
571 bool touch_events_enabled_; | 572 bool touch_events_enabled_; |
572 | 573 |
573 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; | 574 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; |
574 | 575 |
575 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); | 576 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); |
576 }; | 577 }; |
577 | 578 |
578 } // namespace content | 579 } // namespace content |
579 | 580 |
580 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ | 581 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ |
OLD | NEW |