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

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

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 side-by-side diff with in-line comments
Download patch
Index: chrome/renderer/autofill/autofill_agent.h
diff --git a/chrome/renderer/autofill/autofill_agent.h b/chrome/renderer/autofill/autofill_agent.h
index b2693005b0785410e59eb0e6a552a7604e1a9991..27c6c00f9886f4b8a74a2b7f380563dc3367862c 100644
--- a/chrome/renderer/autofill/autofill_agent.h
+++ b/chrome/renderer/autofill/autofill_agent.h
@@ -17,13 +17,11 @@
#include "third_party/WebKit/Source/WebKit/chromium/public/WebAutofillClient.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebInputElement.h"
-namespace webkit {
-namespace forms {
+namespace chrome {
struct FormData;
struct FormDataPredictions;
struct FormField;
}
-}
namespace WebKit {
class WebNode;
@@ -100,9 +98,9 @@ class AutofillAgent : public content::RenderViewObserver,
const std::vector<string16>& labels,
const std::vector<string16>& icons,
const std::vector<int>& unique_ids);
- void OnFormDataFilled(int query_id, const webkit::forms::FormData& form);
+ void OnFormDataFilled(int query_id, const chrome::FormData& form);
void OnFieldTypePredictionsAvailable(
- const std::vector<webkit::forms::FormDataPredictions>& forms);
+ const std::vector<chrome::FormDataPredictions>& forms);
// For external Autofill selection.
void OnSelectAutofillSuggestionAtIndex(int listIndex);
@@ -163,8 +161,8 @@ class AutofillAgent : public content::RenderViewObserver,
// |node|. Returns true if the data was found; and false otherwise.
bool FindFormAndFieldForNode(
const WebKit::WebNode& node,
- webkit::forms::FormData* form,
- webkit::forms::FormField* field) WARN_UNUSED_RESULT;
+ chrome::FormData* form,
+ chrome::FormField* field) WARN_UNUSED_RESULT;
// Set |node| to display the given |value|.
void SetNodeText(const string16& value, WebKit::WebInputElement* node);

Powered by Google App Engine
This is Rietveld 408576698