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

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

Issue 137993009: Remove more non-aura windows code. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: renable the disabled tests Created 6 years, 11 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 | Annotate | Revision Log
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 1728 matching lines...) Expand 10 before | Expand all | Expand 10 after
1739 1739
1740 private: 1740 private:
1741 int press_count_; 1741 int press_count_;
1742 1742
1743 DISALLOW_COPY_AND_ASSIGN(TestViewForMenuExit); 1743 DISALLOW_COPY_AND_ASSIGN(TestViewForMenuExit);
1744 }; 1744 };
1745 1745
1746 TestViewForMenuExit* test_view_; 1746 TestViewForMenuExit* test_view_;
1747 }; 1747 };
1748 1748
1749 #if defined(OS_WIN) && !defined(USE_AURA) 1749 #if defined(OS_LINUX) && !defined(OS_CHROMEOS)
1750 #define MAYBE_ContextMenuExitTest DISABLED_ContextMenuExitTest
1751 #elif defined(OS_LINUX) && !defined(OS_CHROMEOS)
1752 // TODO(erg): linux_aura bringup: http://crbug.com/163931 1750 // TODO(erg): linux_aura bringup: http://crbug.com/163931
1753 #define MAYBE_ContextMenuExitTest DISABLED_ContextMenuExitTest 1751 #define MAYBE_ContextMenuExitTest DISABLED_ContextMenuExitTest
1754 #else 1752 #else
1755 #define MAYBE_ContextMenuExitTest ContextMenuExitTest 1753 #define MAYBE_ContextMenuExitTest ContextMenuExitTest
1756 #endif 1754 #endif
1757 1755
1758 VIEW_TEST(BookmarkBarViewTest20, MAYBE_ContextMenuExitTest) 1756 VIEW_TEST(BookmarkBarViewTest20, MAYBE_ContextMenuExitTest)
1759 1757
1760 // Tests context menu by way of opening a context menu for a empty folder menu. 1758 // Tests context menu by way of opening a context menu for a empty folder menu.
1761 // The opened context menu should behave as it is from the folder button. 1759 // The opened context menu should behave as it is from the folder button.
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
1822 EXPECT_TRUE(bb_view_->GetContextMenu() == NULL); 1820 EXPECT_TRUE(bb_view_->GetContextMenu() == NULL);
1823 EXPECT_TRUE(bb_view_->GetMenu() == NULL); 1821 EXPECT_TRUE(bb_view_->GetMenu() == NULL);
1824 1822
1825 Done(); 1823 Done();
1826 } 1824 }
1827 1825
1828 ContextMenuNotificationObserver observer_; 1826 ContextMenuNotificationObserver observer_;
1829 }; 1827 };
1830 1828
1831 VIEW_TEST(BookmarkBarViewTest21, ContextMenusForEmptyFolder) 1829 VIEW_TEST(BookmarkBarViewTest21, ContextMenusForEmptyFolder)
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/autofill/autofill_dialog_views.cc ('k') | chrome/browser/ui/views/frame/browser_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698