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

Unified Diff: ash/system/status_area_widget.h

Issue 1996563002: Add ImeMenuTray element. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change SetWindowState() with SetImeWindow(). Created 4 years, 6 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/system/status_area_widget.h
diff --git a/ash/system/status_area_widget.h b/ash/system/status_area_widget.h
index ce4eeb0fe8ad9edfff85fd35eb3d95ec420306a4..03b774de2f4c3a953f713a28b2777c5fc7d8f14b 100644
--- a/ash/system/status_area_widget.h
+++ b/ash/system/status_area_widget.h
@@ -20,6 +20,7 @@ class WebNotificationTray;
class WmShelf;
class WmWindow;
#if defined(OS_CHROMEOS)
+class ImeMenuTray;
class LogoutButtonTray;
class VirtualKeyboardTray;
#endif
@@ -56,6 +57,10 @@ class ASH_EXPORT StatusAreaWidget : public views::Widget {
LoginStatus login_status() const { return login_status_; }
+#if defined(OS_CHROMEOS)
+ ImeMenuTray* ime_menu_tray() { return ime_menu_tray_; }
+#endif
+
// Returns true if the shelf should be visible. This is used when the
// shelf is configured to auto-hide and test if the shelf should force
// the shelf to remain visible.
@@ -79,6 +84,7 @@ class ASH_EXPORT StatusAreaWidget : public views::Widget {
#if defined(OS_CHROMEOS)
void AddLogoutButtonTray();
void AddVirtualKeyboardTray();
+ void AddImeMenuTray();
#endif
void AddOverviewButtonTray();
@@ -90,6 +96,7 @@ class ASH_EXPORT StatusAreaWidget : public views::Widget {
#if defined(OS_CHROMEOS)
LogoutButtonTray* logout_button_tray_;
VirtualKeyboardTray* virtual_keyboard_tray_;
+ ImeMenuTray* ime_menu_tray_;
#endif
LoginStatus login_status_;

Powered by Google App Engine
This is Rietveld 408576698