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

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_layout_algorithm.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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/layout/ng/ng_layout_algorithm.h
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_layout_algorithm.h b/third_party/WebKit/Source/core/layout/ng/ng_layout_algorithm.h
index cc206f461ea0fda3d7ba2accecd69bb3d5464c1d..ba343da6516e71882e650ed2c71d15302cd09d2e 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_layout_algorithm.h
+++ b/third_party/WebKit/Source/core/layout/ng/ng_layout_algorithm.h
@@ -19,7 +19,7 @@ class NGFragmentBase;
class NGPhysicalFragmentBase;
class NGPhysicalFragment;
-enum NGLayoutStatus { NotFinished, ChildAlgorithmRequired, NewFragment };
+enum NGLayoutStatus { kNotFinished, kChildAlgorithmRequired, kNewFragment };
// Base class for all LayoutNG algorithms.
class CORE_EXPORT NGLayoutAlgorithm
@@ -44,7 +44,7 @@ class CORE_EXPORT NGLayoutAlgorithm
NGPhysicalFragmentBase**,
NGLayoutAlgorithm**) = 0;
- enum MinAndMaxState { Success, Pending, NotImplemented };
+ enum MinAndMaxState { kSuccess, kPending, kNotImplemented };
// Computes the min-content and max-content intrinsic sizes for the given box.
// The result will not take any min-width. max-width or width properties into
@@ -55,7 +55,7 @@ class CORE_EXPORT NGLayoutAlgorithm
// A Pending return value has the same meaning as a false return from layout,
// i.e. it is a request to call this function again.
virtual MinAndMaxState ComputeMinAndMaxContentSizes(MinAndMaxContentSizes*) {
- return NotImplemented;
+ return kNotImplemented;
}
DEFINE_INLINE_VIRTUAL_TRACE() {}

Powered by Google App Engine
This is Rietveld 408576698