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

Unified Diff: chrome/browser/ui/views/profiles/new_avatar_button.h

Issue 1136693002: Chrome user menu shouldn't close if a tab steals focus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Chrome user menu shouldn't close if a tab steals focus Created 5 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/new_avatar_button.h
diff --git a/chrome/browser/ui/views/profiles/new_avatar_button.h b/chrome/browser/ui/views/profiles/new_avatar_button.h
index 4c09eed9b41f86cbc301f5f284d1b67b40ec62e9..0ea497cdb08ecc59fcc7d204aa38920e951b3a68 100644
--- a/chrome/browser/ui/views/profiles/new_avatar_button.h
+++ b/chrome/browser/ui/views/profiles/new_avatar_button.h
@@ -60,11 +60,6 @@ class NewAvatarButton : public views::LabelButton,
// Different assets are used depending on the OS version.
gfx::ImageSkia generic_avatar_;
- // This is used to check if the bubble was showing during the mouse pressed
- // event. If this is true then the mouse released event is ignored to prevent
- // the bubble from reshowing.
- bool suppress_mouse_released_action_;
-
DISALLOW_COPY_AND_ASSIGN(NewAvatarButton);
};

Powered by Google App Engine
This is Rietveld 408576698