OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "ash/session/session_state_delegate.h" | 5 #include "ash/session_state_delegate.h" |
6 #include "ash/shell.h" | 6 #include "ash/shell.h" |
7 #include "chrome/browser/chromeos/login/login_manager_test.h" | 7 #include "chrome/browser/chromeos/login/login_manager_test.h" |
8 #include "chrome/browser/chromeos/login/startup_utils.h" | 8 #include "chrome/browser/chromeos/login/startup_utils.h" |
9 #include "chrome/browser/profiles/profile_manager.h" | 9 #include "chrome/browser/profiles/profile_manager.h" |
10 #include "chrome/browser/ui/browser.h" | 10 #include "chrome/browser/ui/browser.h" |
11 #include "chrome/browser/ui/browser_finder.h" | 11 #include "chrome/browser/ui/browser_finder.h" |
12 #include "chrome/browser/ui/browser_window.h" | 12 #include "chrome/browser/ui/browser_window.h" |
13 #include "chrome/browser/ui/view_ids.h" | 13 #include "chrome/browser/ui/view_ids.h" |
14 #include "chrome/common/chrome_switches.h" | 14 #include "chrome/common/chrome_switches.h" |
15 #include "testing/gtest/include/gtest/gtest.h" | 15 #include "testing/gtest/include/gtest/gtest.h" |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 GetBrowserWindowTesting()->GetTabContentsContainerView()-> | 62 GetBrowserWindowTesting()->GetTabContentsContainerView()-> |
63 GetFocusManager(); | 63 GetFocusManager(); |
64 EXPECT_TRUE(focus_manager != NULL); | 64 EXPECT_TRUE(focus_manager != NULL); |
65 | 65 |
66 const views::View* focused_view = focus_manager->GetFocusedView(); | 66 const views::View* focused_view = focus_manager->GetFocusedView(); |
67 EXPECT_TRUE(focused_view != NULL); | 67 EXPECT_TRUE(focused_view != NULL); |
68 EXPECT_EQ(VIEW_ID_OMNIBOX, focused_view->id()); | 68 EXPECT_EQ(VIEW_ID_OMNIBOX, focused_view->id()); |
69 } | 69 } |
70 | 70 |
71 } // namespace chromeos | 71 } // namespace chromeos |
OLD | NEW |