| OLD | NEW |
| 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 "apps/ui/native_app_window.h" | 5 #include "apps/ui/native_app_window.h" |
| 6 #include "base/path_service.h" | 6 #include "base/path_service.h" |
| 7 #include "base/strings/stringprintf.h" | 7 #include "base/strings/stringprintf.h" |
| 8 #include "base/strings/utf_string_conversions.h" | 8 #include "base/strings/utf_string_conversions.h" |
| 9 #include "chrome/app/chrome_command_ids.h" | 9 #include "chrome/app/chrome_command_ids.h" |
| 10 #include "chrome/browser/apps/app_browsertest_util.h" | 10 #include "chrome/browser/apps/app_browsertest_util.h" |
| (...skipping 1893 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1904 | 1904 |
| 1905 // GeolocationAPI* test 2 of 3. | 1905 // GeolocationAPI* test 2 of 3. |
| 1906 IN_PROC_BROWSER_TEST_F(WebViewTest, GeolocationAPIEmbedderHasAccessDeny) { | 1906 IN_PROC_BROWSER_TEST_F(WebViewTest, GeolocationAPIEmbedderHasAccessDeny) { |
| 1907 TestHelper("testDeny", | 1907 TestHelper("testDeny", |
| 1908 "web_view/geolocation/embedder_has_permission", | 1908 "web_view/geolocation/embedder_has_permission", |
| 1909 NEEDS_TEST_SERVER); | 1909 NEEDS_TEST_SERVER); |
| 1910 } | 1910 } |
| 1911 | 1911 |
| 1912 // GeolocationAPI* test 3 of 3. | 1912 // GeolocationAPI* test 3 of 3. |
| 1913 IN_PROC_BROWSER_TEST_F(WebViewTest, | 1913 IN_PROC_BROWSER_TEST_F(WebViewTest, |
| 1914 DISABLED_GeolocationAPIEmbedderHasAccessMultipleBridgeIdA
llow) { | 1914 GeolocationAPIEmbedderHasAccessMultipleBridgeIdAllow) { |
| 1915 TestHelper("testMultipleBridgeIdAllow", | 1915 TestHelper("testMultipleBridgeIdAllow", |
| 1916 "web_view/geolocation/embedder_has_permission", | 1916 "web_view/geolocation/embedder_has_permission", |
| 1917 NEEDS_TEST_SERVER); | 1917 NEEDS_TEST_SERVER); |
| 1918 } | 1918 } |
| 1919 | 1919 |
| 1920 // Tests that | 1920 // Tests that |
| 1921 // BrowserPluginGeolocationPermissionContext::CancelGeolocationPermissionRequest | 1921 // BrowserPluginGeolocationPermissionContext::CancelGeolocationPermissionRequest |
| 1922 // is handled correctly (and does not crash). | 1922 // is handled correctly (and does not crash). |
| 1923 IN_PROC_BROWSER_TEST_F(WebViewTest, GeolocationAPICancelGeolocation) { | 1923 IN_PROC_BROWSER_TEST_F(WebViewTest, GeolocationAPICancelGeolocation) { |
| 1924 ASSERT_TRUE(StartEmbeddedTestServer()); // For serving guest pages. | 1924 ASSERT_TRUE(StartEmbeddedTestServer()); // For serving guest pages. |
| (...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2146 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestFindAPI_findupdate) { | 2146 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestFindAPI_findupdate) { |
| 2147 TestHelper("testFindAPI_findupdate", "web_view/shim", NO_TEST_SERVER); | 2147 TestHelper("testFindAPI_findupdate", "web_view/shim", NO_TEST_SERVER); |
| 2148 } | 2148 } |
| 2149 | 2149 |
| 2150 // <webview> screenshot capture fails with ubercomp. | 2150 // <webview> screenshot capture fails with ubercomp. |
| 2151 // See http://crbug.com/327035. | 2151 // See http://crbug.com/327035. |
| 2152 IN_PROC_BROWSER_TEST_F(WebViewCaptureTest, | 2152 IN_PROC_BROWSER_TEST_F(WebViewCaptureTest, |
| 2153 DISABLED_Shim_ScreenshotCapture) { | 2153 DISABLED_Shim_ScreenshotCapture) { |
| 2154 TestHelper("testScreenshotCapture", "web_view/shim", NO_TEST_SERVER); | 2154 TestHelper("testScreenshotCapture", "web_view/shim", NO_TEST_SERVER); |
| 2155 } | 2155 } |
| OLD | NEW |