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

Unified Diff: chrome/renderer/autofill/form_cache.h

Issue 8680040: Group forms-related files in webkit/glue in a forms/ subdirectory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + another build fix Created 9 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/renderer/autofill/form_autofill_util.cc ('k') | chrome/renderer/autofill/form_cache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/autofill/form_cache.h
diff --git a/chrome/renderer/autofill/form_cache.h b/chrome/renderer/autofill/form_cache.h
index a9575242956b0a27c190368dc1ec2dd76f6ae7ad..f934c7ee5589c87020023143d6beb49cec3eee7d 100644
--- a/chrome/renderer/autofill/form_cache.h
+++ b/chrome/renderer/autofill/form_cache.h
@@ -12,17 +12,19 @@
#include "base/string16.h"
-namespace webkit_glue {
+namespace webkit {
+namespace forms {
struct FormData;
struct FormDataPredictions;
-} // namespace webkit_glue
+}
+}
namespace WebKit {
class WebDocument;
class WebFrame;
class WebInputElement;
class WebSelectElement;
-} // namespace WebKit
+}
namespace autofill {
@@ -35,7 +37,7 @@ class FormCache {
// Scans the DOM in |frame| extracting and storing forms.
// Returns a vector of the extracted forms.
void ExtractForms(const WebKit::WebFrame& frame,
- std::vector<webkit_glue::FormData>* forms);
+ std::vector<webkit::forms::FormData>* forms);
// Resets the forms for the specified |frame|.
void ResetFrame(const WebKit::WebFrame& frame);
@@ -48,7 +50,7 @@ class FormCache {
// field's overall predicted type. Also sets the title to include the field's
// heuristic type, server type, and signature; as well as the form's signature
// and the experiment id for the server predictions.
- bool ShowPredictions(const webkit_glue::FormDataPredictions& form);
+ bool ShowPredictions(const webkit::forms::FormDataPredictions& form);
private:
// The cached web frames.
« no previous file with comments | « chrome/renderer/autofill/form_autofill_util.cc ('k') | chrome/renderer/autofill/form_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698