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

Side by Side Diff: chrome/browser/chromeos/login/account_creation_view.cc

Issue 4591001: Display a warning when autofill is disabled for a website. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Compile on ChromeOS... Created 10 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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/browser/chromeos/login/account_creation_view.h" 5 #include "chrome/browser/chromeos/login/account_creation_view.h"
6 6
7 #include "base/string_util.h" 7 #include "base/string_util.h"
8 #include "webkit/glue/form_data.h" 8 #include "webkit/glue/form_data.h"
9 9
10 using webkit_glue::FormData; 10 using webkit_glue::FormData;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 // stripped. Overriding TabContents::PasswordFormsFound also makes no 47 // stripped. Overriding TabContents::PasswordFormsFound also makes no
48 // sense because password value is always empty for account create page. 48 // sense because password value is always empty for account create page.
49 delegate_->OnUserCreated(user_name + "@" + domain, ""); 49 delegate_->OnUserCreated(user_name + "@" + domain, "");
50 } 50 }
51 } 51 }
52 } 52 }
53 53
54 virtual void FormsSeen(const std::vector<FormData>& forms) { 54 virtual void FormsSeen(const std::vector<FormData>& forms) {
55 } 55 }
56 56
57 virtual bool GetAutoFillSuggestions( 57 virtual bool GetAutoFillSuggestions(bool field_autofilled,
58 int query_id, bool form_autofilled, const webkit_glue::FormField& field) { 58 const webkit_glue::FormField& field) {
59 return false; 59 return false;
60 } 60 }
61 61
62 virtual bool FillAutoFillFormData(int query_id, 62 virtual bool FillAutoFillFormData(int query_id,
63 const webkit_glue::FormData& form, 63 const webkit_glue::FormData& form,
64 int unique_id) { 64 int unique_id) {
65 return false; 65 return false;
66 } 66 }
67 67
68 virtual void ShowAutoFillDialog() {} 68 virtual void ShowAutoFillDialog() {}
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 107
108 AccountCreationView::~AccountCreationView() { 108 AccountCreationView::~AccountCreationView() {
109 } 109 }
110 110
111 void AccountCreationView::SetAccountCreationViewDelegate( 111 void AccountCreationView::SetAccountCreationViewDelegate(
112 AccountCreationViewDelegate* delegate) { 112 AccountCreationViewDelegate* delegate) {
113 dom_view_->SetAccountCreationViewDelegate(delegate); 113 dom_view_->SetAccountCreationViewDelegate(delegate);
114 } 114 }
115 115
116 } // namespace chromeos 116 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/autofill/form_structure_unittest.cc ('k') | chrome/browser/renderer_host/render_view_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698