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

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

Issue 8539005: Cleanup: Remove unneeded forward declarations in chrome/renderer. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 1 month 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
« no previous file with comments | « no previous file | chrome/renderer/autofill/form_cache.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CHROME_RENDERER_AUTOFILL_FORM_AUTOFILL_UTIL_H_
6 #define CHROME_RENDERER_AUTOFILL_FORM_AUTOFILL_UTIL_H_ 6 #define CHROME_RENDERER_AUTOFILL_FORM_AUTOFILL_UTIL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/string16.h" 11 #include "base/string16.h"
12 12
13 namespace webkit_glue { 13 namespace webkit_glue {
14 struct FormData; 14 struct FormData;
15 struct FormDataPredictions;
16 struct FormField; 15 struct FormField;
17 } // namespace webkit_glue 16 } // namespace webkit_glue
18 17
19 namespace WebKit { 18 namespace WebKit {
20 class WebFormElement; 19 class WebFormElement;
21 class WebFormControlElement; 20 class WebFormControlElement;
22 class WebInputElement; 21 class WebInputElement;
23 class WebSelectElement;
24 } // namespace WebKit 22 } // namespace WebKit
25 23
26 namespace autofill { 24 namespace autofill {
27 25
28 // A bit field mask for form requirements. 26 // A bit field mask for form requirements.
29 enum RequirementsMask { 27 enum RequirementsMask {
30 REQUIRE_NONE = 0, // No requirements. 28 REQUIRE_NONE = 0, // No requirements.
31 REQUIRE_AUTOCOMPLETE = 1, // Require that autocomplete != off. 29 REQUIRE_AUTOCOMPLETE = 1, // Require that autocomplete != off.
32 }; 30 };
33 31
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 // not found. 105 // not found.
108 bool ClearPreviewedFormWithElement(const WebKit::WebInputElement& element, 106 bool ClearPreviewedFormWithElement(const WebKit::WebInputElement& element,
109 bool was_autofilled); 107 bool was_autofilled);
110 108
111 // Returns true if |form| has any auto-filled fields. 109 // Returns true if |form| has any auto-filled fields.
112 bool FormWithElementIsAutofilled(const WebKit::WebInputElement& element); 110 bool FormWithElementIsAutofilled(const WebKit::WebInputElement& element);
113 111
114 } // namespace autofill 112 } // namespace autofill
115 113
116 #endif // CHROME_RENDERER_AUTOFILL_FORM_AUTOFILL_UTIL_H_ 114 #endif // CHROME_RENDERER_AUTOFILL_FORM_AUTOFILL_UTIL_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/renderer/autofill/form_cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698