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

Unified Diff: mojo/services/view_manager/default_access_policy.h

Issue 634483003: replace OVERRIDE and FINAL with override and final in mojo/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove compiler_specific.h inclusions 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 | « mojo/services/view_manager/connection_manager.h ('k') | mojo/services/view_manager/display_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/view_manager/default_access_policy.h
diff --git a/mojo/services/view_manager/default_access_policy.h b/mojo/services/view_manager/default_access_policy.h
index 197736aeddadc293313c58ae32f061ae20441545..d8c0194d2a4ae1353fa73b78a4f949a48c1936d7 100644
--- a/mojo/services/view_manager/default_access_policy.h
+++ b/mojo/services/view_manager/default_access_policy.h
@@ -21,24 +21,24 @@ class DefaultAccessPolicy : public AccessPolicy {
virtual ~DefaultAccessPolicy();
// AccessPolicy:
- virtual bool CanRemoveViewFromParent(const ServerView* view) const OVERRIDE;
+ virtual bool CanRemoveViewFromParent(const ServerView* view) const override;
virtual bool CanAddView(const ServerView* parent,
- const ServerView* child) const OVERRIDE;
+ const ServerView* child) const override;
virtual bool CanReorderView(const ServerView* view,
const ServerView* relative_view,
- OrderDirection direction) const OVERRIDE;
- virtual bool CanDeleteView(const ServerView* view) const OVERRIDE;
- virtual bool CanGetViewTree(const ServerView* view) const OVERRIDE;
+ OrderDirection direction) const override;
+ virtual bool CanDeleteView(const ServerView* view) const override;
+ virtual bool CanGetViewTree(const ServerView* view) const override;
virtual bool CanDescendIntoViewForViewTree(
- const ServerView* view) const OVERRIDE;
- virtual bool CanEmbed(const ServerView* view) const OVERRIDE;
- virtual bool CanChangeViewVisibility(const ServerView* view) const OVERRIDE;
- virtual bool CanSetViewSurfaceId(const ServerView* view) const OVERRIDE;
- virtual bool CanSetViewBounds(const ServerView* view) const OVERRIDE;
+ const ServerView* view) const override;
+ virtual bool CanEmbed(const ServerView* view) const override;
+ virtual bool CanChangeViewVisibility(const ServerView* view) const override;
+ virtual bool CanSetViewSurfaceId(const ServerView* view) const override;
+ virtual bool CanSetViewBounds(const ServerView* view) const override;
virtual bool ShouldNotifyOnHierarchyChange(
const ServerView* view,
const ServerView** new_parent,
- const ServerView** old_parent) const OVERRIDE;
+ const ServerView** old_parent) const override;
private:
bool IsViewInRoots(const ServerView* view) const;
« no previous file with comments | « mojo/services/view_manager/connection_manager.h ('k') | mojo/services/view_manager/display_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698