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

Unified Diff: ui/views/examples/tree_view_example.h

Issue 623293004: replace OVERRIDE and FINAL with override and final in ui/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master 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 | « ui/views/examples/throbber_example.cc ('k') | ui/views/examples/webview_example.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/examples/tree_view_example.h
diff --git a/ui/views/examples/tree_view_example.h b/ui/views/examples/tree_view_example.h
index 55af17f7d08e55f13eb65995d436b1421f9dd95d..4678b2a775fd57d78b2dc269df8ce754b0ca25f0 100644
--- a/ui/views/examples/tree_view_example.h
+++ b/ui/views/examples/tree_view_example.h
@@ -31,7 +31,7 @@ class VIEWS_EXAMPLES_EXPORT TreeViewExample
virtual ~TreeViewExample();
// ExampleBase:
- virtual void CreateExampleView(View* container) OVERRIDE;
+ virtual void CreateExampleView(View* container) override;
private:
// IDs used by the context menu.
@@ -48,24 +48,24 @@ class VIEWS_EXAMPLES_EXPORT TreeViewExample
bool IsCommandIdEnabled(int command_id);
// ButtonListener:
- virtual void ButtonPressed(Button* sender, const ui::Event& event) OVERRIDE;
+ virtual void ButtonPressed(Button* sender, const ui::Event& event) override;
// TreeViewController:
- virtual void OnTreeViewSelectionChanged(TreeView* tree_view) OVERRIDE;
- virtual bool CanEdit(TreeView* tree_view, ui::TreeModelNode* node) OVERRIDE;
+ virtual void OnTreeViewSelectionChanged(TreeView* tree_view) override;
+ virtual bool CanEdit(TreeView* tree_view, ui::TreeModelNode* node) override;
// ContextMenuController:
virtual void ShowContextMenuForView(View* source,
const gfx::Point& point,
- ui::MenuSourceType source_type) OVERRIDE;
+ ui::MenuSourceType source_type) override;
// SimpleMenuModel::Delegate:
- virtual bool IsCommandIdChecked(int command_id) const OVERRIDE;
- virtual bool IsCommandIdEnabled(int command_id) const OVERRIDE;
+ virtual bool IsCommandIdChecked(int command_id) const override;
+ virtual bool IsCommandIdEnabled(int command_id) const override;
virtual bool GetAcceleratorForCommandId(
int command_id,
- ui::Accelerator* accelerator) OVERRIDE;
- virtual void ExecuteCommand(int command_id, int event_flags) OVERRIDE;
+ ui::Accelerator* accelerator) override;
+ virtual void ExecuteCommand(int command_id, int event_flags) override;
// The tree view to be tested.
TreeView* tree_view_;
« no previous file with comments | « ui/views/examples/throbber_example.cc ('k') | ui/views/examples/webview_example.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698