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

Side by Side Diff: chrome/common/autofill/web_element_descriptor.h

Issue 12543010: Establish components/autofill and move some files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_COMMON_AUTOFILL_WEB_ELEMENT_DESCRIPTOR_H_
6 #define CHROME_COMMON_AUTOFILL_WEB_ELEMENT_DESCRIPTOR_H_
7
8 #include <string>
9
10 namespace autofill {
11
12 // Holds information that can be used to retrieve an element.
13 struct WebElementDescriptor {
14 enum RetrievalMethod {
15 CSS_SELECTOR,
16 ID,
17 NONE,
18 };
19
20 WebElementDescriptor();
21
22 // Information to retrieve element with.
23 std::string descriptor;
24
25 // Which retrieval method to use.
26 RetrievalMethod retrieval_method;
27 };
28
29 } // namespace autofill
30
31 #endif // CHROME_COMMON_AUTOFILL_WEB_ELEMENT_DESCRIPTOR_H_
OLDNEW
« no previous file with comments | « chrome/common/autofill/autocheckout_status.h ('k') | chrome/common/autofill/web_element_descriptor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698