| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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/string_util.h" | 5 #include "base/string_util.h" |
| 6 #include "chrome/browser/automation/ui_controls.h" | 6 #include "chrome/browser/automation/ui_controls.h" |
| 7 #include "chrome/browser/bookmark_bar_model.h" | 7 #include "chrome/browser/bookmarks/bookmark_bar_model.h" |
| 8 #include "chrome/browser/page_navigator.h" | 8 #include "chrome/browser/page_navigator.h" |
| 9 #include "chrome/browser/profile.h" | 9 #include "chrome/browser/profile.h" |
| 10 #include "chrome/browser/views/bookmark_bar_view.h" | 10 #include "chrome/browser/views/bookmark_bar_view.h" |
| 11 #include "chrome/common/pref_names.h" | 11 #include "chrome/common/pref_names.h" |
| 12 #include "chrome/common/pref_service.h" | 12 #include "chrome/common/pref_service.h" |
| 13 #include "chrome/test/testing_profile.h" | 13 #include "chrome/test/testing_profile.h" |
| 14 #include "chrome/test/interactive_ui/view_event_test_base.h" | 14 #include "chrome/test/interactive_ui/view_event_test_base.h" |
| 15 #include "chrome/views/chrome_menu.h" | 15 #include "chrome/views/chrome_menu.h" |
| 16 #include "chrome/views/text_button.h" | 16 #include "chrome/views/text_button.h" |
| 17 #include "chrome/views/window.h" | 17 #include "chrome/views/window.h" |
| (...skipping 802 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 820 | 820 |
| 821 void Step8() { | 821 void Step8() { |
| 822 ASSERT_TRUE( | 822 ASSERT_TRUE( |
| 823 model_->GetBookmarkBarNode()->GetChild(0)->GetChild(0)->GetURL() == | 823 model_->GetBookmarkBarNode()->GetChild(0)->GetChild(0)->GetURL() == |
| 824 navigator_.url_); | 824 navigator_.url_); |
| 825 Done(); | 825 Done(); |
| 826 } | 826 } |
| 827 }; | 827 }; |
| 828 | 828 |
| 829 VIEW_TEST(BookmarkBarViewTest10, KeyEvents) | 829 VIEW_TEST(BookmarkBarViewTest10, KeyEvents) |
| OLD | NEW |