| 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 "base/run_loop.h" | 5 #include "base/run_loop.h" |
| 6 #include "base/strings/string_number_conversions.h" | 6 #include "base/strings/string_number_conversions.h" |
| 7 #include "chrome/browser/apps/app_browsertest_util.h" | 7 #include "chrome/browser/apps/app_browsertest_util.h" |
| 8 #include "chrome/browser/ui/browser.h" | 8 #include "chrome/browser/ui/browser.h" |
| 9 #include "chrome/common/chrome_switches.h" | 9 #include "chrome/common/chrome_switches.h" |
| 10 #include "chrome/common/extensions/features/feature_channel.h" | 10 #include "chrome/common/extensions/features/feature_channel.h" |
| 11 #include "chrome/test/base/testing_profile.h" | 11 #include "chrome/test/base/testing_profile.h" |
| 12 #include "components/version_info/version_info.h" |
| 12 #include "extensions/browser/app_window/app_window.h" | 13 #include "extensions/browser/app_window/app_window.h" |
| 13 #include "extensions/browser/app_window/app_window_registry.h" | 14 #include "extensions/browser/app_window/app_window_registry.h" |
| 14 #include "extensions/browser/app_window/native_app_window.h" | 15 #include "extensions/browser/app_window/native_app_window.h" |
| 15 #include "extensions/test/extension_test_message_listener.h" | 16 #include "extensions/test/extension_test_message_listener.h" |
| 16 #include "ui/base/base_window.h" | 17 #include "ui/base/base_window.h" |
| 17 #include "ui/gfx/geometry/rect.h" | 18 #include "ui/gfx/geometry/rect.h" |
| 18 | 19 |
| 19 #if defined(OS_WIN) | 20 #if defined(OS_WIN) |
| 20 #include "ui/base/win/shell.h" | 21 #include "ui/base/win/shell.h" |
| 21 #endif | 22 #endif |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 command_line->AppendSwitchASCII(switches::kAppId, | 208 command_line->AppendSwitchASCII(switches::kAppId, |
| 208 "jkghodnilhceideoidjikpgommlajknk"); | 209 "jkghodnilhceideoidjikpgommlajknk"); |
| 209 | 210 |
| 210 EXPECT_TRUE(RunComponentExtensionTest( | 211 EXPECT_TRUE(RunComponentExtensionTest( |
| 211 "platform_apps/windows_api_ime/forced_app_mode_not_fullscreen")) | 212 "platform_apps/windows_api_ime/forced_app_mode_not_fullscreen")) |
| 212 << message_; | 213 << message_; |
| 213 } | 214 } |
| 214 #endif // OS_CHROMEOS | 215 #endif // OS_CHROMEOS |
| 215 | 216 |
| 216 } // namespace extensions | 217 } // namespace extensions |
| OLD | NEW |