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

Side by Side Diff: chrome/common/form_field.cc

Issue 11000016: Move forms/ out of webkit/. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Response to review Created 8 years, 2 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "webkit/forms/form_field.h" 5 #include "chrome/common/form_field.h"
6 6
7 #include "base/string_util.h" 7 #include "base/string_util.h"
8 #include "base/utf_string_conversions.h" 8 #include "base/utf_string_conversions.h"
9 9
10 namespace webkit { 10 namespace chrome {
11 namespace forms {
12 11
13 FormField::FormField() 12 FormField::FormField()
14 : max_length(0), 13 : max_length(0),
15 is_autofilled(false), 14 is_autofilled(false),
16 is_focusable(false), 15 is_focusable(false),
17 should_autocomplete(false) { 16 should_autocomplete(false) {
18 } 17 }
19 18
20 FormField::~FormField() { 19 FormField::~FormField() {
21 } 20 }
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 << " " 54 << " "
56 << field.max_length 55 << field.max_length
57 << " " 56 << " "
58 << (field.is_autofilled ? "true" : "false") 57 << (field.is_autofilled ? "true" : "false")
59 << " " 58 << " "
60 << (field.is_focusable ? "true" : "false") 59 << (field.is_focusable ? "true" : "false")
61 << " " 60 << " "
62 << (field.should_autocomplete ? "true" : "false"); 61 << (field.should_autocomplete ? "true" : "false");
63 } 62 }
64 63
65 } // namespace forms 64 } // namespace chrome
66 } // namespace webkit
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698