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

Side by Side Diff: chrome/browser/chromeos/login/screen_locker_browsertest.cc

Issue 5043001: Cleanup: Include browser.h -> ui/browser.h [Part 1]. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years, 1 month 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/command_line.h" 5 #include "base/command_line.h"
6 #include "base/message_loop.h" 6 #include "base/message_loop.h"
7 #include "base/scoped_ptr.h" 7 #include "base/scoped_ptr.h"
8 #include "chrome/browser/automation/ui_controls.h" 8 #include "chrome/browser/automation/ui_controls.h"
9 #include "chrome/browser/browser.h"
10 #include "chrome/browser/browser_thread.h" 9 #include "chrome/browser/browser_thread.h"
11 #include "chrome/browser/browser_window.h" 10 #include "chrome/browser/browser_window.h"
12 #include "chrome/browser/chromeos/cros/cros_in_process_browser_test.h" 11 #include "chrome/browser/chromeos/cros/cros_in_process_browser_test.h"
13 #include "chrome/browser/chromeos/cros/mock_input_method_library.h" 12 #include "chrome/browser/chromeos/cros/mock_input_method_library.h"
14 #include "chrome/browser/chromeos/cros/mock_screen_lock_library.h" 13 #include "chrome/browser/chromeos/cros/mock_screen_lock_library.h"
15 #include "chrome/browser/chromeos/login/mock_authenticator.h" 14 #include "chrome/browser/chromeos/login/mock_authenticator.h"
16 #include "chrome/browser/chromeos/login/screen_locker.h" 15 #include "chrome/browser/chromeos/login/screen_locker.h"
17 #include "chrome/browser/chromeos/login/screen_locker_tester.h" 16 #include "chrome/browser/chromeos/login/screen_locker_tester.h"
18 #include "chrome/browser/chromeos/login/user_manager.h" 17 #include "chrome/browser/chromeos/login/user_manager.h"
18 #include "chrome/browser/ui/browser.h"
19 #include "chrome/browser/views/browser_dialogs.h" 19 #include "chrome/browser/views/browser_dialogs.h"
20 #include "chrome/common/chrome_switches.h" 20 #include "chrome/common/chrome_switches.h"
21 #include "chrome/common/notification_service.h" 21 #include "chrome/common/notification_service.h"
22 #include "chrome/common/notification_type.h" 22 #include "chrome/common/notification_type.h"
23 #include "chrome/test/ui_test_utils.h" 23 #include "chrome/test/ui_test_utils.h"
24 #include "testing/gmock/include/gmock/gmock.h" 24 #include "testing/gmock/include/gmock/gmock.h"
25 #include "testing/gtest/include/gtest/gtest.h" 25 #include "testing/gtest/include/gtest/gtest.h"
26 #include "views/controls/textfield/textfield.h" 26 #include "views/controls/textfield/textfield.h"
27 #include "views/window/window_gtk.h" 27 #include "views/window/window_gtk.h"
28 28
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 ScreenLocker::Show(); 271 ScreenLocker::Show();
272 EXPECT_TRUE(tester->IsLocked()); 272 EXPECT_TRUE(tester->IsLocked());
273 273
274 // Close the locker to match expectations. 274 // Close the locker to match expectations.
275 ScreenLocker::Hide(); 275 ScreenLocker::Hide();
276 ui_test_utils::RunAllPendingInMessageLoop(); 276 ui_test_utils::RunAllPendingInMessageLoop();
277 EXPECT_FALSE(tester->IsLocked()); 277 EXPECT_FALSE(tester->IsLocked());
278 } 278 }
279 279
280 } // namespace chromeos 280 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/screen_locker.cc ('k') | chrome/browser/chromeos/login/wizard_in_process_browser_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698