Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(469)

Unified Diff: content/browser/accessibility/browser_accessibility_manager.cc

Issue 8776030: Add IPCs to allow assistive technology to scroll the page (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/accessibility/browser_accessibility_manager.cc
===================================================================
--- content/browser/accessibility/browser_accessibility_manager.cc (revision 112764)
+++ content/browser/accessibility/browser_accessibility_manager.cc (working copy)
@@ -206,6 +206,22 @@
delegate_->AccessibilityDoDefaultAction(node.renderer_id());
}
+void BrowserAccessibilityManager::ChangeScrollPosition(
+ const BrowserAccessibility& node, int scroll_x, int scroll_y) {
+ if (delegate_) {
+ delegate_->AccessibilityChangeScrollPosition(
+ node.renderer_id(), scroll_x, scroll_y);
+ }
+}
+
+void BrowserAccessibilityManager::SetTextSelection(
+ const BrowserAccessibility& node, int start_offset, int end_offset) {
+ if (delegate_) {
+ delegate_->AccessibilitySetTextSelection(
+ node.renderer_id(), start_offset, end_offset);
+ }
+}
+
gfx::Rect BrowserAccessibilityManager::GetViewBounds() {
if (delegate_)
return delegate_->GetViewBounds();
« no previous file with comments | « content/browser/accessibility/browser_accessibility_manager.h ('k') | content/browser/renderer_host/render_widget_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698