OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:combobox_
(Results
1 - 5
of
5
) sorted by null
/external/chromium_org/ui/views/examples/
combobox_example.cc
29
ComboboxExample::ComboboxExample() : ExampleBase("Combo Box"),
combobox_
(NULL) {
33
// Delete |
combobox_
| first as it references |combobox_model_|.
34
delete
combobox_
;
35
combobox_
= NULL;
39
combobox_
= new Combobox(&combobox_model_);
40
combobox_
->set_listener(this);
41
combobox_
->SetSelectedIndex(3);
44
container->AddChildView(
combobox_
);
48
DCHECK_EQ(
combobox_
, combobox);
combobox_example.h
44
Combobox*
combobox_
;
member in class:views::examples::ComboboxExample
examples_window.cc
76
:
combobox_
(new Combobox(&combobox_model_)),
81
combobox_
->set_listener(this);
84
// Delete |
combobox_
| first as it references |combobox_model_|.
85
delete
combobox_
;
86
combobox_
= NULL;
119
DCHECK_EQ(combobox,
combobox_
);
143
layout->AddView(
combobox_
);
186
Combobox*
combobox_
;
member in class:views::examples::ExamplesWindowContents
examples_window_with_content.cc
79
:
combobox_
(new Combobox(&combobox_model_)),
85
combobox_
->set_listener(this);
88
// Delete |
combobox_
| first as it references |combobox_model_|.
89
delete
combobox_
;
90
combobox_
= NULL;
123
DCHECK_EQ(combobox,
combobox_
);
147
layout->AddView(
combobox_
);
191
Combobox*
combobox_
;
member in class:views::examples::ExamplesWindowContents
/external/chromium_org/ui/views/controls/combobox/
combobox_unittest.cc
173
ComboboxTest() : widget_(NULL),
combobox_
(NULL), input_method_(NULL) {}
184
ASSERT_FALSE(
combobox_
);
185
combobox_
= new TestCombobox(model_.get());
186
combobox_
->set_id(1);
194
container->AddChildView(
combobox_
);
202
combobox_
->RequestFocus();
203
combobox_
->SizeToPreferredSize();
234
// |
combobox_
| will be allocated InitCombobox() and then owned by |widget_|.
235
TestCombobox*
combobox_
;
member in class:views::ComboboxTest
247
EXPECT_EQ(
combobox_
->selected_index() + 1, model_->GetItemCount())
[
all
...]
Completed in 45 milliseconds