OLD | NEW |
| (Empty) |
1 // Copyright 2016 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 ng_macros_h | |
6 #define ng_macros_h | |
7 | |
8 #include "base/macros.h" | |
9 | |
10 namespace blink { | |
11 | |
12 // Macro that can be used to annotate cases where it's OK to ignore writing | |
13 // mode. This is because changing the writing mode establishes a new formatting | |
14 // context and can be ignored while accessing some properties that are only | |
15 // stored in physical constraint space. Example: MarginStrut. | |
16 #ifndef WRITING_MODE_IGNORED | |
17 #define WRITING_MODE_IGNORED(message) | |
18 #endif | |
19 | |
20 } // namespace blink | |
21 | |
22 #endif // ng_macros_h | |
OLD | NEW |