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

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

Issue 2691093004: Fix orthogonal mode legacy mismatch (Closed)
Patch Set: CR fixes Created 3 years, 10 months 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_writing_mode.h
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_writing_mode.h b/third_party/WebKit/Source/core/layout/ng/ng_writing_mode.h
index 4ada7d2778299fbf920cdac3174ff766f73cabaa..97de05839a3069071226fdb13579afb6cb9f3b03 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_writing_mode.h
+++ b/third_party/WebKit/Source/core/layout/ng/ng_writing_mode.h
@@ -10,6 +10,9 @@
namespace blink {
+class LayoutObject;
+class ComputedStyle;
+
enum NGWritingMode {
kHorizontalTopBottom = 0,
kVerticalRightLeft = 1,
@@ -20,6 +23,11 @@ enum NGWritingMode {
CORE_EXPORT NGWritingMode FromPlatformWritingMode(WritingMode);
+bool IsParallelWritingMode(NGWritingMode a, NGWritingMode b);
+
+bool IsParallelWritingMode(const LayoutObject* layoutObject,
cbiesinger 2017/02/15 17:52:24 Please add a comment for what this function does.
atotic 2017/02/15 21:07:36 done. This funciton was removed due to lack of cal
+ const ComputedStyle& style);
+
} // namespace blink
#endif // NGWritingMode_h

Powered by Google App Engine
This is Rietveld 408576698