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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <atlbase.h> | 9 #include <atlbase.h> |
10 #include <atlapp.h> | 10 #include <atlapp.h> |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
215 virtual void SetScrollOffsetPinning( | 215 virtual void SetScrollOffsetPinning( |
216 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; | 216 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; |
217 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; | 217 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; |
218 virtual void AcceleratedSurfaceBuffersSwapped( | 218 virtual void AcceleratedSurfaceBuffersSwapped( |
219 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, | 219 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, |
220 int gpu_host_id) OVERRIDE; | 220 int gpu_host_id) OVERRIDE; |
221 virtual void AcceleratedSurfacePostSubBuffer( | 221 virtual void AcceleratedSurfacePostSubBuffer( |
222 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, | 222 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, |
223 int gpu_host_id) OVERRIDE; | 223 int gpu_host_id) OVERRIDE; |
224 virtual void AcceleratedSurfaceSuspend() OVERRIDE; | 224 virtual void AcceleratedSurfaceSuspend() OVERRIDE; |
| 225 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE; |
225 virtual void OnAccessibilityNotifications( | 226 virtual void OnAccessibilityNotifications( |
226 const std::vector<AccessibilityHostMsg_NotificationParams>& params | 227 const std::vector<AccessibilityHostMsg_NotificationParams>& params |
227 ) OVERRIDE; | 228 ) OVERRIDE; |
228 virtual bool LockMouse() OVERRIDE; | 229 virtual bool LockMouse() OVERRIDE; |
229 virtual void UnlockMouse() OVERRIDE; | 230 virtual void UnlockMouse() OVERRIDE; |
230 virtual void SetClickthroughRegion(SkRegion* region) OVERRIDE; | 231 virtual void SetClickthroughRegion(SkRegion* region) OVERRIDE; |
231 | 232 |
232 // Implementation of content::NotificationObserver: | 233 // Implementation of content::NotificationObserver: |
233 virtual void Observe(int type, | 234 virtual void Observe(int type, |
234 const content::NotificationSource& source, | 235 const content::NotificationSource& source, |
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
573 | 574 |
574 // Are touch events currently enabled? | 575 // Are touch events currently enabled? |
575 bool touch_events_enabled_; | 576 bool touch_events_enabled_; |
576 | 577 |
577 gfx::ScopedSysColorChangeListener sys_color_change_listener_; | 578 gfx::ScopedSysColorChangeListener sys_color_change_listener_; |
578 | 579 |
579 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); | 580 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); |
580 }; | 581 }; |
581 | 582 |
582 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ | 583 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ |
OLD | NEW |