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

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

Issue 284893003: Move bookmarks/core/... to bookmarks/... (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing errors reported by presubmit Created 6 years, 7 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) 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/bind.h" 5 #include "base/bind.h"
6 #include "base/callback.h" 6 #include "base/callback.h"
7 #include "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 #include "base/prefs/pref_service.h" 8 #include "base/prefs/pref_service.h"
9 #include "base/strings/string_number_conversions.h" 9 #include "base/strings/string_number_conversions.h"
10 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
(...skipping 10 matching lines...) Expand all
21 #include "chrome/browser/ui/views/bookmarks/bookmark_bar_view.h" 21 #include "chrome/browser/ui/views/bookmarks/bookmark_bar_view.h"
22 #include "chrome/common/chrome_content_client.h" 22 #include "chrome/common/chrome_content_client.h"
23 #include "chrome/common/pref_names.h" 23 #include "chrome/common/pref_names.h"
24 #include "chrome/test/base/interactive_test_utils.h" 24 #include "chrome/test/base/interactive_test_utils.h"
25 #include "chrome/test/base/scoped_testing_local_state.h" 25 #include "chrome/test/base/scoped_testing_local_state.h"
26 #include "chrome/test/base/test_browser_window.h" 26 #include "chrome/test/base/test_browser_window.h"
27 #include "chrome/test/base/testing_browser_process.h" 27 #include "chrome/test/base/testing_browser_process.h"
28 #include "chrome/test/base/testing_profile.h" 28 #include "chrome/test/base/testing_profile.h"
29 #include "chrome/test/base/ui_test_utils.h" 29 #include "chrome/test/base/ui_test_utils.h"
30 #include "chrome/test/base/view_event_test_base.h" 30 #include "chrome/test/base/view_event_test_base.h"
31 #include "components/bookmarks/core/browser/bookmark_model.h" 31 #include "components/bookmarks/browser/bookmark_model.h"
32 #include "components/bookmarks/core/test/bookmark_test_helpers.h" 32 #include "components/bookmarks/test/bookmark_test_helpers.h"
33 #include "content/public/browser/notification_service.h" 33 #include "content/public/browser/notification_service.h"
34 #include "content/public/browser/page_navigator.h" 34 #include "content/public/browser/page_navigator.h"
35 #include "content/public/test/test_browser_thread.h" 35 #include "content/public/test/test_browser_thread.h"
36 #include "grit/generated_resources.h" 36 #include "grit/generated_resources.h"
37 #include "ui/base/clipboard/clipboard.h" 37 #include "ui/base/clipboard/clipboard.h"
38 #include "ui/base/test/ui_controls.h" 38 #include "ui/base/test/ui_controls.h"
39 #include "ui/events/keycodes/keyboard_codes.h" 39 #include "ui/events/keycodes/keyboard_codes.h"
40 #include "ui/views/controls/button/menu_button.h" 40 #include "ui/views/controls/button/menu_button.h"
41 #include "ui/views/controls/button/text_button.h" 41 #include "ui/views/controls/button/text_button.h"
42 #include "ui/views/controls/menu/menu_controller.h" 42 #include "ui/views/controls/menu/menu_controller.h"
(...skipping 1788 matching lines...) Expand 10 before | Expand all | Expand 10 after
1831 EXPECT_TRUE(bb_view_->GetContextMenu() == NULL); 1831 EXPECT_TRUE(bb_view_->GetContextMenu() == NULL);
1832 EXPECT_TRUE(bb_view_->GetMenu() == NULL); 1832 EXPECT_TRUE(bb_view_->GetMenu() == NULL);
1833 1833
1834 Done(); 1834 Done();
1835 } 1835 }
1836 1836
1837 BookmarkContextMenuNotificationObserver observer_; 1837 BookmarkContextMenuNotificationObserver observer_;
1838 }; 1838 };
1839 1839
1840 VIEW_TEST(BookmarkBarViewTest21, ContextMenusForEmptyFolder) 1840 VIEW_TEST(BookmarkBarViewTest21, ContextMenusForEmptyFolder)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698