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

Unified Diff: ui/views/masked_targeter_delegate.h

Issue 679233002: Standardize usage of virtual/override/final specifiers. (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 | « ui/views/linux_ui/window_button_order_provider.cc ('k') | ui/views/mouse_watcher_aura.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/masked_targeter_delegate.h
diff --git a/ui/views/masked_targeter_delegate.h b/ui/views/masked_targeter_delegate.h
index ee8701c7736ce9b37fba20e966396fea40b7857c..55ac3b30cf420362afa4f52e9ef175431d345493 100644
--- a/ui/views/masked_targeter_delegate.h
+++ b/ui/views/masked_targeter_delegate.h
@@ -23,7 +23,7 @@ class View;
class VIEWS_EXPORT MaskedTargeterDelegate : public ViewTargeterDelegate {
public:
MaskedTargeterDelegate() {}
- virtual ~MaskedTargeterDelegate() {}
+ ~MaskedTargeterDelegate() override {}
// Sets the hit-test mask for the view which implements this interface,
// in that view's local coordinate space. Returns whether a valid mask
@@ -31,8 +31,8 @@ class VIEWS_EXPORT MaskedTargeterDelegate : public ViewTargeterDelegate {
virtual bool GetHitTestMask(gfx::Path* mask) const = 0;
// ViewTargeterDelegate:
- virtual bool DoesIntersectRect(const View* target,
- const gfx::Rect& rect) const override;
+ bool DoesIntersectRect(const View* target,
+ const gfx::Rect& rect) const override;
private:
DISALLOW_COPY_AND_ASSIGN(MaskedTargeterDelegate);
« no previous file with comments | « ui/views/linux_ui/window_button_order_provider.cc ('k') | ui/views/mouse_watcher_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698