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/basictypes.h" | |
6 #include "base/command_line.h" | 5 #include "base/command_line.h" |
7 #include "base/prefs/pref_service.h" | 6 #include "base/prefs/pref_service.h" |
8 #include "base/strings/utf_string_conversions.h" | 7 #include "base/strings/utf_string_conversions.h" |
9 #include "chrome/browser/bookmarks/bookmark_model_factory.h" | 8 #include "chrome/browser/bookmarks/bookmark_model_factory.h" |
10 #include "chrome/browser/devtools/devtools_window_testing.h" | 9 #include "chrome/browser/devtools/devtools_window_testing.h" |
11 #include "chrome/browser/download/download_shelf.h" | 10 #include "chrome/browser/download/download_shelf.h" |
12 #include "chrome/browser/profiles/profile.h" | 11 #include "chrome/browser/profiles/profile.h" |
13 #include "chrome/browser/ui/browser.h" | 12 #include "chrome/browser/ui/browser.h" |
14 #include "chrome/browser/ui/browser_commands.h" | 13 #include "chrome/browser/ui/browser_commands.h" |
15 #include "chrome/browser/ui/browser_window.h" | 14 #include "chrome/browser/ui/browser_window.h" |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 } | 124 } |
126 | 125 |
127 // Open the 11th tab. | 126 // Open the 11th tab. |
128 browser()->OpenURL(OpenURLParams(GURL(url::kAboutBlankURL), | 127 browser()->OpenURL(OpenURLParams(GURL(url::kAboutBlankURL), |
129 Referrer(), | 128 Referrer(), |
130 NEW_BACKGROUND_TAB, | 129 NEW_BACKGROUND_TAB, |
131 ui::PAGE_TRANSITION_TYPED, | 130 ui::PAGE_TRANSITION_TYPED, |
132 false)); | 131 false)); |
133 CheckViewID(VIEW_ID_TAB_LAST, true); | 132 CheckViewID(VIEW_ID_TAB_LAST, true); |
134 } | 133 } |
OLD | NEW |