| OLD | NEW |
| 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" | |
| 8 #include "base/run_loop.h" | 7 #include "base/run_loop.h" |
| 9 #include "base/strings/string_number_conversions.h" | 8 #include "base/strings/string_number_conversions.h" |
| 10 #include "chrome/browser/apps/app_browsertest_util.h" | 9 #include "chrome/browser/apps/app_browsertest_util.h" |
| 11 #include "chrome/browser/extensions/extension_test_message_listener.h" | 10 #include "chrome/browser/extensions/extension_test_message_listener.h" |
| 12 #include "chrome/browser/ui/browser.h" | 11 #include "chrome/browser/ui/browser.h" |
| 13 #include "chrome/common/extensions/features/feature_channel.h" | 12 #include "chrome/common/extensions/features/feature_channel.h" |
| 14 #include "chrome/test/base/testing_profile.h" | 13 #include "chrome/test/base/testing_profile.h" |
| 14 #include "extensions/browser/app_window/native_app_window.h" |
| 15 #include "ui/base/base_window.h" | 15 #include "ui/base/base_window.h" |
| 16 #include "ui/gfx/rect.h" | 16 #include "ui/gfx/rect.h" |
| 17 | 17 |
| 18 #if defined(OS_WIN) | 18 #if defined(OS_WIN) |
| 19 #include "ui/base/win/shell.h" | 19 #include "ui/base/win/shell.h" |
| 20 #endif | 20 #endif |
| 21 | 21 |
| 22 using apps::AppWindow; | 22 using apps::AppWindow; |
| 23 | 23 |
| 24 namespace { | 24 namespace { |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 } | 156 } |
| 157 | 157 |
| 158 IN_PROC_BROWSER_TEST_F(PlatformAppBrowserTest, | 158 IN_PROC_BROWSER_TEST_F(PlatformAppBrowserTest, |
| 159 WindowsApiAlphaEnabledWrongFrameType) { | 159 WindowsApiAlphaEnabledWrongFrameType) { |
| 160 EXPECT_TRUE(RunPlatformAppTest( | 160 EXPECT_TRUE(RunPlatformAppTest( |
| 161 "platform_apps/windows_api_alpha_enabled/wrong_frame_type")) | 161 "platform_apps/windows_api_alpha_enabled/wrong_frame_type")) |
| 162 << message_; | 162 << message_; |
| 163 } | 163 } |
| 164 | 164 |
| 165 } // namespace extensions | 165 } // namespace extensions |
| OLD | NEW |