HomeSort by relevance Sort by last modified time
    Searched refs:Combobox (Results 1 - 25 of 35) sorted by null

1 2

  /external/chromium_org/ui/views/controls/combobox/
combobox_listener.h 12 class Combobox;
15 // Combobox.
25 virtual void OnPerformAction(Combobox* combobox) = 0;
combobox.cc 5 #include "ui/views/controls/combobox/combobox.h"
28 #include "ui/views/controls/combobox/combobox_listener.h"
50 // Limit how small a combobox can be.
53 // Size of the combobox arrow margins
225 const char Combobox::kViewClassName[] = "views/Combobox";
228 // Combobox, public:
230 Combobox::Combobox(ui::ComboboxModel* model
    [all...]
combobox.h 39 // A non-editable combobox (aka a drop-down list or selector).
40 // Combobox has two distinct parts, the drop down arrow and the text. Combobox
42 // * STYLE_NORMAL: typical combobox, clicking on the text and/or button shows
48 class VIEWS_EXPORT Combobox : public MenuDelegate,
53 // The style of the combobox.
59 // The combobox's class name.
62 // |model| is not owned by the combobox.
63 explicit Combobox(ui::ComboboxModel* model);
64 virtual ~Combobox();
    [all...]
combobox_unittest.cc 5 #include "ui/views/controls/combobox/combobox.h"
16 #include "ui/views/controls/combobox/combobox_listener.h"
54 // A wrapper of Combobox to intercept the result of OnKeyPressed() and
56 class TestCombobox : public Combobox {
59 : Combobox(model),
65 key_handled_ = Combobox::OnKeyPressed(e);
71 key_handled_ = Combobox::OnKeyReleased(e);
89 // A concrete class is needed to test the combobox.
132 // A combobox model which refers to a vector
494 TestCombobox* combobox = new TestCombobox(&model); local
    [all...]
  /external/chromium_org/ui/views/examples/
text_example.h 11 #include "ui/views/controls/combobox/combobox_listener.h"
36 // Creates and adds a combobox to the layout.
37 Combobox* AddCombobox(GridLayout* layout,
46 virtual void OnPerformAction(Combobox* combobox) OVERRIDE;
53 Combobox* h_align_cb_;
56 Combobox* eliding_cb_;
59 Combobox* prefix_cb_;
62 Combobox* text_cb_;
82 // We create a model for each of the combobox, so we need to keep the
    [all...]
label_example.h 10 #include "ui/views/controls/combobox/combobox_listener.h"
39 virtual void OnPerformAction(Combobox* combobox) OVERRIDE;
49 // Creates and adds a combobox to the layout.
50 Combobox* AddCombobox(GridLayout* layout,
56 Combobox* alignment_;
57 Combobox* elide_behavior_;
combobox_example.h 10 #include "ui/views/controls/combobox/combobox_listener.h"
16 // A combobox model implementation that generates a list of "Item <index>".
41 virtual void OnPerformAction(Combobox* combobox) OVERRIDE;
44 Combobox* combobox_;
combobox_example.cc 9 #include "ui/views/controls/combobox/combobox.h"
39 combobox_ = new Combobox(&combobox_model_);
47 void ComboboxExample::OnPerformAction(Combobox* combobox) {
48 DCHECK_EQ(combobox_, combobox);
50 combobox->selected_index())).c_str());
label_example.cc 11 #include "ui/views/controls/combobox/combobox.h"
61 // Remove the views first as some reference combobox models.
128 void LabelExample::OnPerformAction(Combobox* combobox) {
129 if (combobox == alignment_) {
131 static_cast<gfx::HorizontalAlignment>(combobox->selected_index()));
132 } else if (combobox == elide_behavior_) {
134 static_cast<gfx::ElideBehavior>(combobox->selected_index()));
199 Combobox* LabelExample::AddCombobox(GridLayout* layout
207 Combobox* combobox = new Combobox(model); local
    [all...]
text_example.cc 12 #include "ui/views/controls/combobox/combobox.h"
117 // Remove the views first as some reference combobox models.
128 Combobox* TextExample::AddCombobox(GridLayout* layout,
136 Combobox* combobox = new Combobox(model); local
137 combobox->SetSelectedIndex(0);
138 combobox->set_listener(this);
139 layout->AddView(combobox, kNumColumns - 1, 1)
    [all...]
examples_window.cc 15 #include "ui/views/controls/combobox/combobox.h"
127 : combobox_(new Combobox(&combobox_model_)),
189 virtual void OnPerformAction(Combobox* combobox) OVERRIDE {
190 DCHECK_EQ(combobox, combobox_);
191 DCHECK(combobox->selected_index() < combobox_model_.GetItemCount());
194 combobox->selected_index()));
202 Combobox* combobox_;
  /external/chromium_org/chrome/browser/ui/views/
signed_certificate_timestamps_views.h 12 #include "ui/views/controls/combobox/combobox_listener.h"
20 class Combobox;
53 virtual void OnPerformAction(views::Combobox* combobox) OVERRIDE;
63 // The Combobox used to select the SCT to display. This class owns the pointer
65 // The Combobox d'tor refers to the model it holds, which will be destructed
67 // Views d'tor destroys the Combobox, leading to a crash.
69 scoped_ptr<views::Combobox> sct_selector_box_;
uninstall_view.h 20 class Combobox;
61 views::Combobox* browsers_combo_;
signed_certificate_timestamps_views.cc 19 #include "ui/views/controls/combobox/combobox.h"
117 views::Combobox* combobox) {
118 DCHECK_EQ(combobox, sct_selector_box_.get());
119 DCHECK_LT(combobox->selected_index(), sct_list_model_->GetItemCount());
120 ShowSCTInfo(combobox->selected_index());
144 sct_selector_box_.reset(new views::Combobox(sct_list_model_.get()));
uninstall_view.cc 19 #include "ui/views/controls/combobox/combobox.h"
40 // Delete Combobox as it holds a reference to us.
103 browsers_combo_ = new views::Combobox(this);
142 // Disable the browsers combobox if the user unchecks the checkbox.
  /external/chromium_org/chrome/browser/ui/views/apps/app_info_dialog/
app_info_summary_panel.h 12 #include "ui/views/controls/combobox/combobox_listener.h"
22 class Combobox;
46 virtual void OnPerformAction(views::Combobox* combobox) OVERRIDE;
83 views::Combobox* launch_options_combobox_;
  /external/chromium_org/chrome/browser/chromeos/options/
wifi_config_view.h 22 #include "ui/views/controls/combobox/combobox_listener.h"
73 virtual void OnPerformAction(views::Combobox* combobox) OVERRIDE;
186 views::Combobox* eap_method_combobox_;
189 views::Combobox* phase_2_auth_combobox_;
192 views::Combobox* user_cert_combobox_;
196 views::Combobox* server_ca_cert_combobox_;
207 views::Combobox* security_combobox_;
vpn_config_view.h 18 #include "ui/views/controls/combobox/combobox_listener.h"
63 virtual void OnPerformAction(views::Combobox* combobox) OVERRIDE;
166 views::Combobox* provider_type_combobox_;
172 views::Combobox* user_cert_combobox_;
176 views::Combobox* server_ca_cert_combobox_;
wifi_config_view.cc 34 #include "ui/views/controls/combobox/combobox.h"
46 // Combobox that supports a preferred width. Used by Server CA combobox
48 class ComboboxWithWidth : public views::Combobox {
51 : Combobox(model),
56 gfx::Size size = Combobox::GetPreferredSize();
130 explicit Phase2AuthComboboxModel(views::Combobox* eap_method_combobox);
138 views::Combobox* eap_method_combobox_;
230 views::Combobox* eap_method_combobox
    [all...]
  /external/chromium_org/chrome/browser/ui/views/bookmarks/
bookmark_bubble_view.h 17 #include "ui/views/controls/combobox/combobox_listener.h"
87 virtual void OnPerformAction(views::Combobox* combobox) OVERRIDE;
130 // Combobox showing a handful of folders the user can choose from, including
132 views::Combobox* parent_combobox_;
bookmark_bubble_view.cc 27 #include "ui/views/controls/combobox/combobox.h"
44 // This combobox prevents any lengthy content from stretching the bubble view.
45 class UnsizedCombobox : public views::Combobox {
47 explicit UnsizedCombobox(ui::ComboboxModel* model) : views::Combobox(model) {}
51 return gfx::Size(0, views::Combobox::GetPreferredSize().height());
319 void BookmarkBubbleView::OnPerformAction(views::Combobox* combobox) {
320 if (combobox->selected_index() + 1 == parent_model_.GetItemCount()) {
  /external/chromium_org/chrome/browser/ui/views/translate/
translate_bubble_view.h 19 #include "ui/views/controls/combobox/combobox_listener.h"
78 virtual void OnPerformAction(views::Combobox* combobox) OVERRIDE;
142 // Handles the event when the user changes an index of a combobox.
187 views::Combobox* denial_combobox_;
188 views::Combobox* source_language_combobox_;
189 views::Combobox* target_language_combobox_;
  /external/chromium_org/chrome/browser/ui/views/autofill/
autofill_dialog_view_tester_views.cc 11 #include "ui/views/controls/combobox/combobox.h"
45 views::Combobox* combobox = view_->ComboboxForType(type);
46 if (combobox)
47 return combobox->model()->GetItemAt(combobox->selected_index());
62 views::Combobox* combobox = view_->ComboboxForType(type); local
63 if (combobox) {
    [all...]
autofill_dialog_views.h 20 #include "ui/views/controls/combobox/combobox_listener.h"
38 class Combobox;
147 virtual void OnPerformAction(views::Combobox* combobox) OVERRIDE;
293 typedef std::map<ServerFieldType, views::Combobox*> ComboboxMap;
576 // Gets the combobox view that is shown for the given |type|, or NULL.
577 views::Combobox* ComboboxForType(ServerFieldType type);
579 // Returns the associated ServerFieldType for |combobox|.
580 ServerFieldType TypeForCombobox(const views::Combobox* combobox) const
    [all...]
  /external/chromium_org/chrome/browser/ui/views/website_settings/
permissions_bubble_view.cc 24 #include "ui/views/controls/combobox/combobox.h"
25 #include "ui/views/controls/combobox/combobox_listener.h"
137 // A combobox originating on the Allow button allowing for customization
199 virtual void OnPerformAction(views::Combobox* combobox) OVERRIDE;
208 views::Combobox* allow_combobox_;
249 // combobox.
276 PermissionCombobox* combobox = new PermissionCombobox( local
281 row_layout->AddView(combobox);
    [all...]

Completed in 1140 milliseconds

1 2