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

Side by Side Diff: components/autofill/renderer/form_autofill_util.h

Issue 12434004: Move remaining Autofill code to //components/autofill. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix long lines Created 7 years, 9 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 | Annotate | Revision Log
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 #ifndef CHROME_RENDERER_AUTOFILL_FORM_AUTOFILL_UTIL_H_ 5 #ifndef COMPONENTS_AUTOFILL_RENDERER_FORM_AUTOFILL_UTIL_H_
6 #define CHROME_RENDERER_AUTOFILL_FORM_AUTOFILL_UTIL_H_ 6 #define COMPONENTS_AUTOFILL_RENDERER_FORM_AUTOFILL_UTIL_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/string16.h" 10 #include "base/string16.h"
11 11
12 struct FormData; 12 struct FormData;
13 struct FormFieldData; 13 struct FormFieldData;
14 14
15 namespace WebKit { 15 namespace WebKit {
16 class WebDocument; 16 class WebDocument;
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 // autofilled state of |node| to |was_autofilled|. Returns false if the form is 129 // autofilled state of |node| to |was_autofilled|. Returns false if the form is
130 // not found. 130 // not found.
131 bool ClearPreviewedFormWithElement(const WebKit::WebInputElement& element, 131 bool ClearPreviewedFormWithElement(const WebKit::WebInputElement& element,
132 bool was_autofilled); 132 bool was_autofilled);
133 133
134 // Returns true if |form| has any auto-filled fields. 134 // Returns true if |form| has any auto-filled fields.
135 bool FormWithElementIsAutofilled(const WebKit::WebInputElement& element); 135 bool FormWithElementIsAutofilled(const WebKit::WebInputElement& element);
136 136
137 } // namespace autofill 137 } // namespace autofill
138 138
139 #endif // CHROME_RENDERER_AUTOFILL_FORM_AUTOFILL_UTIL_H_ 139 #endif // COMPONENTS_AUTOFILL_RENDERER_FORM_AUTOFILL_UTIL_H_
OLDNEW
« no previous file with comments | « components/autofill/renderer/autofill_agent.cc ('k') | components/autofill/renderer/form_autofill_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698