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

Side by Side Diff: chrome/browser/ui/browser_navigator_browsertest.cc

Issue 5089001: Cleanup: Include browser.h -> ui/browser.h [Part 3]. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixes. 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 "chrome/browser/browser.h"
6 #include "chrome/browser/browser_list.h" 5 #include "chrome/browser/browser_list.h"
7 #include "chrome/browser/browser_window.h" 6 #include "chrome/browser/browser_window.h"
8 #include "chrome/browser/profile.h" 7 #include "chrome/browser/profile.h"
9 #include "chrome/browser/tab_contents/tab_contents.h" 8 #include "chrome/browser/tab_contents/tab_contents.h"
10 #include "chrome/browser/tab_contents/tab_contents_view.h" 9 #include "chrome/browser/tab_contents/tab_contents_view.h"
11 #include "chrome/browser/tabs/tab_strip_model.h" 10 #include "chrome/browser/tabs/tab_strip_model.h"
11 #include "chrome/browser/ui/browser.h"
12 #include "chrome/browser/ui/browser_navigator.h" 12 #include "chrome/browser/ui/browser_navigator.h"
13 #include "chrome/test/in_process_browser_test.h" 13 #include "chrome/test/in_process_browser_test.h"
14 #include "chrome/test/ui_test_utils.h" 14 #include "chrome/test/ui_test_utils.h"
15 #include "ipc/ipc_message.h" 15 #include "ipc/ipc_message.h"
16 16
17 namespace { 17 namespace {
18 18
19 class BrowserNavigatorTest : public InProcessBrowserTest { 19 class BrowserNavigatorTest : public InProcessBrowserTest {
20 protected: 20 protected:
21 GURL GetGoogleURL() const { 21 GURL GetGoogleURL() const {
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after
458 458
459 // We should now have two windows, the browser() provided by the framework and 459 // We should now have two windows, the browser() provided by the framework and
460 // the new normal window. 460 // the new normal window.
461 EXPECT_EQ(2u, BrowserList::size()); 461 EXPECT_EQ(2u, BrowserList::size());
462 EXPECT_EQ(1, browser()->tab_count()); 462 EXPECT_EQ(1, browser()->tab_count());
463 EXPECT_EQ(1, p.browser->tab_count()); 463 EXPECT_EQ(1, p.browser->tab_count());
464 } 464 }
465 465
466 466
467 } // namespace 467 } // namespace
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser_navigator.cc ('k') | chrome/browser/ui/views/autofill_profiles_view_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698