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

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutObject.h

Issue 1742973002: [css-flexbox] Correctly resolve percentages in children of stretched flex items (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add comment Created 4 years, 9 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 unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) 3 * (C) 2000 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com)
6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r ights reserved. 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r ights reserved.
7 * Copyright (C) 2009 Google Inc. All rights reserved. 7 * Copyright (C) 2009 Google Inc. All rights reserved.
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 }; 91 };
92 92
93 enum MapCoordinatesMode { 93 enum MapCoordinatesMode {
94 IsFixed = 1 << 0, 94 IsFixed = 1 << 0,
95 UseTransforms = 1 << 1, 95 UseTransforms = 1 << 1,
96 ApplyContainerFlip = 1 << 2, 96 ApplyContainerFlip = 1 << 2,
97 TraverseDocumentBoundaries = 1 << 3, 97 TraverseDocumentBoundaries = 1 << 3,
98 }; 98 };
99 typedef unsigned MapCoordinatesFlags; 99 typedef unsigned MapCoordinatesFlags;
100 100
101 enum ScheduleRelayoutBehavior {
102 ScheduleRelayout,
103 DontScheduleRelayout
104 };
105
101 const LayoutUnit& caretWidth(); 106 const LayoutUnit& caretWidth();
102 107
103 struct AnnotatedRegionValue { 108 struct AnnotatedRegionValue {
104 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); 109 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
105 bool operator==(const AnnotatedRegionValue& o) const 110 bool operator==(const AnnotatedRegionValue& o) const
106 { 111 {
107 return draggable == o.draggable && bounds == o.bounds; 112 return draggable == o.draggable && bounds == o.bounds;
108 } 113 }
109 114
110 LayoutRect bounds; 115 LayoutRect bounds;
(...skipping 2013 matching lines...) Expand 10 before | Expand all | Expand 10 after
2124 void showTree(const blink::LayoutObject*); 2129 void showTree(const blink::LayoutObject*);
2125 void showLineTree(const blink::LayoutObject*); 2130 void showLineTree(const blink::LayoutObject*);
2126 void showLayoutTree(const blink::LayoutObject* object1); 2131 void showLayoutTree(const blink::LayoutObject* object1);
2127 // We don't make object2 an optional parameter so that showLayoutTree 2132 // We don't make object2 an optional parameter so that showLayoutTree
2128 // can be called from gdb easily. 2133 // can be called from gdb easily.
2129 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec t* object2); 2134 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec t* object2);
2130 2135
2131 #endif 2136 #endif
2132 2137
2133 #endif // LayoutObject_h 2138 #endif // LayoutObject_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698