| 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_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ | 5 #ifndef CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ |
| 6 #define CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ | 6 #define CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ |
| 7 | 7 |
| 8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/process/kill.h" | 9 #include "base/process/kill.h" |
| 10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
| (...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 276 // Called when a mousewheel event was not processed by the renderer. | 276 // Called when a mousewheel event was not processed by the renderer. |
| 277 virtual void UnhandledWheelEvent(const WebKit::WebMouseWheelEvent& event) = 0; | 277 virtual void UnhandledWheelEvent(const WebKit::WebMouseWheelEvent& event) = 0; |
| 278 | 278 |
| 279 // Called prior to forwarding input event messages to the renderer, giving | 279 // Called prior to forwarding input event messages to the renderer, giving |
| 280 // the view a chance to perform in-process event filtering or processing. | 280 // the view a chance to perform in-process event filtering or processing. |
| 281 // Return values of |NOT_CONSUMED| or |UNKNOWN| will result in |input_event| | 281 // Return values of |NOT_CONSUMED| or |UNKNOWN| will result in |input_event| |
| 282 // being forwarded. | 282 // being forwarded. |
| 283 virtual InputEventAckState FilterInputEvent( | 283 virtual InputEventAckState FilterInputEvent( |
| 284 const WebKit::WebInputEvent& input_event) = 0; | 284 const WebKit::WebInputEvent& input_event) = 0; |
| 285 | 285 |
| 286 virtual void GestureEventAck(int gesture_event_type) = 0; | 286 virtual void GestureEventAck(int gesture_event_type, |
| 287 InputEventAckState ack_result) = 0; |
| 287 | 288 |
| 288 virtual void OnOverscrolled(gfx::Vector2dF accumulated_overscroll, | 289 virtual void OnOverscrolled(gfx::Vector2dF accumulated_overscroll, |
| 289 gfx::Vector2dF current_fling_velocity) = 0; | 290 gfx::Vector2dF current_fling_velocity) = 0; |
| 290 | 291 |
| 291 virtual void SetPopupType(WebKit::WebPopupType popup_type) = 0; | 292 virtual void SetPopupType(WebKit::WebPopupType popup_type) = 0; |
| 292 virtual WebKit::WebPopupType GetPopupType() = 0; | 293 virtual WebKit::WebPopupType GetPopupType() = 0; |
| 293 | 294 |
| 294 virtual BrowserAccessibilityManager* | 295 virtual BrowserAccessibilityManager* |
| 295 GetBrowserAccessibilityManager() const = 0; | 296 GetBrowserAccessibilityManager() const = 0; |
| 296 virtual void OnAccessibilityNotifications( | 297 virtual void OnAccessibilityNotifications( |
| (...skipping 30 matching lines...) Expand all Loading... |
| 327 | 328 |
| 328 #if defined(OS_WIN) && defined(USE_AURA) | 329 #if defined(OS_WIN) && defined(USE_AURA) |
| 329 virtual void SetParentNativeViewAccessible( | 330 virtual void SetParentNativeViewAccessible( |
| 330 gfx::NativeViewAccessible accessible_parent) = 0; | 331 gfx::NativeViewAccessible accessible_parent) = 0; |
| 331 #endif | 332 #endif |
| 332 }; | 333 }; |
| 333 | 334 |
| 334 } // namespace content | 335 } // namespace content |
| 335 | 336 |
| 336 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ | 337 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ |
| OLD | NEW |