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

Unified Diff: chrome/browser/ui/views/translate/translate_bubble_view.cc

Issue 141523005: Combobox: Rename styles to STYLE_NORMAL and STYLE_ACTION and modify behaviors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 11 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 | « no previous file | ui/views/controls/combobox/combobox.h » ('j') | ui/views/controls/combobox/combobox.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/translate/translate_bubble_view.cc
diff --git a/chrome/browser/ui/views/translate/translate_bubble_view.cc b/chrome/browser/ui/views/translate/translate_bubble_view.cc
index c195505279c2e99c3bb06054d017ca9a8cdce577..e99d42d33b5af8a0305cf1c8cfe25bddd2c0f121 100644
--- a/chrome/browser/ui/views/translate/translate_bubble_view.cc
+++ b/chrome/browser/ui/views/translate/translate_bubble_view.cc
@@ -476,6 +476,7 @@ views::View* TranslateBubbleView::CreateViewBeforeTranslate() {
denial_combobox_->set_id(COMBOBOX_ID_DENIAL);
denial_combobox_->set_listener(this);
denial_combobox_->SetStyle(views::Combobox::STYLE_NOTIFY_ON_CLICK);
+ denial_combobox_->SetMenuItemRaisesClickEvent(true);
views::View* view = new views::View();
views::GridLayout* layout = new views::GridLayout(view);
« no previous file with comments | « no previous file | ui/views/controls/combobox/combobox.h » ('j') | ui/views/controls/combobox/combobox.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698