| Index: content/public/common/screen_orientation_values_list.h
|
| diff --git a/content/public/common/screen_orientation_values_list.h b/content/public/common/screen_orientation_values_list.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..64c27e9effd3222c50b1f56f1eb68a9820d350a7
|
| --- /dev/null
|
| +++ b/content/public/common/screen_orientation_values_list.h
|
| @@ -0,0 +1,19 @@
|
| +// Copyright 2014 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 CONTENT_PUBLIC_COMMON_SCREEN_ORIENTATION_VALUES_LIST_H_
|
| +#define CONTENT_PUBLIC_COMMON_SCREEN_ORIENTATION_VALUES_LIST_H_
|
| +
|
| +#ifndef DEFINE_SCREEN_ORIENTATION_VALUE
|
| +#error "DEFINE_SCREEN_ORIENTATION_VALUE should be defined before including this"
|
| +#endif
|
| +
|
| +// These values are defined with macros so that a Java class can be generated
|
| +// for them.
|
| +DEFINE_SCREEN_ORIENTATION_VALUE(PORTRAIT_PRIMARY, 1 << 0)
|
| +DEFINE_SCREEN_ORIENTATION_VALUE(LANDSCAPE_PRIMARY, 1 << 1)
|
| +DEFINE_SCREEN_ORIENTATION_VALUE(PORTRAIT_SECONDARY, 1 << 2)
|
| +DEFINE_SCREEN_ORIENTATION_VALUE(LANDSCAPE_SECONDARY, 1 << 3)
|
| +
|
| +#endif // CONTENT_PUBLIC_COMMON_SCREEN_ORIENTATION_VALUES_LIST_H_
|
|
|