Home | History | Annotate | Download | only in passwords

Lines Matching refs:layout

27 #include "ui/views/layout/fill_layout.h"
28 #include "ui/views/layout/grid_layout.h"
29 #include "ui/views/layout/layout_constants.h"
56 // to |layout|.
57 void BuildColumnSet(views::GridLayout* layout, ColumnSetType type) {
58 views::ColumnSet* column_set = layout->AddColumnSet(type);
105 // Given a layout and a model, add an appropriate title using a
107 void AddTitleRow(views::GridLayout* layout, ManagePasswordsBubbleModel* model) {
114 // Add the title to the layout with appropriate padding.
115 layout->StartRowWithPadding(
117 layout->AddView(title_label);
118 layout->AddPaddingRow(0, views::kUnrelatedControlVerticalSpacing);
147 views::GridLayout* layout = new views::GridLayout(this);
148 layout->set_minimum_size(gfx::Size(kDesiredBubbleWidth, 0));
149 SetLayoutManager(layout);
168 BuildColumnSet(layout, SINGLE_VIEW_COLUMN_SET);
169 AddTitleRow(layout, parent_->model());
172 layout->StartRow(0, SINGLE_VIEW_COLUMN_SET);
173 layout->AddView(item);
176 BuildColumnSet(layout, DOUBLE_BUTTON_COLUMN_SET);
177 layout->StartRowWithPadding(
179 layout->AddView(save_button_);
180 layout->AddView(refuse_combobox_.get());
183 layout->AddPaddingRow(0, views::kRelatedControlVerticalSpacing);
216 views::GridLayout* layout = new views::GridLayout(this);
217 layout->set_minimum_size(gfx::Size(kDesiredBubbleWidth, 0));
218 SetLayoutManager(layout);
221 BuildColumnSet(layout, SINGLE_VIEW_COLUMN_SET);
228 layout->StartRowWithPadding(
230 layout->AddView(title_label);
231 layout->AddPaddingRow(0, views::kUnrelatedControlVerticalSpacing);
240 layout->StartRow(0, SINGLE_VIEW_COLUMN_SET);
241 layout->AddView(confirmation);
242 layout->AddPaddingRow(0, views::kRelatedControlSmallVerticalSpacing);
245 BuildColumnSet(layout, DOUBLE_BUTTON_COLUMN_SET);
246 layout->StartRowWithPadding(
257 layout->AddView(confirm_button_);
264 layout->AddView(undo_button_);
267 layout->AddPaddingRow(0, views::kRelatedControlVerticalSpacing);
288 views::GridLayout* layout = new views::GridLayout(this);
289 layout->set_minimum_size(gfx::Size(kDesiredBubbleWidth, 0));
290 SetLayoutManager(layout);
293 BuildColumnSet(layout, SINGLE_VIEW_COLUMN_SET);
294 AddTitleRow(layout, parent_->model());
311 layout->StartRow(0, SINGLE_VIEW_COLUMN_SET);
312 layout->AddView(item);
323 layout->StartRow(0, SINGLE_VIEW_COLUMN_SET);
324 layout->AddView(empty_label);
325 layout->AddPaddingRow(0, views::kRelatedControlSmallVerticalSpacing);
342 BuildColumnSet(layout, LINK_BUTTON_COLUMN_SET);
343 layout->StartRowWithPadding(
345 layout->AddView(manage_link_);
346 layout->AddView(done_button_);
349 layout->AddPaddingRow(0, views::kRelatedControlVerticalSpacing);
375 views::GridLayout* layout = new views::GridLayout(this);
376 layout->set_minimum_size(gfx::Size(kDesiredBubbleWidth, 0));
377 SetLayoutManager(layout);
380 BuildColumnSet(layout, SINGLE_VIEW_COLUMN_SET);
381 AddTitleRow(layout, parent_->model());
389 layout->StartRow(0, SINGLE_VIEW_COLUMN_SET);
390 layout->AddView(blacklisted);
391 layout->AddPaddingRow(0, views::kRelatedControlSmallVerticalSpacing);
405 BuildColumnSet(layout, DOUBLE_BUTTON_COLUMN_SET);
406 layout->StartRowWithPadding(
408 layout->AddView(unblacklist_button_);
409 layout->AddView(done_button_);
412 layout->AddPaddingRow(0, views::kRelatedControlVerticalSpacing);
525 views::FillLayout* layout = new views::FillLayout();
526 SetLayoutManager(layout);
551 GetLayoutManager()->Layout(this);