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

Unified Diff: ui/views/controls/combobox/combobox.cc

Issue 63053003: Ask libaddressinput for address components to use in requestAutocomplete(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years 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 side-by-side diff with in-line comments
Download patch
Index: ui/views/controls/combobox/combobox.cc
diff --git a/ui/views/controls/combobox/combobox.cc b/ui/views/controls/combobox/combobox.cc
index 2600b174f07d27d2e9f3f8511ca71049270a444c..bd7c4a4ee82563510862a8cafddaf0ac1c4053d1 100644
--- a/ui/views/controls/combobox/combobox.cc
+++ b/ui/views/controls/combobox/combobox.cc
@@ -460,10 +460,10 @@ void Combobox::ShowDropDownMenu(ui::MenuSourceType source_type) {
}
void Combobox::OnSelectionChanged() {
- if (listener_)
- listener_->OnSelectedIndexChanged(this);
NotifyAccessibilityEvent(ui::AccessibilityTypes::EVENT_VALUE_CHANGED, false);
SchedulePaint();
+ if (listener_)
+ listener_->OnSelectedIndexChanged(this);
}
int Combobox::MenuCommandToIndex(int menu_command_id) const {
« chrome/chrome_browser_ui.gypi ('K') | « third_party/libaddressinput/libaddressinput.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698