Index: components/autofill/core/common/autofill_enums.h |
diff --git a/components/autofill/core/common/autofill_enums.h b/components/autofill/core/common/autofill_enums.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..35901efbf121af7039d4c4332e9ea28af4679a5f |
--- /dev/null |
+++ b/components/autofill/core/common/autofill_enums.h |
@@ -0,0 +1,27 @@ |
+// Copyright 2013 The Chromium Authors. All rights reserved. |
Ilya Sherman
2014/02/11 22:21:33
nit: 2014
gnana
2014/02/12 13:34:09
Done.
|
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+// Contains enum specific to the Autofill component. |
+ |
+#ifndef COMPONENTS_AUTOFILL_CORE_COMMON_AUTOFILL_ENUMS_H_ |
+#define COMPONENTS_AUTOFILL_CORE_COMMON_AUTOFILL_ENUMS_H_ |
+ |
+#include <stddef.h> // For size_t |
Ilya Sherman
2014/02/11 22:21:33
nit: size_t isn't used in this header file, so the
gnana
2014/02/12 13:34:09
Done.
|
+ |
+namespace autofill { |
+ |
+ enum { |
Ilya Sherman
2014/02/11 22:21:33
nit: The enum should be named, probably "MenuItemI
gnana
2014/02/12 13:34:09
Done.
|
+ MenuItemIDAutocompleteEntry = 0, |
blundell
2014/02/11 20:30:33
I would think this most naturally belongs in autof
gnana
2014/02/12 13:34:09
Applied the git cl format, to resolve indentation
|
+ MenuItemIDWarningMessage = -1, |
+ MenuItemIDPasswordEntry = -2, |
+ MenuItemIDSeparator = -3, |
+ MenuItemIDClearForm = -4, |
Ilya Sherman
2014/02/11 22:21:33
nit: Rather than "Menu", "Popup" or "PopupMenu" wo
gnana
2014/02/12 13:34:09
Done.
|
+ MenuItemIDAutofillOptions = -5, |
+ MenuItemIDDataListEntry = -6 |
Ilya Sherman
2014/02/11 22:21:33
nit: Chromium enum values should be formatted in A
gnana
2014/02/12 13:34:09
Done.
|
+ }; |
+ |
+ |
+} // namespace autofill |
+ |
+#endif // COMPONENTS_AUTOFILL_CORE_COMMON_AUTOFILL_ENUMS_H_ |