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

Unified Diff: ash/system/status_area_widget.h

Issue 177123016: Add a11y virtual keyboard icon when a11y VK is enabled (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reviews and add chromeos guard for win_ash Created 6 years, 10 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 7aa2bc7423f7bb486bf11a2a21b9c5e919ab69f9..541c36d762ace8d2b59df70425ef2a4ffaaddba9 100644
--- a/ash/system/status_area_widget.h
+++ b/ash/system/status_area_widget.h
@@ -20,6 +20,9 @@ namespace internal {
class LogoutButtonTray;
class StatusAreaWidgetDelegate;
+#if defined(OS_CHROMEOS)
+class VirtualKeyboardTray;
+#endif // OS_CHROMEOS
sadrul 2014/03/04 16:25:22 I think the comment should be 'defined(OS_CHROMEOS
bshe 2014/03/04 18:56:14 Done.
class ASH_EXPORT StatusAreaWidget : public views::Widget {
public:
@@ -71,12 +74,18 @@ class ASH_EXPORT StatusAreaWidget : public views::Widget {
void AddSystemTray();
void AddWebNotificationTray();
void AddLogoutButtonTray();
+#if defined(OS_CHROMEOS)
+ void AddVirtualKeyboardTray();
+#endif // OS_CHROMEOS
// Weak pointers to View classes that are parented to StatusAreaWidget:
internal::StatusAreaWidgetDelegate* status_area_widget_delegate_;
SystemTray* system_tray_;
WebNotificationTray* web_notification_tray_;
LogoutButtonTray* logout_button_tray_;
+#if defined(OS_CHROMEOS)
+ VirtualKeyboardTray* virtual_keyboard_tray_;
+#endif // OS_CHROMEOS
user::LoginStatus login_status_;
DISALLOW_COPY_AND_ASSIGN(StatusAreaWidget);

Powered by Google App Engine
This is Rietveld 408576698