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

Unified Diff: chrome/browser/ui/views/profiles/avatar_menu_bubble_view.cc

Issue 287193002: Remove overrides of HitTestRect() which just return false (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: re-upload 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: chrome/browser/ui/views/profiles/avatar_menu_bubble_view.cc
diff --git a/chrome/browser/ui/views/profiles/avatar_menu_bubble_view.cc b/chrome/browser/ui/views/profiles/avatar_menu_bubble_view.cc
index 3a133d5afe7f7624616c1f89c5acf617c8b10c26..05ab8e60ed7839775e446be5e0803a0f9147e495 100644
--- a/chrome/browser/ui/views/profiles/avatar_menu_bubble_view.cc
+++ b/chrome/browser/ui/views/profiles/avatar_menu_bubble_view.cc
@@ -201,10 +201,11 @@ void EditProfileLink::OnBlur() {
// them instead.
class ProfileImageView : public views::ImageView {
public:
- virtual bool HitTestRect(const gfx::Rect& rect) const OVERRIDE;
+ // ui::EventTarget:
+ virtual bool CanAcceptEvent(const ui::Event& event) OVERRIDE;
};
-bool ProfileImageView::HitTestRect(const gfx::Rect& rect) const {
+bool ProfileImageView::CanAcceptEvent(const ui::Event& event) {
return false;
}

Powered by Google App Engine
This is Rietveld 408576698