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

Side by Side Diff: chrome/browser/extensions/api/automation/automation_apitest.cc

Issue 1761633002: One accessibility tree per frame. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix is-richly-editable test Created 4 years, 9 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
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_predicate.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "base/files/file_path.h" 5 #include "base/files/file_path.h"
6 #include "base/location.h" 6 #include "base/location.h"
7 #include "base/path_service.h" 7 #include "base/path_service.h"
8 #include "base/single_thread_task_runner.h" 8 #include "base/single_thread_task_runner.h"
9 #include "base/strings/string_number_conversions.h" 9 #include "base/strings/string_number_conversions.h"
10 #include "base/thread_task_runner_handle.h" 10 #include "base/thread_task_runner_handle.h"
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 RunExtensionSubtest("automation/tests/desktop", "initial_focus.html")) 165 RunExtensionSubtest("automation/tests/desktop", "initial_focus.html"))
166 << message_; 166 << message_;
167 } 167 }
168 168
169 IN_PROC_BROWSER_TEST_F(AutomationApiTest, DesktopFocusWeb) { 169 IN_PROC_BROWSER_TEST_F(AutomationApiTest, DesktopFocusWeb) {
170 ASSERT_TRUE( 170 ASSERT_TRUE(
171 RunExtensionSubtest("automation/tests/desktop", "focus_web.html")) 171 RunExtensionSubtest("automation/tests/desktop", "focus_web.html"))
172 << message_; 172 << message_;
173 } 173 }
174 174
175 IN_PROC_BROWSER_TEST_F(AutomationApiTest, DesktopFocusIframe) {
176 StartEmbeddedTestServer();
177 ASSERT_TRUE(
178 RunExtensionSubtest("automation/tests/desktop", "focus_iframe.html"))
179 << message_;
180 }
181
175 IN_PROC_BROWSER_TEST_F(AutomationApiTest, DesktopFocusViews) { 182 IN_PROC_BROWSER_TEST_F(AutomationApiTest, DesktopFocusViews) {
176 AutomationManagerAura::GetInstance()->Enable(browser()->profile()); 183 AutomationManagerAura::GetInstance()->Enable(browser()->profile());
177 // Trigger the shelf subtree to be computed. 184 // Trigger the shelf subtree to be computed.
178 ash::Shell::GetInstance()->accelerator_controller()->PerformActionIfEnabled( 185 ash::Shell::GetInstance()->accelerator_controller()->PerformActionIfEnabled(
179 ash::FOCUS_SHELF); 186 ash::FOCUS_SHELF);
180 187
181 ASSERT_TRUE( 188 ASSERT_TRUE(
182 RunExtensionSubtest("automation/tests/desktop", "focus_views.html")) 189 RunExtensionSubtest("automation/tests/desktop", "focus_views.html"))
183 << message_; 190 << message_;
184 } 191 }
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 } 253 }
247 254
248 IN_PROC_BROWSER_TEST_F(AutomationApiTest, DocumentSelection) { 255 IN_PROC_BROWSER_TEST_F(AutomationApiTest, DocumentSelection) {
249 StartEmbeddedTestServer(); 256 StartEmbeddedTestServer();
250 ASSERT_TRUE( 257 ASSERT_TRUE(
251 RunExtensionSubtest("automation/tests/tabs", "document_selection.html")) 258 RunExtensionSubtest("automation/tests/tabs", "document_selection.html"))
252 << message_; 259 << message_;
253 } 260 }
254 261
255 } // namespace extensions 262 } // namespace extensions
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_predicate.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698