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_BASE_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ |
7 | 7 |
8 #if defined(OS_MACOSX) | 8 #if defined(OS_MACOSX) |
9 #include <OpenGL/OpenGL.h> | 9 #include <OpenGL/OpenGL.h> |
10 #endif | 10 #endif |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 virtual const SkBitmap& GetBackground() OVERRIDE; | 52 virtual const SkBitmap& GetBackground() OVERRIDE; |
53 virtual bool IsShowingContextMenu() const OVERRIDE; | 53 virtual bool IsShowingContextMenu() const OVERRIDE; |
54 virtual void SetShowingContextMenu(bool showing_menu) OVERRIDE; | 54 virtual void SetShowingContextMenu(bool showing_menu) OVERRIDE; |
55 virtual bool IsMouseLocked() OVERRIDE; | 55 virtual bool IsMouseLocked() OVERRIDE; |
56 virtual void UnhandledWheelEvent( | 56 virtual void UnhandledWheelEvent( |
57 const WebKit::WebMouseWheelEvent& event) OVERRIDE; | 57 const WebKit::WebMouseWheelEvent& event) OVERRIDE; |
58 virtual void SetPopupType(WebKit::WebPopupType popup_type) OVERRIDE; | 58 virtual void SetPopupType(WebKit::WebPopupType popup_type) OVERRIDE; |
59 virtual WebKit::WebPopupType GetPopupType() OVERRIDE; | 59 virtual WebKit::WebPopupType GetPopupType() OVERRIDE; |
60 virtual BrowserAccessibilityManager* | 60 virtual BrowserAccessibilityManager* |
61 GetBrowserAccessibilityManager() const OVERRIDE; | 61 GetBrowserAccessibilityManager() const OVERRIDE; |
| 62 virtual void ProcessAckedTouchEvent(const WebKit::WebTouchEvent& touch, |
| 63 bool processed) OVERRIDE; |
62 virtual SmoothScrollGesture* CreateSmoothScrollGesture( | 64 virtual SmoothScrollGesture* CreateSmoothScrollGesture( |
63 bool scroll_down, bool scroll_far, int mouse_event_x, | 65 bool scroll_down, bool scroll_far, int mouse_event_x, |
64 int mouse_event_y) OVERRIDE; | 66 int mouse_event_y) OVERRIDE; |
65 | 67 |
66 void SetBrowserAccessibilityManager(BrowserAccessibilityManager* manager); | 68 void SetBrowserAccessibilityManager(BrowserAccessibilityManager* manager); |
67 | 69 |
68 // Notification that a resize or move session ended on the native widget. | 70 // Notification that a resize or move session ended on the native widget. |
69 void UpdateScreenInfo(gfx::NativeView view); | 71 void UpdateScreenInfo(gfx::NativeView view); |
70 | 72 |
71 #if defined(OS_WIN) | 73 #if defined(OS_WIN) |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 | 129 |
128 gfx::Rect current_display_area_; | 130 gfx::Rect current_display_area_; |
129 float current_device_scale_factor_; | 131 float current_device_scale_factor_; |
130 | 132 |
131 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); | 133 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); |
132 }; | 134 }; |
133 | 135 |
134 } // namespace content | 136 } // namespace content |
135 | 137 |
136 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ | 138 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ |
OLD | NEW |