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

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

Issue 141523005: Combobox: Rename styles to STYLE_NORMAL and STYLE_ACTION and modify behaviors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename OnSelectedChanged -> OnPerformAction Created 6 years, 10 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
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 #include <set> 9 #include <set>
10 10
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 virtual bool HandleMouseEvent(views::Textfield* sender, 153 virtual bool HandleMouseEvent(views::Textfield* sender,
154 const ui::MouseEvent& key_event) OVERRIDE; 154 const ui::MouseEvent& key_event) OVERRIDE;
155 155
156 // views::FocusChangeListener implementation. 156 // views::FocusChangeListener implementation.
157 virtual void OnWillChangeFocus(views::View* focused_before, 157 virtual void OnWillChangeFocus(views::View* focused_before,
158 views::View* focused_now) OVERRIDE; 158 views::View* focused_now) OVERRIDE;
159 virtual void OnDidChangeFocus(views::View* focused_before, 159 virtual void OnDidChangeFocus(views::View* focused_before,
160 views::View* focused_now) OVERRIDE; 160 views::View* focused_now) OVERRIDE;
161 161
162 // views::ComboboxListener implementation: 162 // views::ComboboxListener implementation:
163 virtual void OnSelectedIndexChanged(views::Combobox* combobox) OVERRIDE; 163 virtual void OnPerformAction(views::Combobox* combobox) OVERRIDE;
164 164
165 // views::StyledLabelListener implementation: 165 // views::StyledLabelListener implementation:
166 virtual void StyledLabelLinkClicked(const gfx::Range& range, int event_flags) 166 virtual void StyledLabelLinkClicked(const gfx::Range& range, int event_flags)
167 OVERRIDE; 167 OVERRIDE;
168 168
169 // views::MenuButtonListener implementation. 169 // views::MenuButtonListener implementation.
170 virtual void OnMenuButtonClicked(views::View* source, 170 virtual void OnMenuButtonClicked(views::View* source,
171 const gfx::Point& point) OVERRIDE; 171 const gfx::Point& point) OVERRIDE;
172 172
173 protected: 173 protected:
(...skipping 514 matching lines...) Expand 10 before | Expand all | Expand 10 after
688 688
689 // Delegate for the sign-in dialog's webview. 689 // Delegate for the sign-in dialog's webview.
690 scoped_ptr<AutofillDialogSignInDelegate> sign_in_delegate_; 690 scoped_ptr<AutofillDialogSignInDelegate> sign_in_delegate_;
691 691
692 DISALLOW_COPY_AND_ASSIGN(AutofillDialogViews); 692 DISALLOW_COPY_AND_ASSIGN(AutofillDialogViews);
693 }; 693 };
694 694
695 } // namespace autofill 695 } // namespace autofill
696 696
697 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEWS_H_ 697 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEWS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698