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

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

Issue 14895004: Fixing autocheckout progress bar repaint bug. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 7 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 (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 #ifndef CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEWS_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEWS_H_
6 #define CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEWS_H_ 6 #define CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEWS_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 TextfieldMap textfields; 403 TextfieldMap textfields;
404 // The comboboxes in |manual_input|, tracked by their DetailInput. 404 // The comboboxes in |manual_input|, tracked by their DetailInput.
405 ComboboxMap comboboxes; 405 ComboboxMap comboboxes;
406 // The view that holds the text of the suggested data. This will be 406 // The view that holds the text of the suggested data. This will be
407 // visible IFF |manual_input| is not visible. 407 // visible IFF |manual_input| is not visible.
408 SuggestionView* suggested_info; 408 SuggestionView* suggested_info;
409 // The view that allows selecting other data suggestions. 409 // The view that allows selecting other data suggestions.
410 views::ImageButton* suggested_button; 410 views::ImageButton* suggested_button;
411 }; 411 };
412 412
413 class ButtonStripView : public views::View {
Evan Stade 2013/05/08 22:27:56 put this in the cc file. The only reason the other
Dan Beam 2013/05/09 18:32:30 Done.
414 public:
415 ButtonStripView();
416 virtual ~ButtonStripView();
417
418 protected:
419 virtual void ChildVisibilityChanged(views::View* child) OVERRIDE;
420
421 private:
422 DISALLOW_COPY_AND_ASSIGN(ButtonStripView);
423 };
424
413 class AutocheckoutProgressBar : public views::ProgressBar { 425 class AutocheckoutProgressBar : public views::ProgressBar {
414 public: 426 public:
415 AutocheckoutProgressBar(); 427 AutocheckoutProgressBar();
428 virtual ~AutocheckoutProgressBar();
416 429
417 private: 430 private:
418 // Overidden from View: 431 // Overidden from View:
419 virtual gfx::Size GetPreferredSize() OVERRIDE; 432 virtual gfx::Size GetPreferredSize() OVERRIDE;
420 433
421 DISALLOW_COPY_AND_ASSIGN(AutocheckoutProgressBar); 434 DISALLOW_COPY_AND_ASSIGN(AutocheckoutProgressBar);
422 }; 435 };
423 436
424 typedef std::map<DialogSection, DetailsGroup> DetailGroupMap; 437 typedef std::map<DialogSection, DetailsGroup> DetailGroupMap;
425 438
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
574 std::map<views::View*, string16> validity_map_; 587 std::map<views::View*, string16> validity_map_;
575 588
576 ScopedObserver<views::Widget, AutofillDialogViews> observer_; 589 ScopedObserver<views::Widget, AutofillDialogViews> observer_;
577 590
578 DISALLOW_COPY_AND_ASSIGN(AutofillDialogViews); 591 DISALLOW_COPY_AND_ASSIGN(AutofillDialogViews);
579 }; 592 };
580 593
581 } // namespace autofill 594 } // namespace autofill
582 595
583 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEWS_H_ 596 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEWS_H_
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/ui/views/autofill/autofill_dialog_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698