| 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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 virtual base::string16 GetDialogButtonLabel(ui::DialogButton button) const | 113 virtual base::string16 GetDialogButtonLabel(ui::DialogButton button) const |
| 114 OVERRIDE; | 114 OVERRIDE; |
| 115 virtual bool ShouldDefaultButtonBeBlue() const OVERRIDE; | 115 virtual bool ShouldDefaultButtonBeBlue() const OVERRIDE; |
| 116 virtual bool IsDialogButtonEnabled(ui::DialogButton button) const OVERRIDE; | 116 virtual bool IsDialogButtonEnabled(ui::DialogButton button) const OVERRIDE; |
| 117 virtual views::View* GetInitiallyFocusedView() OVERRIDE; | 117 virtual views::View* GetInitiallyFocusedView() OVERRIDE; |
| 118 virtual views::View* CreateExtraView() OVERRIDE; | 118 virtual views::View* CreateExtraView() OVERRIDE; |
| 119 virtual views::View* CreateTitlebarExtraView() OVERRIDE; | 119 virtual views::View* CreateTitlebarExtraView() OVERRIDE; |
| 120 virtual views::View* CreateFootnoteView() OVERRIDE; | 120 virtual views::View* CreateFootnoteView() OVERRIDE; |
| 121 virtual bool Cancel() OVERRIDE; | 121 virtual bool Cancel() OVERRIDE; |
| 122 virtual bool Accept() OVERRIDE; | 122 virtual bool Accept() OVERRIDE; |
| 123 virtual views::NonClientFrameView* CreateNonClientFrameView( | |
| 124 views::Widget* widget) OVERRIDE; | |
| 125 | 123 |
| 126 // views::WidgetObserver implementation: | 124 // views::WidgetObserver implementation: |
| 127 virtual void OnWidgetClosing(views::Widget* widget) OVERRIDE; | 125 virtual void OnWidgetClosing(views::Widget* widget) OVERRIDE; |
| 128 virtual void OnWidgetBoundsChanged(views::Widget* widget, | 126 virtual void OnWidgetBoundsChanged(views::Widget* widget, |
| 129 const gfx::Rect& new_bounds) OVERRIDE; | 127 const gfx::Rect& new_bounds) OVERRIDE; |
| 130 | 128 |
| 131 // views::TextfieldController implementation: | 129 // views::TextfieldController implementation: |
| 132 virtual void ContentsChanged(views::Textfield* sender, | 130 virtual void ContentsChanged(views::Textfield* sender, |
| 133 const base::string16& new_contents) OVERRIDE; | 131 const base::string16& new_contents) OVERRIDE; |
| 134 virtual bool HandleKeyEvent(views::Textfield* sender, | 132 virtual bool HandleKeyEvent(views::Textfield* sender, |
| (...skipping 538 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 673 | 671 |
| 674 // Delegate for the sign-in dialog's webview. | 672 // Delegate for the sign-in dialog's webview. |
| 675 scoped_ptr<AutofillDialogSignInDelegate> sign_in_delegate_; | 673 scoped_ptr<AutofillDialogSignInDelegate> sign_in_delegate_; |
| 676 | 674 |
| 677 DISALLOW_COPY_AND_ASSIGN(AutofillDialogViews); | 675 DISALLOW_COPY_AND_ASSIGN(AutofillDialogViews); |
| 678 }; | 676 }; |
| 679 | 677 |
| 680 } // namespace autofill | 678 } // namespace autofill |
| 681 | 679 |
| 682 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEWS_H_ | 680 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEWS_H_ |
| OLD | NEW |