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" | 5 #include "base/basictypes.h" |
6 #include "base/command_line.h" | 6 #include "base/command_line.h" |
7 #include "base/prefs/pref_service.h" | 7 #include "base/prefs/pref_service.h" |
8 #include "base/strings/utf_string_conversions.h" | 8 #include "base/strings/utf_string_conversions.h" |
9 #include "chrome/browser/bookmarks/bookmark_model_factory.h" | 9 #include "chrome/browser/bookmarks/bookmark_model_factory.h" |
10 #include "chrome/browser/devtools/devtools_window_testing.h" | 10 #include "chrome/browser/devtools/devtools_window_testing.h" |
11 #include "chrome/browser/download/download_shelf.h" | 11 #include "chrome/browser/download/download_shelf.h" |
12 #include "chrome/browser/profiles/profile.h" | 12 #include "chrome/browser/profiles/profile.h" |
13 #include "chrome/browser/ui/browser.h" | 13 #include "chrome/browser/ui/browser.h" |
14 #include "chrome/browser/ui/browser_commands.h" | 14 #include "chrome/browser/ui/browser_commands.h" |
15 #include "chrome/browser/ui/browser_window.h" | 15 #include "chrome/browser/ui/browser_window.h" |
16 #include "chrome/browser/ui/cocoa/view_id_util.h" | 16 #include "chrome/browser/ui/cocoa/view_id_util.h" |
17 #include "chrome/common/pref_names.h" | |
18 #include "chrome/common/url_constants.h" | 17 #include "chrome/common/url_constants.h" |
19 #include "chrome/test/base/in_process_browser_test.h" | 18 #include "chrome/test/base/in_process_browser_test.h" |
20 #include "components/bookmarks/browser/bookmark_model.h" | 19 #include "components/bookmarks/browser/bookmark_model.h" |
21 #include "components/bookmarks/browser/bookmark_utils.h" | 20 #include "components/bookmarks/browser/bookmark_utils.h" |
22 #include "components/bookmarks/test/bookmark_test_helpers.h" | 21 #include "components/bookmarks/test/bookmark_test_helpers.h" |
23 #include "extensions/common/switches.h" | 22 #include "extensions/common/switches.h" |
24 | 23 |
25 using content::OpenURLParams; | 24 using content::OpenURLParams; |
26 using content::Referrer; | 25 using content::Referrer; |
27 | 26 |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 } | 119 } |
121 | 120 |
122 // Open the 11th tab. | 121 // Open the 11th tab. |
123 browser()->OpenURL(OpenURLParams(GURL(url::kAboutBlankURL), | 122 browser()->OpenURL(OpenURLParams(GURL(url::kAboutBlankURL), |
124 Referrer(), | 123 Referrer(), |
125 NEW_BACKGROUND_TAB, | 124 NEW_BACKGROUND_TAB, |
126 ui::PAGE_TRANSITION_TYPED, | 125 ui::PAGE_TRANSITION_TYPED, |
127 false)); | 126 false)); |
128 CheckViewID(VIEW_ID_TAB_LAST, true); | 127 CheckViewID(VIEW_ID_TAB_LAST, true); |
129 } | 128 } |
OLD | NEW |