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

Side by Side Diff: ui/views/masked_targeter_delegate.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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_VIEWS_MASKED_TARGETER_DELEGATE_H_ 5 #ifndef UI_VIEWS_MASKED_TARGETER_DELEGATE_H_
6 #define UI_VIEWS_MASKED_TARGETER_DELEGATE_H_ 6 #define UI_VIEWS_MASKED_TARGETER_DELEGATE_H_
7 7
8 #include "ui/base/ui_base_types.h" 8 #include "ui/base/ui_base_types.h"
9 #include "ui/views/view_targeter_delegate.h" 9 #include "ui/views/view_targeter_delegate.h"
10 #include "ui/views/views_export.h" 10 #include "ui/views/views_export.h"
(...skipping 14 matching lines...) Expand all
25 MaskedTargeterDelegate() {} 25 MaskedTargeterDelegate() {}
26 virtual ~MaskedTargeterDelegate() {} 26 virtual ~MaskedTargeterDelegate() {}
27 27
28 // Sets the hit-test mask for the view which implements this interface, 28 // Sets the hit-test mask for the view which implements this interface,
29 // in that view's local coordinate space. Returns whether a valid mask 29 // in that view's local coordinate space. Returns whether a valid mask
30 // has been set in |mask|. 30 // has been set in |mask|.
31 virtual bool GetHitTestMask(gfx::Path* mask) const = 0; 31 virtual bool GetHitTestMask(gfx::Path* mask) const = 0;
32 32
33 // ViewTargeterDelegate: 33 // ViewTargeterDelegate:
34 virtual bool DoesIntersectRect(const View* target, 34 virtual bool DoesIntersectRect(const View* target,
35 const gfx::Rect& rect) const OVERRIDE; 35 const gfx::Rect& rect) const override;
36 36
37 private: 37 private:
38 DISALLOW_COPY_AND_ASSIGN(MaskedTargeterDelegate); 38 DISALLOW_COPY_AND_ASSIGN(MaskedTargeterDelegate);
39 }; 39 };
40 40
41 } // namespace views 41 } // namespace views
42 42
43 #endif // UI_VIEWS_MASKED_TARGETER_DELEGATE_H_ 43 #endif // UI_VIEWS_MASKED_TARGETER_DELEGATE_H_
OLDNEW
« 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