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

Side by Side Diff: chrome/browser/apps/web_view_browsertest.cc

Issue 682943002: Make chrome/browser/chromeos/accessibility compile on Athena with use_ash=0 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@athena_do_not_use_ash41_scroll_end_effect
Patch Set: Created 6 years, 1 month 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/path_service.h" 5 #include "base/path_service.h"
6 #include "base/strings/stringprintf.h" 6 #include "base/strings/stringprintf.h"
7 #include "base/strings/utf_string_conversions.h" 7 #include "base/strings/utf_string_conversions.h"
8 #include "chrome/browser/apps/app_browsertest_util.h" 8 #include "chrome/browser/apps/app_browsertest_util.h"
9 #include "chrome/browser/chrome_content_browser_client.h" 9 #include "chrome/browser/chrome_content_browser_client.h"
10 #include "chrome/browser/prerender/prerender_link_manager.h" 10 #include "chrome/browser/prerender/prerender_link_manager.h"
(...skipping 1863 matching lines...) Expand 10 before | Expand all | Expand 10 after
1874 chromeos::AccessibilityManager::Get()->IsSpokenFeedbackEnabled()); 1874 chromeos::AccessibilityManager::Get()->IsSpokenFeedbackEnabled());
1875 1875
1876 ASSERT_TRUE(StartEmbeddedTestServer()); 1876 ASSERT_TRUE(StartEmbeddedTestServer());
1877 content::WebContents* guest_web_contents = LoadGuest( 1877 content::WebContents* guest_web_contents = LoadGuest(
1878 "/extensions/platform_apps/web_view/chromevox_injection/guest.html", 1878 "/extensions/platform_apps/web_view/chromevox_injection/guest.html",
1879 "web_view/chromevox_injection"); 1879 "web_view/chromevox_injection");
1880 ASSERT_TRUE(guest_web_contents); 1880 ASSERT_TRUE(guest_web_contents);
1881 1881
1882 chromeos::SpeechMonitor monitor; 1882 chromeos::SpeechMonitor monitor;
1883 chromeos::AccessibilityManager::Get()->EnableSpokenFeedback( 1883 chromeos::AccessibilityManager::Get()->EnableSpokenFeedback(
1884 true, ash::A11Y_NOTIFICATION_NONE); 1884 true, ui::A11Y_NOTIFICATION_NONE);
1885 EXPECT_TRUE(monitor.SkipChromeVoxEnabledMessage()); 1885 EXPECT_TRUE(monitor.SkipChromeVoxEnabledMessage());
1886 1886
1887 EXPECT_EQ("chrome vox test title", monitor.GetNextUtterance()); 1887 EXPECT_EQ("chrome vox test title", monitor.GetNextUtterance());
1888 } 1888 }
1889 #endif 1889 #endif
1890 1890
1891 // Flaky on Windows. http://crbug.com/303966 1891 // Flaky on Windows. http://crbug.com/303966
1892 #if defined(OS_WIN) 1892 #if defined(OS_WIN)
1893 #define MAYBE_TearDownTest DISABLED_TearDownTest 1893 #define MAYBE_TearDownTest DISABLED_TearDownTest
1894 #else 1894 #else
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after
2299 // http://crbug.com/403325 2299 // http://crbug.com/403325
2300 #define MAYBE_WebViewInBackgroundPage \ 2300 #define MAYBE_WebViewInBackgroundPage \
2301 DISABLED_WebViewInBackgroundPage 2301 DISABLED_WebViewInBackgroundPage
2302 #else 2302 #else
2303 #define MAYBE_WebViewInBackgroundPage WebViewInBackgroundPage 2303 #define MAYBE_WebViewInBackgroundPage WebViewInBackgroundPage
2304 #endif 2304 #endif
2305 IN_PROC_BROWSER_TEST_F(WebViewTest, MAYBE_WebViewInBackgroundPage) { 2305 IN_PROC_BROWSER_TEST_F(WebViewTest, MAYBE_WebViewInBackgroundPage) {
2306 ASSERT_TRUE(RunExtensionTest("platform_apps/web_view/background")) 2306 ASSERT_TRUE(RunExtensionTest("platform_apps/web_view/background"))
2307 << message_; 2307 << message_;
2308 } 2308 }
OLDNEW
« no previous file with comments | « ash/wm/overview/window_selector_unittest.cc ('k') | chrome/browser/chromeos/accessibility/accessibility_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698