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 "chrome/browser/ui/views/toolbar/toolbar_view.h" | 5 #include "chrome/browser/ui/views/toolbar/toolbar_view.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
| 9 #include "base/macros.h" |
7 #include "base/strings/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" |
| 11 #include "build/build_config.h" |
8 #include "chrome/app/chrome_command_ids.h" | 12 #include "chrome/app/chrome_command_ids.h" |
9 #include "chrome/browser/bookmarks/bookmark_model_factory.h" | 13 #include "chrome/browser/bookmarks/bookmark_model_factory.h" |
10 #include "chrome/browser/ui/browser.h" | 14 #include "chrome/browser/ui/browser.h" |
11 #include "chrome/browser/ui/browser_command_controller.h" | 15 #include "chrome/browser/ui/browser_command_controller.h" |
12 #include "chrome/browser/ui/browser_window.h" | 16 #include "chrome/browser/ui/browser_window.h" |
13 #include "chrome/browser/ui/view_ids.h" | 17 #include "chrome/browser/ui/view_ids.h" |
14 #include "chrome/browser/ui/views/frame/browser_view.h" | 18 #include "chrome/browser/ui/views/frame/browser_view.h" |
15 #include "chrome/test/base/in_process_browser_test.h" | 19 #include "chrome/test/base/in_process_browser_test.h" |
16 #include "components/bookmarks/browser/bookmark_model.h" | 20 #include "components/bookmarks/browser/bookmark_model.h" |
17 #include "components/bookmarks/browser/bookmark_utils.h" | 21 #include "components/bookmarks/browser/bookmark_utils.h" |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 model, GURL("http://foo.com"), base::ASCIIToUTF16("Foo")); | 118 model, GURL("http://foo.com"), base::ASCIIToUTF16("Foo")); |
115 | 119 |
116 // We want to specifically test the case where the bookmark bar is | 120 // We want to specifically test the case where the bookmark bar is |
117 // already showing when a window opens, so create a second browser | 121 // already showing when a window opens, so create a second browser |
118 // window with the same profile. | 122 // window with the same profile. |
119 Browser* second_browser = CreateBrowser(browser()->profile()); | 123 Browser* second_browser = CreateBrowser(browser()->profile()); |
120 RunToolbarCycleFocusTest(second_browser); | 124 RunToolbarCycleFocusTest(second_browser); |
121 } | 125 } |
122 | 126 |
123 } // namespace | 127 } // namespace |
OLD | NEW |