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

Unified Diff: chrome/browser/ui/views/toolbar/app_menu_button.cc

Issue 1682603002: [UI Views] Don't allow a ButtonListener and a MenuButtonListener (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Latest master Created 4 years, 10 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 | « chrome/browser/ui/views/tab_icon_view.cc ('k') | chrome/browser/ui/views/toolbar/chevron_menu_button.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/toolbar/app_menu_button.cc
diff --git a/chrome/browser/ui/views/toolbar/app_menu_button.cc b/chrome/browser/ui/views/toolbar/app_menu_button.cc
index a277f246b37c2fe11332d44e6322bc3af583157d..78657600e43a81dadd852006e7ad5bfb724e9308 100644
--- a/chrome/browser/ui/views/toolbar/app_menu_button.cc
+++ b/chrome/browser/ui/views/toolbar/app_menu_button.cc
@@ -35,12 +35,11 @@
bool AppMenuButton::g_open_app_immediately_for_testing = false;
AppMenuButton::AppMenuButton(ToolbarView* toolbar_view)
- : views::MenuButton(NULL, base::string16(), toolbar_view, false),
+ : views::MenuButton(base::string16(), toolbar_view, false),
severity_(AppMenuIconPainter::SEVERITY_NONE),
toolbar_view_(toolbar_view),
allow_extension_dragging_(
- extensions::FeatureSwitch::extension_action_redesign()
- ->IsEnabled()),
+ extensions::FeatureSwitch::extension_action_redesign()->IsEnabled()),
destroyed_(nullptr),
margin_trailing_(0),
ink_drop_delegate_(new views::ButtonInkDropDelegate(this, this)),
« no previous file with comments | « chrome/browser/ui/views/tab_icon_view.cc ('k') | chrome/browser/ui/views/toolbar/chevron_menu_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698