summaryrefslogtreecommitdiffstats
path: root/ash/system/system_notifier.h
diff options
context:
space:
mode:
Diffstat (limited to 'ash/system/system_notifier.h')
-rw-r--r--ash/system/system_notifier.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/ash/system/system_notifier.h b/ash/system/system_notifier.h
new file mode 100644
index 0000000..119ed5b
--- /dev/null
+++ b/ash/system/system_notifier.h
@@ -0,0 +1,37 @@
+// Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef ASH_SYSTEM_SYSTEM_NOTIFIER_H_
+#define ASH_SYSTEM_SYSTEM_NOTIFIER_H_
+
+#include <string>
+
+#include "ash/ash_export.h"
+
+namespace ash {
+
+enum AshSystemComponentNotifierType {
+ NOTIFIER_NO_SYSTEM_COMPONENT = -1,
+
+ // Alphabetical order.
+ NOTIFIER_DISPLAY,
+ NOTIFIER_DISPLAY_RESOLUTION_CHANGE,
+ NOTIFIER_DISPLAY_ERROR,
+ NOTIFIER_INPUT_METHOD,
+ NOTIFIER_LOCALE,
+ NOTIFIER_LOCALLY_MANAGED_USER,
+ NOTIFIER_NETWORK,
+ NOTIFIER_NETWORK_ERROR,
+ NOTIFIER_SCREENSHOT,
+ NOTIFIER_SCREEN_CAPTURE,
+ NOTIFIER_SCREEN_SHARE,
+ NOTIFIER_POWER,
+};
+
+ASH_EXPORT std::string SystemComponentTypeToString(
+ AshSystemComponentNotifierType type);
+
+} // namespace ash
+
+#endif // ASH_SYSTEM_SYSTEM_NOTIFIER_H_