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/extensions/features/feature_channel.h" | 9 #include "chrome/common/extensions/features/feature_channel.h" |
10 #include "chrome/test/base/testing_profile.h" | 10 #include "chrome/test/base/testing_profile.h" |
11 #include "extensions/browser/app_window/app_window.h" | 11 #include "extensions/browser/app_window/app_window.h" |
12 #include "extensions/browser/app_window/app_window_registry.h" | 12 #include "extensions/browser/app_window/app_window_registry.h" |
13 #include "extensions/browser/app_window/native_app_window.h" | 13 #include "extensions/browser/app_window/native_app_window.h" |
14 #include "extensions/test/extension_test_message_listener.h" | 14 #include "extensions/test/extension_test_message_listener.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/geometry/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 namespace extensions { | 22 namespace extensions { |
23 | 23 |
24 namespace { | 24 namespace { |
25 | 25 |
26 class TestAppWindowRegistryObserver : public AppWindowRegistry::Observer { | 26 class TestAppWindowRegistryObserver : public AppWindowRegistry::Observer { |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 "platform_apps/windows_api_ime/no_permissions_whitelisted")) | 194 "platform_apps/windows_api_ime/no_permissions_whitelisted")) |
195 << message_; | 195 << message_; |
196 | 196 |
197 EXPECT_TRUE(RunPlatformAppTest( | 197 EXPECT_TRUE(RunPlatformAppTest( |
198 "platform_apps/windows_api_ime/no_permissions_platform_app")) | 198 "platform_apps/windows_api_ime/no_permissions_platform_app")) |
199 << message_; | 199 << message_; |
200 } | 200 } |
201 #endif // OS_CHROMEOS | 201 #endif // OS_CHROMEOS |
202 | 202 |
203 } // namespace extensions | 203 } // namespace extensions |
OLD | NEW |