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 #include <set> | 9 #include <set> |
10 | 10 |
(...skipping 587 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
598 // The preferred size of the view, cached to avoid needless recomputation. | 598 // The preferred size of the view, cached to avoid needless recomputation. |
599 gfx::Size preferred_size_; | 599 gfx::Size preferred_size_; |
600 | 600 |
601 // The current number of unmatched calls to UpdatesStarted. | 601 // The current number of unmatched calls to UpdatesStarted. |
602 int updates_scope_; | 602 int updates_scope_; |
603 | 603 |
604 // True when there's been a call to ContentsPreferredSizeChanged() suppressed | 604 // True when there's been a call to ContentsPreferredSizeChanged() suppressed |
605 // due to an unmatched UpdatesStarted. | 605 // due to an unmatched UpdatesStarted. |
606 bool needs_update_; | 606 bool needs_update_; |
607 | 607 |
| 608 // True when |details_container_| should not skip updating its layout. |
| 609 bool details_container_needs_layout_; |
| 610 |
608 // The window that displays |contents_|. Weak pointer; may be NULL when the | 611 // The window that displays |contents_|. Weak pointer; may be NULL when the |
609 // dialog is closing. | 612 // dialog is closing. |
610 views::Widget* window_; | 613 views::Widget* window_; |
611 | 614 |
612 // A DialogSection-keyed map of the DetailGroup structs. | 615 // A DialogSection-keyed map of the DetailGroup structs. |
613 DetailGroupMap detail_groups_; | 616 DetailGroupMap detail_groups_; |
614 | 617 |
615 // Somewhere to show notification messages about errors, warnings, or promos. | 618 // Somewhere to show notification messages about errors, warnings, or promos. |
616 NotificationArea* notification_area_; | 619 NotificationArea* notification_area_; |
617 | 620 |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
678 | 681 |
679 // Delegate for the sign-in dialog's webview. | 682 // Delegate for the sign-in dialog's webview. |
680 scoped_ptr<AutofillDialogSignInDelegate> sign_in_delegate_; | 683 scoped_ptr<AutofillDialogSignInDelegate> sign_in_delegate_; |
681 | 684 |
682 DISALLOW_COPY_AND_ASSIGN(AutofillDialogViews); | 685 DISALLOW_COPY_AND_ASSIGN(AutofillDialogViews); |
683 }; | 686 }; |
684 | 687 |
685 } // namespace autofill | 688 } // namespace autofill |
686 | 689 |
687 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEWS_H_ | 690 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEWS_H_ |
OLD | NEW |