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

Unified Diff: ash/common/system/chromeos/ime_menu/ime_list_view.h

Issue 2300353002: Revert of Make TrayDetailsView a ViewClickListener and ButtonListener (Closed)
Patch Set: Created 4 years, 3 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: ash/common/system/chromeos/ime_menu/ime_list_view.h
diff --git a/ash/common/system/chromeos/ime_menu/ime_list_view.h b/ash/common/system/chromeos/ime_menu/ime_list_view.h
index 8602eecb48b47ff0dd732898aed8228c82aac586..71e6f49c7995ae960d3be2371b18e8d6f28d0f26 100644
--- a/ash/common/system/chromeos/ime_menu/ime_list_view.h
+++ b/ash/common/system/chromeos/ime_menu/ime_list_view.h
@@ -7,10 +7,11 @@
#include "ash/common/system/tray/ime_info.h"
#include "ash/common/system/tray/tray_details_view.h"
+#include "ash/common/system/tray/view_click_listener.h"
namespace ash {
// The detailed view for showing IME list.
-class ImeListView : public TrayDetailsView {
+class ImeListView : public TrayDetailsView, public ViewClickListener {
public:
enum SingleImeBehavior {
// Shows the IME menu if there's only one IME in system.
@@ -32,8 +33,8 @@
SingleImeBehavior single_ime_behavior);
protected:
- // TrayDetailsView:
- void HandleViewClicked(views::View* view) override;
+ // ViewClickListener:
+ void OnViewClicked(views::View* sender) override;
private:
// To allow the test class to access |ime_map_|.
« no previous file with comments | « ash/common/system/chromeos/bluetooth/tray_bluetooth.cc ('k') | ash/common/system/chromeos/ime_menu/ime_list_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698