| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 virtual void UnhandledWheelEvent( | 198 virtual void UnhandledWheelEvent( |
| 199 const WebKit::WebMouseWheelEvent& event) OVERRIDE; | 199 const WebKit::WebMouseWheelEvent& event) OVERRIDE; |
| 200 virtual void SetHasHorizontalScrollbar( | 200 virtual void SetHasHorizontalScrollbar( |
| 201 bool has_horizontal_scrollbar) OVERRIDE; | 201 bool has_horizontal_scrollbar) OVERRIDE; |
| 202 virtual void SetScrollOffsetPinning( | 202 virtual void SetScrollOffsetPinning( |
| 203 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; | 203 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; |
| 204 virtual gfx::PluginWindowHandle GetCompositingSurface() OVERRIDE; | 204 virtual gfx::PluginWindowHandle GetCompositingSurface() OVERRIDE; |
| 205 virtual void AcceleratedSurfaceBuffersSwapped( | 205 virtual void AcceleratedSurfaceBuffersSwapped( |
| 206 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, | 206 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, |
| 207 int gpu_host_id) OVERRIDE; | 207 int gpu_host_id) OVERRIDE; |
| 208 virtual void AcceleratedSurfacePostSubBuffer( |
| 209 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, |
| 210 int gpu_host_id) OVERRIDE; |
| 208 virtual void OnAccessibilityNotifications( | 211 virtual void OnAccessibilityNotifications( |
| 209 const std::vector<ViewHostMsg_AccessibilityNotification_Params>& params | 212 const std::vector<ViewHostMsg_AccessibilityNotification_Params>& params |
| 210 ) OVERRIDE; | 213 ) OVERRIDE; |
| 211 virtual bool LockMouse() OVERRIDE; | 214 virtual bool LockMouse() OVERRIDE; |
| 212 virtual void UnlockMouse() OVERRIDE; | 215 virtual void UnlockMouse() OVERRIDE; |
| 213 | 216 |
| 214 // Implementation of content::NotificationObserver: | 217 // Implementation of content::NotificationObserver: |
| 215 virtual void Observe(int type, | 218 virtual void Observe(int type, |
| 216 const content::NotificationSource& source, | 219 const content::NotificationSource& source, |
| 217 const content::NotificationDetails& details) OVERRIDE; | 220 const content::NotificationDetails& details) OVERRIDE; |
| (...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 494 // duplicate lbutton down messages to the renderer. | 497 // duplicate lbutton down messages to the renderer. |
| 495 bool ignore_next_lbutton_message_at_same_location; | 498 bool ignore_next_lbutton_message_at_same_location; |
| 496 // The location of the last WM_POINTERDOWN message. We ignore the subsequent | 499 // The location of the last WM_POINTERDOWN message. We ignore the subsequent |
| 497 // lbutton down only if the locations match. | 500 // lbutton down only if the locations match. |
| 498 LPARAM last_pointer_down_location_; | 501 LPARAM last_pointer_down_location_; |
| 499 | 502 |
| 500 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); | 503 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); |
| 501 }; | 504 }; |
| 502 | 505 |
| 503 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ | 506 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ |
| OLD | NEW |