OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 <string> | 5 #include <string> |
6 | 6 |
7 #include "ash/common/wm/window_positioner.h" | |
8 #include "ash/shell.h" | 7 #include "ash/shell.h" |
| 8 #include "ash/wm/window_positioner.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "base/strings/string_number_conversions.h" | 10 #include "base/strings/string_number_conversions.h" |
11 #include "base/values.h" | 11 #include "base/values.h" |
12 #include "chrome/browser/chrome_notification_types.h" | 12 #include "chrome/browser/chrome_notification_types.h" |
13 #include "chrome/browser/chromeos/policy/login_policy_test_base.h" | 13 #include "chrome/browser/chromeos/policy/login_policy_test_base.h" |
14 #include "chrome/browser/chromeos/profiles/profile_helper.h" | 14 #include "chrome/browser/chromeos/profiles/profile_helper.h" |
15 #include "chrome/browser/profiles/profile.h" | 15 #include "chrome/browser/profiles/profile.h" |
16 #include "chrome/browser/ui/browser.h" | 16 #include "chrome/browser/ui/browser.h" |
17 #include "chrome/browser/ui/browser_list.h" | 17 #include "chrome/browser/ui/browser_list.h" |
18 #include "chrome/browser/ui/browser_window.h" | 18 #include "chrome/browser/ui/browser_window.h" |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 LogIn(kAccountId, kAccountPassword); | 111 LogIn(kAccountId, kAccountPassword); |
112 | 112 |
113 const BrowserList* const browser_list = BrowserList::GetInstance(); | 113 const BrowserList* const browser_list = BrowserList::GetInstance(); |
114 EXPECT_EQ(1U, browser_list->size()); | 114 EXPECT_EQ(1U, browser_list->size()); |
115 const Browser* const browser = browser_list->get(0); | 115 const Browser* const browser = browser_list->get(0); |
116 ASSERT_TRUE(browser); | 116 ASSERT_TRUE(browser); |
117 EXPECT_FALSE(browser->window()->IsMaximized()); | 117 EXPECT_FALSE(browser->window()->IsMaximized()); |
118 } | 118 } |
119 | 119 |
120 } // namespace policy | 120 } // namespace policy |
OLD | NEW |