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

Unified Diff: chrome/browser/ui/views/menu_item_view_interactive_uitest.cc

Issue 628773002: replace OVERRIDE and FINAL with override and final in chrome/browser/ui/[t-v]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/views/menu_controller_test.cc ('k') | chrome/browser/ui/views/menu_model_adapter_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/menu_item_view_interactive_uitest.cc
diff --git a/chrome/browser/ui/views/menu_item_view_interactive_uitest.cc b/chrome/browser/ui/views/menu_item_view_interactive_uitest.cc
index af0f4c80359a4eefcda6c64e3c8e86a9a9eb09d0..00160be5904cf9f4b6abb26bf8dcf89db1cb128e 100644
--- a/chrome/browser/ui/views/menu_item_view_interactive_uitest.cc
+++ b/chrome/browser/ui/views/menu_item_view_interactive_uitest.cc
@@ -22,7 +22,7 @@ class MenuItemViewTestBasic : public MenuTestBase {
}
// MenuTestBase implementation
- virtual void BuildMenu(views::MenuItemView* menu) OVERRIDE {
+ virtual void BuildMenu(views::MenuItemView* menu) override {
menu->AppendMenuItemWithLabel(1, ASCIIToUTF16("item 1"));
menu->AppendMenuItemWithLabel(2, ASCIIToUTF16("item 2"));
menu->AppendSeparator();
@@ -30,7 +30,7 @@ class MenuItemViewTestBasic : public MenuTestBase {
}
// Click on item INDEX.
- virtual void DoTestWithMenuOpen() OVERRIDE {
+ virtual void DoTestWithMenuOpen() override {
views::SubmenuView* submenu = menu()->GetSubmenu();
ASSERT_TRUE(submenu);
ASSERT_TRUE(submenu->IsShowing());
@@ -72,13 +72,13 @@ class MenuItemViewTestInsert : public MenuTestBase {
}
// MenuTestBase implementation
- virtual void BuildMenu(views::MenuItemView* menu) OVERRIDE {
+ virtual void BuildMenu(views::MenuItemView* menu) override {
menu->AppendMenuItemWithLabel(1, ASCIIToUTF16("item 1"));
menu->AppendMenuItemWithLabel(2, ASCIIToUTF16("item 2"));
}
// Insert item at INSERT_INDEX and click item at SELECT_INDEX.
- virtual void DoTestWithMenuOpen() OVERRIDE {
+ virtual void DoTestWithMenuOpen() override {
views::SubmenuView* submenu = menu()->GetSubmenu();
ASSERT_TRUE(submenu);
ASSERT_TRUE(submenu->IsShowing());
@@ -154,7 +154,7 @@ class MenuItemViewTestInsertWithSubmenu : public MenuTestBase {
}
// MenuTestBase implementation
- virtual void BuildMenu(views::MenuItemView* menu) OVERRIDE {
+ virtual void BuildMenu(views::MenuItemView* menu) override {
submenu_ = menu->AppendSubMenu(1, ASCIIToUTF16("My Submenu"));
submenu_->AppendMenuItemWithLabel(101, ASCIIToUTF16("submenu item 1"));
submenu_->AppendMenuItemWithLabel(101, ASCIIToUTF16("submenu item 2"));
@@ -162,7 +162,7 @@ class MenuItemViewTestInsertWithSubmenu : public MenuTestBase {
}
// Post submenu.
- virtual void DoTestWithMenuOpen() OVERRIDE {
+ virtual void DoTestWithMenuOpen() override {
Click(submenu_,
CreateEventTask(this, &MenuItemViewTestInsertWithSubmenu::Step2));
}
@@ -213,14 +213,14 @@ class MenuItemViewTestRemove : public MenuTestBase {
}
// MenuTestBase implementation
- virtual void BuildMenu(views::MenuItemView* menu) OVERRIDE {
+ virtual void BuildMenu(views::MenuItemView* menu) override {
menu->AppendMenuItemWithLabel(1, ASCIIToUTF16("item 1"));
menu->AppendMenuItemWithLabel(2, ASCIIToUTF16("item 2"));
menu->AppendMenuItemWithLabel(3, ASCIIToUTF16("item 3"));
}
// Remove item at REMOVE_INDEX and click item at SELECT_INDEX.
- virtual void DoTestWithMenuOpen() OVERRIDE {
+ virtual void DoTestWithMenuOpen() override {
views::SubmenuView* submenu = menu()->GetSubmenu();
ASSERT_TRUE(submenu);
ASSERT_TRUE(submenu->IsShowing());
@@ -279,7 +279,7 @@ class MenuItemViewTestRemoveWithSubmenu : public MenuTestBase {
}
// MenuTestBase implementation
- virtual void BuildMenu(views::MenuItemView* menu) OVERRIDE {
+ virtual void BuildMenu(views::MenuItemView* menu) override {
menu->AppendMenuItemWithLabel(1, ASCIIToUTF16("item 1"));
submenu_ = menu->AppendSubMenu(2, ASCIIToUTF16("My Submenu"));
submenu_->AppendMenuItemWithLabel(101, ASCIIToUTF16("submenu item 1"));
@@ -287,7 +287,7 @@ class MenuItemViewTestRemoveWithSubmenu : public MenuTestBase {
}
// Post submenu.
- virtual void DoTestWithMenuOpen() OVERRIDE {
+ virtual void DoTestWithMenuOpen() override {
views::SubmenuView* submenu = menu()->GetSubmenu();
ASSERT_TRUE(submenu);
ASSERT_TRUE(submenu->IsShowing());
« no previous file with comments | « chrome/browser/ui/views/menu_controller_test.cc ('k') | chrome/browser/ui/views/menu_model_adapter_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698