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

Unified Diff: ui/message_center/views/bounded_label.cc

Issue 287193002: Remove overrides of HitTestRect() which just return false (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: override View::CanProcessEventsWithinSubtree() 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/message_center/views/bounded_label.h ('k') | ui/views/controls/label.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/views/bounded_label.cc
diff --git a/ui/message_center/views/bounded_label.cc b/ui/message_center/views/bounded_label.cc
index fd409b426cd3fdcfa8a9637b6e33d2ac16d4f0ea..90ee1dc2070f91d1d858383eb1396d51bbbce550 100644
--- a/ui/message_center/views/bounded_label.cc
+++ b/ui/message_center/views/bounded_label.cc
@@ -333,8 +333,8 @@ void BoundedLabel::Paint(gfx::Canvas* canvas, const views::CullSet& cull_set) {
label_->Paint(canvas, cull_set);
}
-bool BoundedLabel::HitTestRect(const gfx::Rect& rect) const {
- return label_->HitTestRect(rect);
+bool BoundedLabel::CanProcessEventsWithinSubtree() const {
+ return label_->CanProcessEventsWithinSubtree();
}
void BoundedLabel::GetAccessibleState(ui::AXViewState* state) {
« no previous file with comments | « ui/message_center/views/bounded_label.h ('k') | ui/views/controls/label.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698