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

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

Issue 190533006: Add support for transparent background API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rename transparentBackground to alphaEnabled Created 6 years, 7 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 | Annotate | Revision Log
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/app_window.h" 5 #include "apps/app_window.h"
6 #include "apps/app_window_registry.h" 6 #include "apps/app_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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 WindowsApiAlwaysOnTopNoPermissions) { 103 WindowsApiAlwaysOnTopNoPermissions) {
104 EXPECT_TRUE(RunPlatformAppTest( 104 EXPECT_TRUE(RunPlatformAppTest(
105 "platform_apps/windows_api_always_on_top/no_permissions")) << message_; 105 "platform_apps/windows_api_always_on_top/no_permissions")) << message_;
106 } 106 }
107 107
108 IN_PROC_BROWSER_TEST_F(PlatformAppBrowserTest, WindowsApiGet) { 108 IN_PROC_BROWSER_TEST_F(PlatformAppBrowserTest, WindowsApiGet) {
109 EXPECT_TRUE(RunPlatformAppTest("platform_apps/windows_api_get")) 109 EXPECT_TRUE(RunPlatformAppTest("platform_apps/windows_api_get"))
110 << message_; 110 << message_;
111 } 111 }
112 112
113 IN_PROC_BROWSER_TEST_F(PlatformAppBrowserTest,
114 WindowsApiAlphaEnabledHasPermissions) {
115 #if defined(USE_AURA)
116 EXPECT_TRUE(RunPlatformAppTest(
117 "platform_apps/windows_api_alpha_enabled/has_permissions_aura"))
118 << message_;
119 #else
120 EXPECT_TRUE(RunPlatformAppTest(
121 "platform_apps/windows_api_alpha_enabled/has_permissions_no_aura"))
122 << message_;
123 #endif
124 }
125
113 } // namespace extensions 126 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698