| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/process_util.h" | 9 #include "base/process_util.h" |
| 10 #include "base/string16.h" | 10 #include "base/string16.h" |
| (...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 237 | 237 |
| 238 virtual void SetHasHorizontalScrollbar(bool has_horizontal_scrollbar) = 0; | 238 virtual void SetHasHorizontalScrollbar(bool has_horizontal_scrollbar) = 0; |
| 239 virtual void SetScrollOffsetPinning( | 239 virtual void SetScrollOffsetPinning( |
| 240 bool is_pinned_to_left, bool is_pinned_to_right) = 0; | 240 bool is_pinned_to_left, bool is_pinned_to_right) = 0; |
| 241 | 241 |
| 242 // Return value indicates whether the mouse is locked successfully or not. | 242 // Return value indicates whether the mouse is locked successfully or not. |
| 243 virtual bool LockMouse() = 0; | 243 virtual bool LockMouse() = 0; |
| 244 virtual void UnlockMouse() = 0; | 244 virtual void UnlockMouse() = 0; |
| 245 virtual bool IsMouseLocked() = 0; | 245 virtual bool IsMouseLocked() = 0; |
| 246 | 246 |
| 247 // Called when a mousewheel event was not processed by the renderer. |
| 248 virtual void UnhandledWheelEvent(const WebKit::WebMouseWheelEvent& event) = 0; |
| 249 |
| 247 virtual void SetPopupType(WebKit::WebPopupType popup_type) = 0; | 250 virtual void SetPopupType(WebKit::WebPopupType popup_type) = 0; |
| 248 virtual WebKit::WebPopupType GetPopupType() = 0; | 251 virtual WebKit::WebPopupType GetPopupType() = 0; |
| 249 | 252 |
| 253 virtual BrowserAccessibilityManager* |
| 254 GetBrowserAccessibilityManager() const = 0; |
| 250 virtual void OnAccessibilityNotifications( | 255 virtual void OnAccessibilityNotifications( |
| 251 const std::vector<AccessibilityHostMsg_NotificationParams>& params) { | 256 const std::vector<AccessibilityHostMsg_NotificationParams>& params) { |
| 252 } | 257 } |
| 253 }; | 258 }; |
| 254 | 259 |
| 255 } // namespace content | 260 } // namespace content |
| 256 | 261 |
| 257 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ | 262 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ |
| OLD | NEW |