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

Unified Diff: ui/views/accessibility/ax_view_obj_wrapper.cc

Issue 2572573002: Hook up make visible action for views (Closed)
Patch Set: Hook up make visible action for views Created 4 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
« no previous file with comments | « chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_predicate.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/accessibility/ax_view_obj_wrapper.cc
diff --git a/ui/views/accessibility/ax_view_obj_wrapper.cc b/ui/views/accessibility/ax_view_obj_wrapper.cc
index d2a496f72989f32663e677f6a2f4f385b3eaf59b..75d7545ddade96f7ddd35c9b7174cdedcee1a212 100644
--- a/ui/views/accessibility/ax_view_obj_wrapper.cc
+++ b/ui/views/accessibility/ax_view_obj_wrapper.cc
@@ -79,7 +79,7 @@ void AXViewObjWrapper::Focus() {
}
void AXViewObjWrapper::MakeVisible() {
- // TODO(dtseng): Implement.
+ view_->ScrollRectToVisible(view_->GetLocalBounds());
}
void AXViewObjWrapper::SetSelection(int32_t start, int32_t end) {
« no previous file with comments | « chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_predicate.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698