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

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

Issue 171783003: rAc: partial revert of 251484 to show correct sections in views dialog. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_view_tester_views.h" 5 #include "chrome/browser/ui/views/autofill/autofill_dialog_view_tester_views.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "chrome/browser/ui/views/autofill/autofill_dialog_views.h" 8 #include "chrome/browser/ui/views/autofill/autofill_dialog_views.h"
9 #include "chrome/browser/ui/views/autofill/decorated_textfield.h" 9 #include "chrome/browser/ui/views/autofill/decorated_textfield.h"
10 #include "ui/base/models/combobox_model.h" 10 #include "ui/base/models/combobox_model.h"
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 } 86 }
87 87
88 content::WebContents* AutofillDialogViewTesterViews::GetSignInWebContents() { 88 content::WebContents* AutofillDialogViewTesterViews::GetSignInWebContents() {
89 return view_->sign_in_web_view_->web_contents(); 89 return view_->sign_in_web_view_->web_contents();
90 } 90 }
91 91
92 bool AutofillDialogViewTesterViews::IsShowingOverlay() const { 92 bool AutofillDialogViewTesterViews::IsShowingOverlay() const {
93 return view_->overlay_view_->visible(); 93 return view_->overlay_view_->visible();
94 } 94 }
95 95
96 bool AutofillDialogViewTesterViews::IsShowingSection(DialogSection section)
97 const {
98 return view_->GroupForSection(section)->container->visible();
99 }
100
96 } // namespace autofill 101 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698