Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(109)

Side by Side Diff: chrome/browser/views/bookmark_bar_view_test.cc

Issue 3203008: Move prefs-related files under chrome/browser/ into a prefs/ subdir. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "base/keyboard_codes.h" 5 #include "base/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/pref_service.h" 11 #include "chrome/browser/prefs/pref_service.h"
12 #include "chrome/browser/profile.h" 12 #include "chrome/browser/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"
(...skipping 1320 matching lines...) Expand 10 before | Expand all | Expand 10 after
1342 views::TextButton* button = bb_view_->GetBookmarkButton(0); 1342 views::TextButton* button = bb_view_->GetBookmarkButton(0);
1343 ASSERT_TRUE(button->state() == views::CustomButton::BS_PUSHED); 1343 ASSERT_TRUE(button->state() == views::CustomButton::BS_PUSHED);
1344 1344
1345 // Close the window. 1345 // Close the window.
1346 window_->Close(); 1346 window_->Close();
1347 window_ = NULL; 1347 window_ = NULL;
1348 } 1348 }
1349 }; 1349 };
1350 1350
1351 VIEW_TEST(BookmarkBarViewTest16, DeleteMenu) 1351 VIEW_TEST(BookmarkBarViewTest16, DeleteMenu)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698