| 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 const WebKit::WebMouseWheelEvent& event) OVERRIDE; | 60 const WebKit::WebMouseWheelEvent& event) OVERRIDE; |
| 61 virtual void SetPopupType(WebKit::WebPopupType popup_type) OVERRIDE; | 61 virtual void SetPopupType(WebKit::WebPopupType popup_type) OVERRIDE; |
| 62 virtual WebKit::WebPopupType GetPopupType() OVERRIDE; | 62 virtual WebKit::WebPopupType GetPopupType() OVERRIDE; |
| 63 virtual BrowserAccessibilityManager* | 63 virtual BrowserAccessibilityManager* |
| 64 GetBrowserAccessibilityManager() const OVERRIDE; | 64 GetBrowserAccessibilityManager() const OVERRIDE; |
| 65 virtual void ProcessAckedTouchEvent(const WebKit::WebTouchEvent& touch, | 65 virtual void ProcessAckedTouchEvent(const WebKit::WebTouchEvent& touch, |
| 66 InputEventAckState ack_result) OVERRIDE; | 66 InputEventAckState ack_result) OVERRIDE; |
| 67 virtual SmoothScrollGesture* CreateSmoothScrollGesture( | 67 virtual SmoothScrollGesture* CreateSmoothScrollGesture( |
| 68 bool scroll_down, int pixels_to_scroll, int mouse_event_x, | 68 bool scroll_down, int pixels_to_scroll, int mouse_event_x, |
| 69 int mouse_event_y) OVERRIDE; | 69 int mouse_event_y) OVERRIDE; |
| 70 virtual bool CanSubscribeFrame() const OVERRIDE; |
| 71 virtual void BeginFrameSubscription( |
| 72 RenderWidgetHostViewFrameSubscriber* subscriber) OVERRIDE; |
| 73 virtual void EndFrameSubscription() OVERRIDE; |
| 70 virtual void OnSwapCompositorFrame( | 74 virtual void OnSwapCompositorFrame( |
| 71 const cc::CompositorFrame& frame) OVERRIDE {} | 75 const cc::CompositorFrame& frame) OVERRIDE {} |
| 72 | 76 |
| 73 void SetBrowserAccessibilityManager(BrowserAccessibilityManager* manager); | 77 void SetBrowserAccessibilityManager(BrowserAccessibilityManager* manager); |
| 74 | 78 |
| 75 // Notification that a resize or move session ended on the native widget. | 79 // Notification that a resize or move session ended on the native widget. |
| 76 void UpdateScreenInfo(gfx::NativeView view); | 80 void UpdateScreenInfo(gfx::NativeView view); |
| 77 | 81 |
| 78 #if defined(OS_WIN) | 82 #if defined(OS_WIN) |
| 79 // The callback that DetachPluginsHelper calls for each child window. Call | 83 // The callback that DetachPluginsHelper calls for each child window. Call |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 | 138 |
| 135 gfx::Rect current_display_area_; | 139 gfx::Rect current_display_area_; |
| 136 float current_device_scale_factor_; | 140 float current_device_scale_factor_; |
| 137 | 141 |
| 138 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); | 142 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); |
| 139 }; | 143 }; |
| 140 | 144 |
| 141 } // namespace content | 145 } // namespace content |
| 142 | 146 |
| 143 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ | 147 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ |
| OLD | NEW |