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

Side by Side Diff: components/autofill/renderer/form_cache.cc

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 #include "chrome/renderer/autofill/form_cache.h" 5 #include "components/autofill/renderer/form_cache.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/utf_string_conversions.h" 8 #include "base/utf_string_conversions.h"
9 #include "chrome/renderer/autofill/form_autofill_util.h"
10 #include "components/autofill/common/form_data.h" 9 #include "components/autofill/common/form_data.h"
11 #include "components/autofill/common/form_data_predictions.h" 10 #include "components/autofill/common/form_data_predictions.h"
12 #include "components/autofill/common/form_field_data.h" 11 #include "components/autofill/common/form_field_data.h"
13 #include "components/autofill/common/form_field_data_predictions.h" 12 #include "components/autofill/common/form_field_data_predictions.h"
13 #include "components/autofill/renderer/form_autofill_util.h"
14 #include "grit/generated_resources.h" 14 #include "grit/generated_resources.h"
15 #include "third_party/WebKit/Source/Platform/chromium/public/WebString.h" 15 #include "third_party/WebKit/Source/Platform/chromium/public/WebString.h"
16 #include "third_party/WebKit/Source/Platform/chromium/public/WebVector.h" 16 #include "third_party/WebKit/Source/Platform/chromium/public/WebVector.h"
17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" 17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h"
18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFormControlElement .h" 18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFormControlElement .h"
19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFormElement.h" 19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFormElement.h"
20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" 20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h"
21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputElement.h" 21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputElement.h"
22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSelectElement.h" 22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSelectElement.h"
23 #include "ui/base/l10n/l10n_util.h" 23 #include "ui/base/l10n/l10n_util.h"
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 UTF8ToUTF16(form.experiment_id)); 286 UTF8ToUTF16(form.experiment_id));
287 if (!element->hasAttribute("placeholder")) 287 if (!element->hasAttribute("placeholder"))
288 element->setAttribute("placeholder", WebString(UTF8ToUTF16(placeholder))); 288 element->setAttribute("placeholder", WebString(UTF8ToUTF16(placeholder)));
289 element->setAttribute("title", WebString(title)); 289 element->setAttribute("title", WebString(title));
290 } 290 }
291 291
292 return true; 292 return true;
293 } 293 }
294 294
295 } // namespace autofill 295 } // namespace autofill
OLDNEW
« no previous file with comments | « components/autofill/renderer/form_cache.h ('k') | components/autofill/renderer/page_click_listener.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698