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

Side by Side Diff: components/autofill/core/common/autofill_enums.h

Issue 159853003: Moving the autofill enum from blink side to browser side (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 unified diff | Download patch
OLDNEW
(Empty)
1 // 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.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // Contains enum specific to the Autofill component.
6
7 #ifndef COMPONENTS_AUTOFILL_CORE_COMMON_AUTOFILL_ENUMS_H_
8 #define COMPONENTS_AUTOFILL_CORE_COMMON_AUTOFILL_ENUMS_H_
9
10 #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.
11
12 namespace autofill {
13
14 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.
15 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
16 MenuItemIDWarningMessage = -1,
17 MenuItemIDPasswordEntry = -2,
18 MenuItemIDSeparator = -3,
19 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.
20 MenuItemIDAutofillOptions = -5,
21 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.
22 };
23
24
25 } // namespace autofill
26
27 #endif // COMPONENTS_AUTOFILL_CORE_COMMON_AUTOFILL_ENUMS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698