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

Unified Diff: ui/views/masked_view_targeter.h

Issue 308003019: Add DCHECK to MaskedViewTargeter::GetHitTestMask() overrides (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: ui/views/masked_view_targeter.h
diff --git a/ui/views/masked_view_targeter.h b/ui/views/masked_view_targeter.h
index 0b324371f76a810fc299e0e3994f66b6ad84f4d6..df155b915de7498801fd66038c9b7a3b25e48985 100644
--- a/ui/views/masked_view_targeter.h
+++ b/ui/views/masked_view_targeter.h
@@ -28,6 +28,8 @@ class VIEWS_EXPORT MaskedViewTargeter : public ViewTargeter {
virtual bool GetHitTestMask(const View* view, gfx::Path* mask) const = 0;
protected:
+ const View* masked_view() const { return masked_view_; }
+
// ui::EventTargeter:
virtual bool EventLocationInsideBounds(
ui::EventTarget* target,
« chrome/browser/ui/views/tabs/tab_strip.cc ('K') | « ui/app_list/views/speech_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698