| 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_util.h" | 9 #include "base/process_util.h" |
| 10 #include "base/string16.h" | 10 #include "base/string16.h" |
| (...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 273 // Called when a mousewheel event was not processed by the renderer. | 273 // Called when a mousewheel event was not processed by the renderer. |
| 274 virtual void UnhandledWheelEvent(const WebKit::WebMouseWheelEvent& event) = 0; | 274 virtual void UnhandledWheelEvent(const WebKit::WebMouseWheelEvent& event) = 0; |
| 275 | 275 |
| 276 // Called prior to forwarding input event messages to the renderer, giving | 276 // Called prior to forwarding input event messages to the renderer, giving |
| 277 // the view a chance to perform in-process event filtering or processing. | 277 // the view a chance to perform in-process event filtering or processing. |
| 278 // Return values of |NOT_CONSUMED| or |UNKNOWN| will result in |input_event| | 278 // Return values of |NOT_CONSUMED| or |UNKNOWN| will result in |input_event| |
| 279 // being forwarded. | 279 // being forwarded. |
| 280 virtual InputEventAckState FilterInputEvent( | 280 virtual InputEventAckState FilterInputEvent( |
| 281 const WebKit::WebInputEvent& input_event) = 0; | 281 const WebKit::WebInputEvent& input_event) = 0; |
| 282 | 282 |
| 283 virtual void GestureEventAck(int gesture_event_type) = 0; |
| 284 |
| 283 virtual void SetPopupType(WebKit::WebPopupType popup_type) = 0; | 285 virtual void SetPopupType(WebKit::WebPopupType popup_type) = 0; |
| 284 virtual WebKit::WebPopupType GetPopupType() = 0; | 286 virtual WebKit::WebPopupType GetPopupType() = 0; |
| 285 | 287 |
| 286 virtual BrowserAccessibilityManager* | 288 virtual BrowserAccessibilityManager* |
| 287 GetBrowserAccessibilityManager() const = 0; | 289 GetBrowserAccessibilityManager() const = 0; |
| 288 virtual void OnAccessibilityNotifications( | 290 virtual void OnAccessibilityNotifications( |
| 289 const std::vector<AccessibilityHostMsg_NotificationParams>& params) = 0; | 291 const std::vector<AccessibilityHostMsg_NotificationParams>& params) = 0; |
| 290 | 292 |
| 291 #if defined(OS_MACOSX) | 293 #if defined(OS_MACOSX) |
| 292 // Called just before GetBackingStore blocks for an updated frame. | 294 // Called just before GetBackingStore blocks for an updated frame. |
| (...skipping 22 matching lines...) Expand all Loading... |
| 315 #endif | 317 #endif |
| 316 | 318 |
| 317 #if defined(OS_WIN) && !defined(USE_AURA) | 319 #if defined(OS_WIN) && !defined(USE_AURA) |
| 318 virtual void WillWmDestroy() = 0; | 320 virtual void WillWmDestroy() = 0; |
| 319 #endif | 321 #endif |
| 320 }; | 322 }; |
| 321 | 323 |
| 322 } // namespace content | 324 } // namespace content |
| 323 | 325 |
| 324 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ | 326 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ |
| OLD | NEW |