Index: ash/common/system/ime/tray_ime_chromeos.cc |
diff --git a/ash/common/system/ime/tray_ime_chromeos.cc b/ash/common/system/ime/tray_ime_chromeos.cc |
index 7cbd3d7e7332d202e7f235730c187f3e08c0d788..78d9f976e2cc045dbc956b33d11b822be219a630 100644 |
--- a/ash/common/system/ime/tray_ime_chromeos.cc |
+++ b/ash/common/system/ime/tray_ime_chromeos.cc |
@@ -17,6 +17,7 @@ |
#include "ash/common/system/tray/tray_details_view.h" |
#include "ash/common/system/tray/tray_item_more.h" |
#include "ash/common/system/tray/tray_item_view.h" |
+#include "ash/common/system/tray/tray_popup_item_style.h" |
#include "ash/common/system/tray/tray_utils.h" |
#include "ash/common/system/tray_accessibility.h" |
#include "ash/common/wm_shell.h" |
@@ -88,6 +89,19 @@ class IMEDefaultView : public TrayItemMore { |
SetAccessibleName(label); |
} |
+ protected: |
+ // TrayItemMore: |
+ void UpdateStyle() override { |
+ TrayItemMore::UpdateStyle(); |
+ |
+ if (!MaterialDesignController::IsSystemTrayMenuMaterial()) |
+ return; |
+ |
+ std::unique_ptr<TrayPopupItemStyle> style = CreateStyle(); |
+ SetImage(gfx::CreateVectorIcon(kSystemMenuKeyboardIcon, |
+ style->GetForegroundColor())); |
+ } |
+ |
private: |
DISALLOW_COPY_AND_ASSIGN(IMEDefaultView); |
}; |