[M108 Migration][Callback] Bring up ewk callbacks which are related with page loading
[platform/framework/web/chromium-efl.git] / ash / shutdown_reason.h
1 // Copyright 2017 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef ASH_SHUTDOWN_REASON_H_
6 #define ASH_SHUTDOWN_REASON_H_
7
8 namespace ash {
9
10 enum class ShutdownReason {
11   POWER_BUTTON,            // User pressed the (physical) power button.
12   LOGIN_SHUT_DOWN_BUTTON,  // User pressed the login screen shut down button.
13   TRAY_SHUT_DOWN_BUTTON,   // User pressed the tray shut down button.
14   ARC_POWER_BUTTON,        // ARC power button is invoked.
15 };
16
17 // Returns a string describing |reason|.
18 const char* ShutdownReasonToString(ShutdownReason reason);
19
20 }  // namespace ash
21
22 #endif  // ASH_SHUTDOWN_REASON_H_