| OLD | NEW |
| 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 "app/keyboard_codes.h" | 5 #include "app/keyboard_codes.h" |
| 6 #include "base/string_number_conversions.h" | 6 #include "base/string_number_conversions.h" |
| 7 #include "base/utf_string_conversions.h" | 7 #include "base/utf_string_conversions.h" |
| 8 #include "chrome/browser/automation/ui_controls.h" | 8 #include "chrome/browser/automation/ui_controls.h" |
| 9 #include "chrome/browser/bookmarks/bookmark_model.h" | 9 #include "chrome/browser/bookmarks/bookmark_model.h" |
| 10 #include "chrome/browser/bookmarks/bookmark_utils.h" | 10 #include "chrome/browser/bookmarks/bookmark_utils.h" |
| 11 #include "chrome/browser/prefs/pref_service.h" | 11 #include "chrome/browser/prefs/pref_service.h" |
| 12 #include "chrome/browser/profile.h" | 12 #include "chrome/browser/profiles/profile.h" |
| 13 #include "chrome/browser/tab_contents/page_navigator.h" | 13 #include "chrome/browser/tab_contents/page_navigator.h" |
| 14 #include "chrome/browser/views/bookmark_bar_view.h" | 14 #include "chrome/browser/views/bookmark_bar_view.h" |
| 15 #include "chrome/common/notification_service.h" | 15 #include "chrome/common/notification_service.h" |
| 16 #include "chrome/common/pref_names.h" | 16 #include "chrome/common/pref_names.h" |
| 17 #include "chrome/test/testing_profile.h" | 17 #include "chrome/test/testing_profile.h" |
| 18 #include "chrome/test/interactive_ui/view_event_test_base.h" | 18 #include "chrome/test/interactive_ui/view_event_test_base.h" |
| 19 #include "chrome/test/ui_test_utils.h" | 19 #include "chrome/test/ui_test_utils.h" |
| 20 #include "grit/generated_resources.h" | 20 #include "grit/generated_resources.h" |
| 21 #include "views/controls/button/menu_button.h" | 21 #include "views/controls/button/menu_button.h" |
| 22 #include "views/controls/button/text_button.h" | 22 #include "views/controls/button/text_button.h" |
| (...skipping 1327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1350 ASSERT_TRUE(button->state() == views::CustomButton::BS_PUSHED); | 1350 ASSERT_TRUE(button->state() == views::CustomButton::BS_PUSHED); |
| 1351 | 1351 |
| 1352 // Close the window. | 1352 // Close the window. |
| 1353 window_->Close(); | 1353 window_->Close(); |
| 1354 window_ = NULL; | 1354 window_ = NULL; |
| 1355 } | 1355 } |
| 1356 }; | 1356 }; |
| 1357 | 1357 |
| 1358 // Disabled, http://crbug.com/64303. | 1358 // Disabled, http://crbug.com/64303. |
| 1359 VIEW_TEST(BookmarkBarViewTest16, DISABLED_DeleteMenu) | 1359 VIEW_TEST(BookmarkBarViewTest16, DISABLED_DeleteMenu) |
| OLD | NEW |