Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CC_INPUT_TOP_CONTROLS_STATE_LIST_H_ | |
| 6 #define CC_INPUT_TOP_CONTROLS_STATE_LIST_H_ | |
| 7 | |
| 8 #ifndef DEFINE_TOP_CONTROLS_STATE | |
| 9 #error "DEFINE_TOP_CONTROLS_STATE should be defined before including this file" | |
| 10 #endif | |
| 11 | |
| 12 // These values are defined with macros so that a Java class can be generated | |
|
aelias_OOO_until_Jul13
2013/05/02 18:44:23
I understand the problem you're addressing here bu
Michael van Ouwerkerk
2013/05/08 16:21:15
Well, there is precedent in net/ chrome/ and conte
| |
| 13 // for them. | |
| 14 DEFINE_TOP_CONTROLS_STATE(SHOWN, 1) | |
| 15 DEFINE_TOP_CONTROLS_STATE(HIDDEN, 2) | |
| 16 DEFINE_TOP_CONTROLS_STATE(BOTH, 3) | |
| 17 | |
| 18 #endif // CC_INPUT_TOP_CONTROLS_STATE_LIST_H_ | |
| 19 | |
| OLD | NEW |