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

Side by Side Diff: components/autofill/content/renderer/form_autofill_util.cc

Issue 15949025: In components/autofill, move renderer/ to content/renderer (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Response to reviews Created 7 years, 6 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
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 "components/autofill/renderer/form_autofill_util.h" 5 #include "components/autofill/content/renderer/form_autofill_util.h"
6 6
7 #include <map> 7 #include <map>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/memory/scoped_vector.h" 11 #include "base/memory/scoped_vector.h"
12 #include "base/metrics/field_trial.h" 12 #include "base/metrics/field_trial.h"
13 #include "base/string_util.h" 13 #include "base/string_util.h"
14 #include "base/utf_string_conversions.h" 14 #include "base/utf_string_conversions.h"
15 #include "components/autofill/common/autofill_switches.h" 15 #include "components/autofill/common/autofill_switches.h"
16 #include "components/autofill/common/form_data.h" 16 #include "components/autofill/common/form_data.h"
17 #include "components/autofill/common/form_field_data.h" 17 #include "components/autofill/common/form_field_data.h"
18 #include "components/autofill/common/web_element_descriptor.h" 18 #include "components/autofill/common/web_element_descriptor.h"
19 #include "third_party/WebKit/public/platform/WebString.h"
20 #include "third_party/WebKit/public/platform/WebVector.h"
21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" 19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h"
22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebElement.h" 20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebElement.h"
23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebExceptionCode.h" 21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebExceptionCode.h"
24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFormControlElement .h" 22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFormControlElement .h"
25 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFormElement.h" 23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFormElement.h"
26 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" 24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h"
27 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputElement.h" 25 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputElement.h"
28 #include "third_party/WebKit/Source/WebKit/chromium/public/WebLabelElement.h" 26 #include "third_party/WebKit/Source/WebKit/chromium/public/WebLabelElement.h"
29 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNode.h" 27 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNode.h"
30 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNodeList.h" 28 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNodeList.h"
31 #include "third_party/WebKit/Source/WebKit/chromium/public/WebOptionElement.h" 29 #include "third_party/WebKit/Source/WebKit/chromium/public/WebOptionElement.h"
32 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSelectElement.h" 30 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSelectElement.h"
31 #include "third_party/WebKit/public/platform/WebString.h"
32 #include "third_party/WebKit/public/platform/WebVector.h"
33 33
34 using WebKit::WebDocument; 34 using WebKit::WebDocument;
35 using WebKit::WebElement; 35 using WebKit::WebElement;
36 using WebKit::WebExceptionCode; 36 using WebKit::WebExceptionCode;
37 using WebKit::WebFormControlElement; 37 using WebKit::WebFormControlElement;
38 using WebKit::WebFormElement; 38 using WebKit::WebFormElement;
39 using WebKit::WebFrame; 39 using WebKit::WebFrame;
40 using WebKit::WebInputElement; 40 using WebKit::WebInputElement;
41 using WebKit::WebLabelElement; 41 using WebKit::WebLabelElement;
42 using WebKit::WebNode; 42 using WebKit::WebNode;
(...skipping 978 matching lines...) Expand 10 before | Expand all | Expand 10 after
1021 continue; 1021 continue;
1022 1022
1023 if (input_element->isAutofilled()) 1023 if (input_element->isAutofilled())
1024 return true; 1024 return true;
1025 } 1025 }
1026 1026
1027 return false; 1027 return false;
1028 } 1028 }
1029 1029
1030 } // namespace autofill 1030 } // namespace autofill
OLDNEW
« no previous file with comments | « components/autofill/content/renderer/form_autofill_util.h ('k') | components/autofill/content/renderer/form_cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698