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

Side by Side Diff: chrome/browser/extensions/api/app_window/app_window_apitest.cc

Issue 159523002: Promote chrome.app.window alwaysOnTop property to stable unwhitelisted (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/common/extensions/api/_permission_features.json » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/shell_window.h" 5 #include "apps/shell_window.h"
6 #include "apps/shell_window_registry.h" 6 #include "apps/shell_window_registry.h"
7 #include "apps/ui/native_app_window.h" 7 #include "apps/ui/native_app_window.h"
8 #include "base/run_loop.h" 8 #include "base/run_loop.h"
9 #include "base/strings/string_number_conversions.h" 9 #include "base/strings/string_number_conversions.h"
10 #include "chrome/browser/apps/app_browsertest_util.h" 10 #include "chrome/browser/apps/app_browsertest_util.h"
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 138
139 #endif // defined(TOOLKIT_VIEWS) 139 #endif // defined(TOOLKIT_VIEWS)
140 140
141 IN_PROC_BROWSER_TEST_F(PlatformAppBrowserTest, 141 IN_PROC_BROWSER_TEST_F(PlatformAppBrowserTest,
142 WindowsApiAlwaysOnTopWithPermissions) { 142 WindowsApiAlwaysOnTopWithPermissions) {
143 EXPECT_TRUE(RunPlatformAppTest( 143 EXPECT_TRUE(RunPlatformAppTest(
144 "platform_apps/windows_api_always_on_top/has_permissions")) << message_; 144 "platform_apps/windows_api_always_on_top/has_permissions")) << message_;
145 } 145 }
146 146
147 IN_PROC_BROWSER_TEST_F(PlatformAppBrowserTest, 147 IN_PROC_BROWSER_TEST_F(PlatformAppBrowserTest,
148 WindowsApiAlwaysOnTopWithPermissionsStable) {
149 ScopedCurrentChannel channel(chrome::VersionInfo::CHANNEL_STABLE);
150 EXPECT_TRUE(RunPlatformAppTestWithFlags(
151 "platform_apps/windows_api_always_on_top/has_permissions_stable",
152 ExtensionApiTest::kFlagIgnoreManifestWarnings)) << message_;
153 }
154
155 IN_PROC_BROWSER_TEST_F(PlatformAppBrowserTest,
156 WindowsApiAlwaysOnTopNoPermissions) { 148 WindowsApiAlwaysOnTopNoPermissions) {
157 EXPECT_TRUE(RunPlatformAppTest( 149 EXPECT_TRUE(RunPlatformAppTest(
158 "platform_apps/windows_api_always_on_top/no_permissions")) << message_; 150 "platform_apps/windows_api_always_on_top/no_permissions")) << message_;
159 } 151 }
160 152
161 IN_PROC_BROWSER_TEST_F(PlatformAppBrowserTest, WindowsApiGet) { 153 IN_PROC_BROWSER_TEST_F(PlatformAppBrowserTest, WindowsApiGet) {
162 EXPECT_TRUE(RunPlatformAppTest("platform_apps/windows_api_get")) 154 EXPECT_TRUE(RunPlatformAppTest("platform_apps/windows_api_get"))
163 << message_; 155 << message_;
164 } 156 }
165 157
166 } // namespace extensions 158 } // namespace extensions
OLDNEW
« no previous file with comments | « no previous file | chrome/common/extensions/api/_permission_features.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698