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/scoped_vector.h" | 10 #include "base/memory/scoped_vector.h" |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 // views::FocusChangeListener implementation. | 151 // views::FocusChangeListener implementation. |
152 virtual void OnWillChangeFocus(views::View* focused_before, | 152 virtual void OnWillChangeFocus(views::View* focused_before, |
153 views::View* focused_now) OVERRIDE; | 153 views::View* focused_now) OVERRIDE; |
154 virtual void OnDidChangeFocus(views::View* focused_before, | 154 virtual void OnDidChangeFocus(views::View* focused_before, |
155 views::View* focused_now) OVERRIDE; | 155 views::View* focused_now) OVERRIDE; |
156 | 156 |
157 // views::ComboboxListener implementation: | 157 // views::ComboboxListener implementation: |
158 virtual void OnSelectedIndexChanged(views::Combobox* combobox) OVERRIDE; | 158 virtual void OnSelectedIndexChanged(views::Combobox* combobox) OVERRIDE; |
159 | 159 |
160 // views::StyledLabelListener implementation: | 160 // views::StyledLabelListener implementation: |
161 virtual void StyledLabelLinkClicked(const ui::Range& range, int event_flags) | 161 virtual void StyledLabelLinkClicked(const gfx::Range& range, int event_flags) |
162 OVERRIDE; | 162 OVERRIDE; |
163 | 163 |
164 // views::MenuButtonListener implementation. | 164 // views::MenuButtonListener implementation. |
165 virtual void OnMenuButtonClicked(views::View* source, | 165 virtual void OnMenuButtonClicked(views::View* source, |
166 const gfx::Point& point) OVERRIDE; | 166 const gfx::Point& point) OVERRIDE; |
167 | 167 |
168 private: | 168 private: |
169 // A class that creates and manages a widget for error messages. | 169 // A class that creates and manages a widget for error messages. |
170 class ErrorBubble : public views::WidgetObserver { | 170 class ErrorBubble : public views::WidgetObserver { |
171 public: | 171 public: |
(...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
681 | 681 |
682 // Delegate for the sign-in dialog's webview. | 682 // Delegate for the sign-in dialog's webview. |
683 scoped_ptr<AutofillDialogSignInDelegate> sign_in_delegate_; | 683 scoped_ptr<AutofillDialogSignInDelegate> sign_in_delegate_; |
684 | 684 |
685 DISALLOW_COPY_AND_ASSIGN(AutofillDialogViews); | 685 DISALLOW_COPY_AND_ASSIGN(AutofillDialogViews); |
686 }; | 686 }; |
687 | 687 |
688 } // namespace autofill | 688 } // namespace autofill |
689 | 689 |
690 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEWS_H_ | 690 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEWS_H_ |
OLD | NEW |