| 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_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <deque> | 9 #include <deque> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 307 | 307 |
| 308 // Relay a request from assistive technology to make a given object | 308 // Relay a request from assistive technology to make a given object |
| 309 // visible by scrolling as many scrollable containers as necessary. | 309 // visible by scrolling as many scrollable containers as necessary. |
| 310 // In addition, if it's not possible to make the entire object visible, | 310 // In addition, if it's not possible to make the entire object visible, |
| 311 // scroll so that the |subfocus| rect is visible at least. The subfocus | 311 // scroll so that the |subfocus| rect is visible at least. The subfocus |
| 312 // rect is in local coordinates of the object itself. | 312 // rect is in local coordinates of the object itself. |
| 313 void AccessibilityScrollToMakeVisible( | 313 void AccessibilityScrollToMakeVisible( |
| 314 int acc_obj_id, gfx::Rect subfocus); | 314 int acc_obj_id, gfx::Rect subfocus); |
| 315 | 315 |
| 316 // Relay a request from assistive technology to move a given object | 316 // Relay a request from assistive technology to move a given object |
| 317 // to a specific location, in the tab content area coordinate space, i.e. | 317 // to a specific location, in the WebContents area coordinate space, i.e. |
| 318 // (0, 0) is the top-left corner of the tab contents. | 318 // (0, 0) is the top-left corner of the WebContents. |
| 319 void AccessibilityScrollToPoint(int acc_obj_id, gfx::Point point); | 319 void AccessibilityScrollToPoint(int acc_obj_id, gfx::Point point); |
| 320 | 320 |
| 321 // Relay a request from assistive technology to set text selection. | 321 // Relay a request from assistive technology to set text selection. |
| 322 void AccessibilitySetTextSelection( | 322 void AccessibilitySetTextSelection( |
| 323 int acc_obj_id, int start_offset, int end_offset); | 323 int acc_obj_id, int start_offset, int end_offset); |
| 324 | 324 |
| 325 // Executes the edit command on the RenderView. | 325 // Executes the edit command on the RenderView. |
| 326 void ExecuteEditCommand(const std::string& command, | 326 void ExecuteEditCommand(const std::string& command, |
| 327 const std::string& value); | 327 const std::string& value); |
| 328 | 328 |
| (...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 705 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; | 705 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; |
| 706 | 706 |
| 707 scoped_ptr<TapSuppressionController> tap_suppression_controller_; | 707 scoped_ptr<TapSuppressionController> tap_suppression_controller_; |
| 708 | 708 |
| 709 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 709 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
| 710 }; | 710 }; |
| 711 | 711 |
| 712 } // namespace content | 712 } // namespace content |
| 713 | 713 |
| 714 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 714 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| OLD | NEW |