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

Unified Diff: chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc

Issue 2682393004: Remove non-MD test coverage from tests in chrome/browser/chromeos/ (Closed)
Patch Set: Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/chromeos/policy/device_system_use_24hour_clock_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc
diff --git a/chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc b/chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc
index fb835af6960c7cc42af12228a581c81f9b77769d..8cc8410cd15296e0fcfe6fcf38d010aa74a8bcc2 100644
--- a/chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc
+++ b/chrome/browser/chromeos/accessibility/spoken_feedback_browsertest.cc
@@ -7,7 +7,6 @@
#include "ash/common/accelerators/accelerator_controller.h"
#include "ash/common/accelerators/accelerator_table.h"
#include "ash/common/accessibility_types.h"
-#include "ash/common/material_design/material_design_controller.h"
#include "ash/common/system/tray/system_tray.h"
#include "ash/common/wm_shell.h"
#include "ash/shell.h"
@@ -438,13 +437,6 @@ IN_PROC_BROWSER_TEST_P(SpokenFeedbackTest, NavigateSystemTray) {
}
SendKeyPress(ui::VKEY_RETURN);
- if (!ash::MaterialDesignController::IsSystemTrayMenuMaterial()) {
- while (true) {
- if (base::MatchPattern(speech_monitor_.GetNextUtterance(), "*Bluetooth"))
- break;
- }
- }
-
// Navigate to return to previous menu button and press it.
while (true) {
std::string utterance = speech_monitor_.GetNextUtterance();
@@ -456,13 +448,8 @@ IN_PROC_BROWSER_TEST_P(SpokenFeedbackTest, NavigateSystemTray) {
while (true) {
std::string utterance = speech_monitor_.GetNextUtterance();
- if (ash::MaterialDesignController::IsSystemTrayMenuMaterial()) {
- if (base::MatchPattern(utterance, "Bluetooth*"))
- break;
- } else {
- if (base::MatchPattern(utterance, "*Bluetooth"))
- break;
- }
+ if (base::MatchPattern(utterance, "Bluetooth*"))
+ break;
}
}
« no previous file with comments | « no previous file | chrome/browser/chromeos/policy/device_system_use_24hour_clock_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698