| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_PUBLIC_COMMON_TOP_CONTROLS_STATE_H_ | 5 #ifndef CONTENT_PUBLIC_COMMON_TOP_CONTROLS_STATE_H_ |
| 6 #define CONTENT_PUBLIC_COMMON_TOP_CONTROLS_STATE_H_ | 6 #define CONTENT_PUBLIC_COMMON_TOP_CONTROLS_STATE_H_ |
| 7 | 7 |
| 8 namespace content { | 8 namespace content { |
| 9 | 9 |
| 10 // A Java counterpart will be generated for this enum. | |
| 11 // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.content_public.common | |
| 12 enum TopControlsState { | 10 enum TopControlsState { |
| 13 TOP_CONTROLS_STATE_SHOWN = 1, | 11 #define DEFINE_TOP_CONTROLS_STATE(name, value) name = value, |
| 14 TOP_CONTROLS_STATE_HIDDEN = 2, | 12 #include "content/public/common/top_controls_state_list.h" |
| 15 TOP_CONTROLS_STATE_BOTH = 3, | 13 #undef DEFINE_TOP_CONTROLS_STATE |
| 16 }; | 14 }; |
| 17 | 15 |
| 18 } // namespace content | 16 } // namespace content |
| 19 | 17 |
| 20 #endif // CONTENT_PUBLIC_COMMON_TOP_CONTROLS_STATE_H_ | 18 #endif // CONTENT_PUBLIC_COMMON_TOP_CONTROLS_STATE_H_ |
| 21 | 19 |
| OLD | NEW |