Chromium Code Reviews| Index: ash/public/cpp/window_pin_type.h |
| diff --git a/ash/public/cpp/window_pin_type.h b/ash/public/cpp/window_pin_type.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..36162ad757c68726b366bbcecea7e180427f773e |
| --- /dev/null |
| +++ b/ash/public/cpp/window_pin_type.h |
| @@ -0,0 +1,24 @@ |
| +// Copyright 2017 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_PUBLIC_CPP_WINDOW_PIN_TYPE_H_ |
| +#define ASH_PUBLIC_CPP_WINDOW_PIN_TYPE_H_ |
| + |
| +#include <cstdint> |
| + |
| +#include "ash/public/cpp/ash_public_export.h" |
| + |
| +namespace ash { |
| + |
| +enum class WindowPinType { |
|
sky
2017/04/03 16:38:56
Can we only have one enum? Specifically use the en
Peng
2017/04/03 18:03:48
Done.
|
| + NONE, |
| + PINNED, |
| + TRUSTED_PINNED, |
| +}; |
| + |
| +ASH_PUBLIC_EXPORT bool IsValidWindowPinType(int64_t value); |
| + |
| +} // namespace ash |
| + |
| +#endif // ASH_PUBLIC_CPP_WINDOW_PIN_TYPE_H_ |