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

Side by Side Diff: chrome/browser/ui/views/autofill/autofill_dialog_views.cc

Issue 12207140: re-commit r181807: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 months 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
« no previous file with comments | « chrome/browser/ui/views/autofill/autofill_dialog_views.h ('k') | no next file » | 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/ui/views/autofill/autofill_dialog_views.h" 5 #include "chrome/browser/ui/views/autofill/autofill_dialog_views.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/utf_string_conversions.h" 9 #include "base/utf_string_conversions.h"
10 #include "chrome/browser/autofill/wallet/wallet_service_url.h" 10 #include "chrome/browser/autofill/wallet/wallet_service_url.h"
(...skipping 466 matching lines...) Expand 10 before | Expand all | Expand 10 after
477 477
478 void AutofillDialogViews::HideSignIn() { 478 void AutofillDialogViews::HideSignIn() {
479 sign_in_container_->SetVisible(false); 479 sign_in_container_->SetVisible(false);
480 main_container_->SetVisible(true); 480 main_container_->SetVisible(true);
481 } 481 }
482 482
483 void AutofillDialogViews::UpdateProgressBar(double value) { 483 void AutofillDialogViews::UpdateProgressBar(double value) {
484 autocheckout_progress_bar_->SetValue(value); 484 autocheckout_progress_bar_->SetValue(value);
485 } 485 }
486 486
487 void AutofillDialogViews::ModelChanged() {
488 menu_runner_.reset();
489
490 for (DetailGroupMap::iterator iter = detail_groups_.begin();
491 iter != detail_groups_.end(); ++iter) {
492 UpdateDetailsGroupState(iter->second);
493 }
494 }
495
487 string16 AutofillDialogViews::GetWindowTitle() const { 496 string16 AutofillDialogViews::GetWindowTitle() const {
488 return controller_->DialogTitle(); 497 return controller_->DialogTitle();
489 } 498 }
490 499
491 void AutofillDialogViews::WindowClosing() { 500 void AutofillDialogViews::WindowClosing() {
492 focus_manager_->RemoveFocusChangeListener(this); 501 focus_manager_->RemoveFocusChangeListener(this);
493 } 502 }
494 503
495 void AutofillDialogViews::DeleteDelegate() { 504 void AutofillDialogViews::DeleteDelegate() {
496 window_ = NULL; 505 window_ = NULL;
(...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after
989 AutofillDialogViews::DetailsGroup::DetailsGroup(DialogSection section) 998 AutofillDialogViews::DetailsGroup::DetailsGroup(DialogSection section)
990 : section(section), 999 : section(section),
991 container(NULL), 1000 container(NULL),
992 manual_input(NULL), 1001 manual_input(NULL),
993 suggested_info(NULL), 1002 suggested_info(NULL),
994 suggested_button(NULL) {} 1003 suggested_button(NULL) {}
995 1004
996 AutofillDialogViews::DetailsGroup::~DetailsGroup() {} 1005 AutofillDialogViews::DetailsGroup::~DetailsGroup() {}
997 1006
998 } // namespace autofill 1007 } // namespace autofill
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/autofill/autofill_dialog_views.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698