OLD | NEW |
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 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 AutocheckoutProgressBar : public views::ProgressBar { | 413 class AutocheckoutProgressBar : public views::ProgressBar { |
414 public: | 414 public: |
415 AutocheckoutProgressBar(); | 415 AutocheckoutProgressBar(); |
| 416 virtual ~AutocheckoutProgressBar(); |
416 | 417 |
417 private: | 418 private: |
418 // Overidden from View: | 419 // Overidden from View: |
419 virtual gfx::Size GetPreferredSize() OVERRIDE; | 420 virtual gfx::Size GetPreferredSize() OVERRIDE; |
420 | 421 |
421 DISALLOW_COPY_AND_ASSIGN(AutocheckoutProgressBar); | 422 DISALLOW_COPY_AND_ASSIGN(AutocheckoutProgressBar); |
422 }; | 423 }; |
423 | 424 |
424 typedef std::map<DialogSection, DetailsGroup> DetailGroupMap; | 425 typedef std::map<DialogSection, DetailsGroup> DetailGroupMap; |
425 | 426 |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
574 std::map<views::View*, string16> validity_map_; | 575 std::map<views::View*, string16> validity_map_; |
575 | 576 |
576 ScopedObserver<views::Widget, AutofillDialogViews> observer_; | 577 ScopedObserver<views::Widget, AutofillDialogViews> observer_; |
577 | 578 |
578 DISALLOW_COPY_AND_ASSIGN(AutofillDialogViews); | 579 DISALLOW_COPY_AND_ASSIGN(AutofillDialogViews); |
579 }; | 580 }; |
580 | 581 |
581 } // namespace autofill | 582 } // namespace autofill |
582 | 583 |
583 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEWS_H_ | 584 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEWS_H_ |
OLD | NEW |