Chromium Code Reviews

Side by Side Diff: webkit/glue/dom_operations.h

Issue 4231001: Chromium part of the autofill refactor: removing now unused code.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
« no previous file with comments | « chrome/renderer/render_view.cc ('k') | webkit/glue/dom_operations.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #ifndef WEBKIT_GLUE_DOM_OPERATIONS_H__ 5 #ifndef WEBKIT_GLUE_DOM_OPERATIONS_H__
6 #define WEBKIT_GLUE_DOM_OPERATIONS_H__ 6 #define WEBKIT_GLUE_DOM_OPERATIONS_H__
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "gfx/size.h" 11 #include "gfx/size.h"
12 #include "googleurl/src/gurl.h" 12 #include "googleurl/src/gurl.h"
13 13
14 namespace WebKit { 14 namespace WebKit {
15 class WebDocument; 15 class WebDocument;
16 class WebElement; 16 class WebElement;
17 class WebString; 17 class WebString;
18 class WebView; 18 class WebView;
19 } 19 }
20 20
21 // A collection of operations that access the underlying WebKit DOM directly. 21 // A collection of operations that access the underlying WebKit DOM directly.
22 namespace webkit_glue { 22 namespace webkit_glue {
23 23
24 struct PasswordFormFillData;
25
26 // Fill matching password forms and trigger autocomplete in the case of multiple
27 // matching logins.
28 void FillPasswordForm(WebKit::WebView* view,
29 const PasswordFormFillData& data);
30
31 // Structure for storage the result of getting all savable resource links 24 // Structure for storage the result of getting all savable resource links
32 // for current page. The consumer of the SavableResourcesResult is responsible 25 // for current page. The consumer of the SavableResourcesResult is responsible
33 // for keeping these pointers valid for the lifetime of the 26 // for keeping these pointers valid for the lifetime of the
34 // SavableResourcesResult instance. 27 // SavableResourcesResult instance.
35 struct SavableResourcesResult { 28 struct SavableResourcesResult {
36 // vector which contains all savable links of sub resource. 29 // vector which contains all savable links of sub resource.
37 std::vector<GURL>* resources_list; 30 std::vector<GURL>* resources_list;
38 // vector which contains corresponding all referral links of sub resource, 31 // vector which contains corresponding all referral links of sub resource,
39 // it matched with links one by one. 32 // it matched with links one by one.
40 std::vector<GURL>* referrers_list; 33 std::vector<GURL>* referrers_list;
(...skipping 98 matching lines...)
139 // with a value of |attribute_value| in |meta_elements|. 132 // with a value of |attribute_value| in |meta_elements|.
140 void GetMetaElementsWithAttribute( 133 void GetMetaElementsWithAttribute(
141 WebKit::WebDocument* document, 134 WebKit::WebDocument* document,
142 const string16& attribute_name, 135 const string16& attribute_name,
143 const string16& atribute_value, 136 const string16& atribute_value,
144 std::vector<WebKit::WebElement>* meta_elements); 137 std::vector<WebKit::WebElement>* meta_elements);
145 138
146 } // namespace webkit_glue 139 } // namespace webkit_glue
147 140
148 #endif // WEBKIT_GLUE_DOM_OPERATIONS_H__ 141 #endif // WEBKIT_GLUE_DOM_OPERATIONS_H__
OLDNEW
« no previous file with comments | « chrome/renderer/render_view.cc ('k') | webkit/glue/dom_operations.cc » ('j') | no next file with comments »

Powered by Google App Engine