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

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

Issue 2536323003: [LayoutNG] Fix enum values to conform to kEnumName in style guide. (Closed)
Patch Set: rebase. Created 4 years 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NGFragment_h 5 #ifndef NGFragment_h
6 #define NGFragment_h 6 #define NGFragment_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/layout/ng/ng_fragment_base.h" 9 #include "core/layout/ng/ng_fragment_base.h"
10 #include "core/layout/ng/ng_constraint_space.h" 10 #include "core/layout/ng/ng_constraint_space.h"
(...skipping 12 matching lines...) Expand all
23 TextDirection direction, 23 TextDirection direction,
24 NGPhysicalFragment* physical_fragment) 24 NGPhysicalFragment* physical_fragment)
25 : NGFragmentBase(writing_mode, direction, physical_fragment) {} 25 : NGFragmentBase(writing_mode, direction, physical_fragment) {}
26 26
27 NGMarginStrut MarginStrut() const; 27 NGMarginStrut MarginStrut() const;
28 }; 28 };
29 29
30 DEFINE_TYPE_CASTS(NGFragment, 30 DEFINE_TYPE_CASTS(NGFragment,
31 NGFragmentBase, 31 NGFragmentBase,
32 fragment, 32 fragment,
33 fragment->Type() == NGPhysicalFragmentBase::FragmentBox, 33 fragment->Type() == NGPhysicalFragmentBase::kFragmentBox,
34 fragment.Type() == NGPhysicalFragmentBase::FragmentBox); 34 fragment.Type() == NGPhysicalFragmentBase::kFragmentBox);
35 35
36 } // namespace blink 36 } // namespace blink
37 37
38 #endif // NGFragment_h 38 #endif // NGFragment_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698