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

Side by Side Diff: chrome/browser/ui/ash/accessibility/automation_manager_ash.cc

Issue 595413002: Draw an accessibility focus ring around the focused object in ChromeVox Next. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix automation browser test Created 6 years, 2 months 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "chrome/browser/ui/ash/accessibility/automation_manager_ash.h" 5 #include "chrome/browser/ui/ash/accessibility/automation_manager_ash.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/memory/singleton.h" 9 #include "base/memory/singleton.h"
10 #include "chrome/browser/browser_process.h" 10 #include "chrome/browser/browser_process.h"
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 // TODO(dtseng): Would idealy define these special desktop constants in idl. 105 // TODO(dtseng): Would idealy define these special desktop constants in idl.
106 content::AXEventNotificationDetails detail(update.node_id_to_clear, 106 content::AXEventNotificationDetails detail(update.node_id_to_clear,
107 update.nodes, 107 update.nodes,
108 event_type, 108 event_type,
109 aura_obj->GetID(), 109 aura_obj->GetID(),
110 0, /* process_id */ 110 0, /* process_id */
111 0 /* routing_id */); 111 0 /* routing_id */);
112 std::vector<content::AXEventNotificationDetails> details; 112 std::vector<content::AXEventNotificationDetails> details;
113 details.push_back(detail); 113 details.push_back(detail);
114 extensions::automation_util::DispatchAccessibilityEventsToAutomation( 114 extensions::automation_util::DispatchAccessibilityEventsToAutomation(
115 details, context); 115 details, context, gfx::Vector2d());
116 } 116 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698