Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(744)

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_macros.h

Issue 2462413002: Reland of Use NGLogicalRect instead of NGExclusion for exclusions. (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/layout/ng/ng_macros.h
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_macros.h b/third_party/WebKit/Source/core/layout/ng/ng_macros.h
new file mode 100644
index 0000000000000000000000000000000000000000..19cfb91356ec1febd5cab00d86a19b7e8b508419
--- /dev/null
+++ b/third_party/WebKit/Source/core/layout/ng/ng_macros.h
@@ -0,0 +1,22 @@
+// Copyright 2016 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 ng_macros_h
+#define ng_macros_h
+
+#include "base/macros.h"
+
+namespace blink {
+
+// Macro that can be used to annotate cases where it's OK to ignore writing
+// mode. This is because changing the writing mode establishes a new formatting
+// context and can be ignored while accessing some properties that are only
+// stored in physical constraint space. Example: MarginStrut.
+#ifndef WRITING_MODE_IGNORED
+#define WRITING_MODE_IGNORED(message)
+#endif
+
+} // namespace blink
+
+#endif // ng_macros_h

Powered by Google App Engine
This is Rietveld 408576698