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

Unified Diff: ash/system/ime/tray_ime_chromeos.cc

Issue 2805733002: [Ash] Use DCHECK in ImeListView::HandleButtonPressed() (Closed)
Patch Set: DCHECK_EQ Created 3 years, 8 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 | ash/system/ime_menu/ime_list_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/ime/tray_ime_chromeos.cc
diff --git a/ash/system/ime/tray_ime_chromeos.cc b/ash/system/ime/tray_ime_chromeos.cc
index 3ecbe7fbd3078da29e3ffe9068a71dbe42d2f235..ee3524b2ad6d6a742bf61bb42d0fcfdb79d4dd04 100644
--- a/ash/system/ime/tray_ime_chromeos.cc
+++ b/ash/system/ime/tray_ime_chromeos.cc
@@ -103,9 +103,10 @@ class IMEDetailedView : public ImeListView {
void HandleButtonPressed(views::Button* sender,
const ui::Event& event) override {
- ImeListView::HandleButtonPressed(sender, event);
if (sender == settings_button_)
ShowSettings();
+ else
+ ImeListView::HandleButtonPressed(sender, event);
}
void CreateExtraTitleRowButtons() override {
« no previous file with comments | « no previous file | ash/system/ime_menu/ime_list_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698