/external/chromium_org/chrome/browser/ui/views/autofill/ |
D | autofill_dialog_view_tester_views.cc | 45 views::Combobox* combobox = view_->ComboboxForType(type); in GetTextContentsOfInput() local 46 if (combobox) in GetTextContentsOfInput() 47 return combobox->model()->GetItemAt(combobox->selected_index()); in GetTextContentsOfInput() 62 views::Combobox* combobox = view_->ComboboxForType(type); in SetTextContentsOfInput() local 63 if (combobox) { in SetTextContentsOfInput() 64 if (!combobox->SelectValue(contents)) in SetTextContentsOfInput() 65 combobox->SetSelectedIndex(combobox->model()->GetDefaultIndex()); in SetTextContentsOfInput()
|
D | autofill_dialog_views.cc | 147 void SelectComboboxValueOrSetToDefault(views::Combobox* combobox, in SelectComboboxValueOrSetToDefault() argument 149 if (!combobox->SelectValue(value)) in SelectComboboxValueOrSetToDefault() 150 combobox->SetSelectedIndex(combobox->model()->GetDefaultIndex()); in SelectComboboxValueOrSetToDefault() 1708 void AutofillDialogViews::OnPerformAction(views::Combobox* combobox) { in OnPerformAction() argument 1709 DialogSection section = GroupForView(combobox)->section; in OnPerformAction() 1710 InputEditedOrActivated(TypeForCombobox(combobox), gfx::Rect(), true); in OnPerformAction() 1948 views::Combobox* combobox = new views::Combobox(input_model); in InitInputsView() local 1949 combobox->set_listener(this); in InitInputsView() 1950 comboboxes->insert(std::make_pair(input.type, combobox)); in InitInputsView() 1951 SelectComboboxValueOrSetToDefault(combobox, input.initial_value); in InitInputsView() [all …]
|
/external/chromium_org/ui/views/examples/ |
D | text_example.cc | 136 Combobox* combobox = new Combobox(model); in AddCombobox() local 137 combobox->SetSelectedIndex(0); in AddCombobox() 138 combobox->set_listener(this); in AddCombobox() 139 layout->AddView(combobox, kNumColumns - 1, 1); in AddCombobox() 140 return combobox; in AddCombobox() 201 void TextExample::OnPerformAction(Combobox* combobox) { in OnPerformAction() argument 203 if (combobox == h_align_cb_) { in OnPerformAction() 207 switch (combobox->selected_index()) { in OnPerformAction() 220 } else if (combobox == text_cb_) { in OnPerformAction() 221 switch (combobox->selected_index()) { in OnPerformAction() [all …]
|
D | label_example.cc | 128 void LabelExample::OnPerformAction(Combobox* combobox) { in OnPerformAction() argument 129 if (combobox == alignment_) { in OnPerformAction() 131 static_cast<gfx::HorizontalAlignment>(combobox->selected_index())); in OnPerformAction() 132 } else if (combobox == elide_behavior_) { in OnPerformAction() 134 static_cast<gfx::ElideBehavior>(combobox->selected_index())); in OnPerformAction() 207 Combobox* combobox = new Combobox(model); in AddCombobox() local 208 combobox->SetSelectedIndex(0); in AddCombobox() 209 combobox->set_listener(this); in AddCombobox() 210 layout->AddView(combobox); in AddCombobox() 211 return combobox; in AddCombobox()
|
D | combobox_example.cc | 47 void ComboboxExample::OnPerformAction(Combobox* combobox) { in OnPerformAction() argument 48 DCHECK_EQ(combobox_, combobox); in OnPerformAction() 50 combobox->selected_index())).c_str()); in OnPerformAction()
|
D | examples_window.cc | 189 virtual void OnPerformAction(Combobox* combobox) OVERRIDE { in OnPerformAction() argument 190 DCHECK_EQ(combobox, combobox_); in OnPerformAction() 191 DCHECK(combobox->selected_index() < combobox_model_.GetItemCount()); in OnPerformAction() 194 combobox->selected_index())); in OnPerformAction()
|
D | combobox_example.h | 41 virtual void OnPerformAction(Combobox* combobox) OVERRIDE;
|
D | label_example.h | 39 virtual void OnPerformAction(Combobox* combobox) OVERRIDE;
|
D | text_example.h | 46 virtual void OnPerformAction(Combobox* combobox) OVERRIDE;
|
/external/chromium_org/ui/views/controls/combobox/ |
D | combobox_unittest.cc | 160 virtual void OnPerformAction(Combobox* combobox) OVERRIDE { in OnPerformAction() argument 161 delete combobox; in OnPerformAction() 178 virtual void OnPerformAction(views::Combobox* combobox) OVERRIDE { in OnPerformAction() argument 179 perform_action_index_ = combobox->selected_index(); in OnPerformAction() 494 TestCombobox* combobox = new TestCombobox(&model); in TEST_F() local 496 combobox->set_listener(evil_listener.get()); in TEST_F() 497 ASSERT_NO_FATAL_FAILURE(combobox->ExecuteCommand(2)); in TEST_F() 502 combobox = new TestCombobox(&model); in TEST_F() 504 combobox->set_listener(evil_listener.get()); in TEST_F() 505 combobox->SetStyle(Combobox::STYLE_ACTION); in TEST_F() [all …]
|
D | combobox_listener.h | 25 virtual void OnPerformAction(Combobox* combobox) = 0;
|
/external/chromium_org/chrome/browser/ui/views/ |
D | signed_certificate_timestamps_views.cc | 117 views::Combobox* combobox) { in OnPerformAction() argument 118 DCHECK_EQ(combobox, sct_selector_box_.get()); in OnPerformAction() 119 DCHECK_LT(combobox->selected_index(), sct_list_model_->GetItemCount()); in OnPerformAction() 120 ShowSCTInfo(combobox->selected_index()); in OnPerformAction()
|
D | signed_certificate_timestamps_views.h | 53 virtual void OnPerformAction(views::Combobox* combobox) OVERRIDE;
|
/external/chromium_org/chrome/browser/ui/views/website_settings/ |
D | permissions_bubble_view.cc | 199 virtual void OnPerformAction(views::Combobox* combobox) OVERRIDE; 276 PermissionCombobox* combobox = new PermissionCombobox( in PermissionsBubbleDelegateView() local 281 row_layout->AddView(combobox); in PermissionsBubbleDelegateView() 282 customize_comboboxes_.push_back(combobox); in PermissionsBubbleDelegateView() 405 views::Combobox* combobox) { in OnPerformAction() argument 406 if (combobox == allow_combobox_) { in OnPerformAction() 407 if (combobox->selected_index() == in OnPerformAction() 410 else if (combobox->selected_index() == in OnPerformAction()
|
/external/chromium_org/chrome/browser/resources/print_preview/ |
D | print_preview.js | 1053 var combobox = document.querySelector('.layout-settings-select'); 1054 if (combobox.value == 'portrait') { 1057 combobox.value = 'landscape'; 1117 var combobox = document.querySelector('.margin-settings-select'); 1118 if (margins == combobox.selectedIndex) { 1120 } else if (margins >= 0 && margins < combobox.length) { 1121 combobox.selectedIndex = margins;
|
/external/chromium_org/chrome/browser/ui/views/apps/app_info_dialog/ |
D | app_info_summary_panel.h | 46 virtual void OnPerformAction(views::Combobox* combobox) OVERRIDE;
|
D | app_info_summary_panel.cc | 308 void AppInfoSummaryPanel::OnPerformAction(views::Combobox* combobox) { in OnPerformAction() argument 309 if (combobox == launch_options_combobox_) { in OnPerformAction()
|
/external/chromium_org/chrome/browser/ui/views/bookmarks/ |
D | bookmark_bubble_view.h | 87 virtual void OnPerformAction(views::Combobox* combobox) OVERRIDE;
|
D | bookmark_bubble_view.cc | 319 void BookmarkBubbleView::OnPerformAction(views::Combobox* combobox) { in OnPerformAction() argument 320 if (combobox->selected_index() + 1 == parent_model_.GetItemCount()) { in OnPerformAction()
|
/external/chromium_org/ui/views/focus/ |
D | focus_traversal_unittest.cc | 373 Combobox* combobox = new Combobox(&combobox_model_); in InitContentView() local 374 combobox->SetBounds(label_x + label_width + 5, y, 150, 30); in InitContentView() 375 combobox->set_id(kComboboxID); in InitContentView() 376 left_container_->AddChildView(combobox); in InitContentView()
|
/external/chromium_org/ui/views/ |
D | views.gyp | 62 'controls/combobox/combobox.cc', 63 'controls/combobox/combobox.h', 64 'controls/combobox/combobox_listener.h', 506 'controls/combobox/combobox_unittest.cc',
|
/external/chromium_org/chrome/browser/ui/views/translate/ |
D | translate_bubble_view.h | 78 virtual void OnPerformAction(views::Combobox* combobox) OVERRIDE;
|
/external/chromium_org/chrome/browser/chromeos/options/ |
D | vpn_config_view.h | 63 virtual void OnPerformAction(views::Combobox* combobox) OVERRIDE;
|
D | wifi_config_view.h | 73 virtual void OnPerformAction(views::Combobox* combobox) OVERRIDE;
|
D | wifi_config_view.cc | 632 void WifiConfigView::OnPerformAction(views::Combobox* combobox) { in OnPerformAction() argument 633 if (combobox == security_combobox_) { in OnPerformAction() 641 } else if (combobox == user_cert_combobox_) { in OnPerformAction() 643 } else if (combobox == eap_method_combobox_) { in OnPerformAction()
|