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

Unified Diff: chrome/browser/ui/views/autofill/password_generation_popup_view_views.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 | « ash/shelf/shelf_button.cc ('k') | chrome/browser/ui/views/profiles/avatar_menu_bubble_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc
diff --git a/chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc b/chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc
index f84cbdffc7de654c0048b8835782404072286764..d15b870e722a2f36edcdf7fa17f635f31e88fee4 100644
--- a/chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc
+++ b/chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc
@@ -50,8 +50,9 @@ class PasswordRow : public views::View {
}
virtual ~PasswordRow() {}
- virtual bool HitTestRect(const gfx::Rect& rect) const OVERRIDE {
- // Have parent do event handling.
+ // views::View:
+ virtual bool CanProcessEventsWithinSubtree() const OVERRIDE {
+ // Send events to the parent view for handling.
return false;
}
« no previous file with comments | « ash/shelf/shelf_button.cc ('k') | chrome/browser/ui/views/profiles/avatar_menu_bubble_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698