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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 int error_code) OVERRIDE; | 192 int error_code) OVERRIDE; |
193 // called by WebContentsImpl before DestroyWindow | 193 // called by WebContentsImpl before DestroyWindow |
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::PlatformCanvas* output) OVERRIDE; | 202 skia::PlatformBitmap* output) OVERRIDE; |
203 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; | 203 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; |
204 virtual void ProcessTouchAck(WebKit::WebInputEvent::Type type, | 204 virtual void ProcessTouchAck(WebKit::WebInputEvent::Type type, |
205 bool processed) OVERRIDE; | 205 bool processed) OVERRIDE; |
206 virtual void SetHasHorizontalScrollbar( | 206 virtual void SetHasHorizontalScrollbar( |
207 bool has_horizontal_scrollbar) OVERRIDE; | 207 bool has_horizontal_scrollbar) OVERRIDE; |
208 virtual void SetScrollOffsetPinning( | 208 virtual void SetScrollOffsetPinning( |
209 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; | 209 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; |
210 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; | 210 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; |
211 virtual void AcceleratedSurfaceBuffersSwapped( | 211 virtual void AcceleratedSurfaceBuffersSwapped( |
212 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, | 212 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, |
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
578 bool touch_events_enabled_; | 578 bool touch_events_enabled_; |
579 | 579 |
580 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; | 580 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; |
581 | 581 |
582 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); | 582 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); |
583 }; | 583 }; |
584 | 584 |
585 } // namespace content | 585 } // namespace content |
586 | 586 |
587 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ | 587 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ |
OLD | NEW |