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

Unified Diff: ui/views/masked_view_targeter.h

Issue 302653002: Introduce the MicButtonTargeter class (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix compilation Created 6 years, 7 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/app_list/views/speech_view_unittest.cc ('k') | ui/views/view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/masked_view_targeter.h
diff --git a/ui/views/masked_view_targeter.h b/ui/views/masked_view_targeter.h
index 9a70c9e5b6a057814d61e6d4a9bde217583663ed..0b324371f76a810fc299e0e3994f66b6ad84f4d6 100644
--- a/ui/views/masked_view_targeter.h
+++ b/ui/views/masked_view_targeter.h
@@ -23,11 +23,11 @@ class VIEWS_EXPORT MaskedViewTargeter : public ViewTargeter {
explicit MaskedViewTargeter(View* masked_view);
virtual ~MaskedViewTargeter();
- protected:
// Sets the hit-test mask for |view| in |mask| (in |view|'s local
// coordinate system). Returns whether a valid mask has been set in |mask|.
- virtual bool GetHitTestMask(View* view, gfx::Path* mask) const = 0;
+ virtual bool GetHitTestMask(const View* view, gfx::Path* mask) const = 0;
+ protected:
// ui::EventTargeter:
virtual bool EventLocationInsideBounds(
ui::EventTarget* target,
« no previous file with comments | « ui/app_list/views/speech_view_unittest.cc ('k') | ui/views/view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698