| OLD | NEW |
| 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 #include "chrome/browser/views/autofill_profiles_view_win.h" | 4 #include "chrome/browser/views/autofill_profiles_view_win.h" |
| 5 | 5 |
| 6 #include <vsstyle.h> | 6 #include <vsstyle.h> |
| 7 #include <vssym32.h> | 7 #include <vssym32.h> |
| 8 | 8 |
| 9 #include "app/l10n_util.h" | 9 #include "app/l10n_util.h" |
| 10 #include "app/resource_bundle.h" | 10 #include "app/resource_bundle.h" |
| (...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 299 return true; | 299 return true; |
| 300 default: | 300 default: |
| 301 break; | 301 break; |
| 302 } | 302 } |
| 303 NOTREACHED(); | 303 NOTREACHED(); |
| 304 return false; | 304 return false; |
| 305 } | 305 } |
| 306 | 306 |
| 307 | 307 |
| 308 std::wstring AutoFillProfilesView::GetWindowTitle() const { | 308 std::wstring AutoFillProfilesView::GetWindowTitle() const { |
| 309 return l10n_util::GetString(IDS_AUTOFILL_OPTIONS); | 309 return l10n_util::GetString(IDS_AUTOFILL_OPTIONS_TITLE); |
| 310 } | 310 } |
| 311 | 311 |
| 312 void AutoFillProfilesView::WindowClosing() { | 312 void AutoFillProfilesView::WindowClosing() { |
| 313 DCHECK(focus_manager_); | 313 DCHECK(focus_manager_); |
| 314 focus_manager_->RemoveFocusChangeListener(this); | 314 focus_manager_->RemoveFocusChangeListener(this); |
| 315 instance_ = NULL; | 315 instance_ = NULL; |
| 316 } | 316 } |
| 317 | 317 |
| 318 views::View* AutoFillProfilesView::GetContentsView() { | 318 views::View* AutoFillProfilesView::GetContentsView() { |
| 319 return this; | 319 return this; |
| (...skipping 1058 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1378 AutoFillDialogObserver* observer, | 1378 AutoFillDialogObserver* observer, |
| 1379 Profile* profile) { | 1379 Profile* profile) { |
| 1380 DCHECK(profile); | 1380 DCHECK(profile); |
| 1381 | 1381 |
| 1382 PersonalDataManager* personal_data_manager = | 1382 PersonalDataManager* personal_data_manager = |
| 1383 profile->GetPersonalDataManager(); | 1383 profile->GetPersonalDataManager(); |
| 1384 DCHECK(personal_data_manager); | 1384 DCHECK(personal_data_manager); |
| 1385 AutoFillProfilesView::Show(parent, observer, personal_data_manager, profile, | 1385 AutoFillProfilesView::Show(parent, observer, personal_data_manager, profile, |
| 1386 profile->GetPrefs(), NULL, NULL); | 1386 profile->GetPrefs(), NULL, NULL); |
| 1387 } | 1387 } |
| OLD | NEW |