OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |