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

Side by Side Diff: webkit/glue/webpasswordautocompletelistener_impl.cc

Issue 387020: Upstreaming WebKit.gyp (Closed)
Patch Set: Created 11 years, 1 month 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
« no previous file with comments | « webkit/glue/webpasswordautocompletelistener_impl.h ('k') | webkit/glue/webplugin_delegate.h » ('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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 // This file provides the implementaiton of the password manager's autocomplete 5 // This file provides the implementaiton of the password manager's autocomplete
6 // component. 6 // component.
7 7
8 #include "base/string_util.h" 8 #include "base/string_util.h"
9 9
10 #include "webkit/api/public/WebFrame.h" 10 #include "third_party/WebKit/WebKit/chromium/public/WebFrame.h"
11 #include "webkit/api/public/WebNode.h" 11 #include "third_party/WebKit/WebKit/chromium/public/WebNode.h"
12 #include "webkit/api/public/WebVector.h" 12 #include "third_party/WebKit/WebKit/chromium/public/WebVector.h"
13 #include "webkit/api/public/WebView.h" 13 #include "third_party/WebKit/WebKit/chromium/public/WebView.h"
14 #include "webkit/glue/glue_util.h" 14 #include "webkit/glue/glue_util.h"
15 #include "webkit/glue/webpasswordautocompletelistener_impl.h" 15 #include "webkit/glue/webpasswordautocompletelistener_impl.h"
16 16
17 using namespace WebKit; 17 using namespace WebKit;
18 18
19 namespace webkit_glue { 19 namespace webkit_glue {
20 20
21 WebInputElementDelegate::WebInputElementDelegate() { 21 WebInputElementDelegate::WebInputElementDelegate() {
22 } 22 }
23 23
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 for (PasswordFormDomManager::LoginCollection::iterator it = 150 for (PasswordFormDomManager::LoginCollection::iterator it =
151 data_.additional_logins.begin(); 151 data_.additional_logins.begin();
152 it != data_.additional_logins.end(); 152 it != data_.additional_logins.end();
153 ++it) { 153 ++it) {
154 if (StartsWith(it->first, input, false)) 154 if (StartsWith(it->first, input, false))
155 suggestions->push_back(it->first); 155 suggestions->push_back(it->first);
156 } 156 }
157 } 157 }
158 158
159 } // webkit_glue 159 } // webkit_glue
OLDNEW
« no previous file with comments | « webkit/glue/webpasswordautocompletelistener_impl.h ('k') | webkit/glue/webplugin_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698