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

Unified Diff: chrome/browser/ui/views/toolbar/chevron_menu_button.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
Index: chrome/browser/ui/views/toolbar/chevron_menu_button.cc
diff --git a/chrome/browser/ui/views/toolbar/chevron_menu_button.cc b/chrome/browser/ui/views/toolbar/chevron_menu_button.cc
index c335b1ea2370a12319d4870030ca2f2d4b9a7784..e2b40dfc5fc1b1dc8316789382a5582dae3d3ad9 100644
--- a/chrome/browser/ui/views/toolbar/chevron_menu_button.cc
+++ b/chrome/browser/ui/views/toolbar/chevron_menu_button.cc
@@ -47,7 +47,7 @@ class IconUpdater : public BrowserActionView::IconObserver {
}
// BrowserActionView::IconObserver:
- virtual void OnIconUpdated(const gfx::ImageSkia& icon) OVERRIDE {
+ virtual void OnIconUpdated(const gfx::ImageSkia& icon) override {
menu_item_view_->SetIcon(icon);
}
@@ -80,34 +80,34 @@ class ChevronMenuButton::MenuController : public views::MenuDelegate {
private:
// views::MenuDelegate:
- virtual bool IsCommandEnabled(int id) const OVERRIDE;
- virtual void ExecuteCommand(int id) OVERRIDE;
+ virtual bool IsCommandEnabled(int id) const override;
+ virtual void ExecuteCommand(int id) override;
virtual bool ShowContextMenu(views::MenuItemView* source,
int id,
const gfx::Point& p,
- ui::MenuSourceType source_type) OVERRIDE;
- virtual void DropMenuClosed(views::MenuItemView* menu) OVERRIDE;
+ ui::MenuSourceType source_type) override;
+ virtual void DropMenuClosed(views::MenuItemView* menu) override;
// These drag functions offer support for dragging icons into the overflow
// menu.
virtual bool GetDropFormats(
views::MenuItemView* menu,
int* formats,
- std::set<ui::OSExchangeData::CustomFormat>* custom_formats) OVERRIDE;
- virtual bool AreDropTypesRequired(views::MenuItemView* menu) OVERRIDE;
+ std::set<ui::OSExchangeData::CustomFormat>* custom_formats) override;
+ virtual bool AreDropTypesRequired(views::MenuItemView* menu) override;
virtual bool CanDrop(views::MenuItemView* menu,
- const ui::OSExchangeData& data) OVERRIDE;
+ const ui::OSExchangeData& data) override;
virtual int GetDropOperation(views::MenuItemView* item,
const ui::DropTargetEvent& event,
- DropPosition* position) OVERRIDE;
+ DropPosition* position) override;
virtual int OnPerformDrop(views::MenuItemView* menu,
DropPosition position,
- const ui::DropTargetEvent& event) OVERRIDE;
+ const ui::DropTargetEvent& event) override;
// These three drag functions offer support for dragging icons out of the
// overflow menu.
- virtual bool CanDrag(views::MenuItemView* menu) OVERRIDE;
+ virtual bool CanDrag(views::MenuItemView* menu) override;
virtual void WriteDragData(views::MenuItemView* sender,
- ui::OSExchangeData* data) OVERRIDE;
- virtual int GetDragOperations(views::MenuItemView* sender) OVERRIDE;
+ ui::OSExchangeData* data) override;
+ virtual int GetDragOperations(views::MenuItemView* sender) override;
// Returns the offset into |views_| for the given |id|.
size_t IndexForId(int id) const;
« no previous file with comments | « chrome/browser/ui/views/toolbar/chevron_menu_button.h ('k') | chrome/browser/ui/views/toolbar/extension_toolbar_menu_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698