/external/chromium_org/chrome/browser/ui/views/bookmarks/ |
H A D | bookmark_bubble_view.cc | 32 #include "ui/views/layout/grid_layout.h" 33 #include "ui/views/layout/layout_constants.h" 160 GridLayout* layout = new GridLayout(this); local 161 SetLayoutManager(layout); 163 // Column sets used in the layout of the bubble. 170 ColumnSet* cs = layout->AddColumnSet(TITLE_COLUMN_SET_ID); 176 // The column layout used for middle and bottom rows. 177 cs = layout->AddColumnSet(CONTENT_COLUMN_SET_ID); 194 layout->StartRow(0, TITLE_COLUMN_SET_ID); 195 layout [all...] |
/external/chromium_org/chrome/browser/ui/views/download/ |
H A D | download_danger_prompt_views.cc | 21 #include "ui/views/layout/grid_layout.h" 103 views::GridLayout* layout = views::GridLayout::CreatePanel(contents_view_); local 104 contents_view_->SetLayoutManager(layout); 106 views::ColumnSet* column_set = layout->AddColumnSet(0); 121 layout->StartRow(0, 0); 122 layout->AddView(message_lead_label); 124 layout->AddPaddingRow(0, kParagraphPadding); 132 layout->StartRow(0, 0); 133 layout->AddView(message_body_label);
|
/external/chromium_org/chrome/browser/ui/views/ |
H A D | edit_search_engine_dialog.cc | 22 #include "ui/views/layout/grid_layout.h" 23 #include "ui/views/layout/layout_constants.h" 142 GridLayout* layout = GridLayout::CreatePanel(this); local 143 SetLayoutManager(layout); 145 // Define the structure of the layout. 148 views::ColumnSet* column_set = layout->AddColumnSet(0); 158 column_set = layout->AddColumnSet(1); 169 column_set = layout->AddColumnSet(2); 174 layout->StartRow(0, 1); 175 layout [all...] |
H A D | profile_reset_bubble_view.cc | 35 #include "ui/views/layout/grid_layout.h" 36 #include "ui/views/layout/layout_constants.h" 84 // Setup the layout manager of the Feedback view using the content of the 93 GridLayout* layout = new GridLayout(this); local 94 SetLayoutManager(layout); 97 views::ColumnSet* cs = layout->AddColumnSet(0); 129 layout->StartRow(0, 0); 130 layout->AddView(left_text_label); 131 layout->AddView(right_text_label); 132 layout 282 GridLayout* layout = new GridLayout(this); local [all...] |
H A D | sad_tab_view.cc | 29 #include "ui/views/layout/grid_layout.h" 90 views::GridLayout* layout = new views::GridLayout(this); local 91 SetLayoutManager(layout); 94 views::ColumnSet* columns = layout->AddColumnSet(column_set_id); 103 layout->StartRowWithPadding(0, column_set_id, 1, kPadding); 104 layout->AddView(image); 111 layout->StartRowWithPadding(0, column_set_id, 0, kPadding); 112 layout->AddView(title); 118 layout->StartRowWithPadding(0, column_set_id, 0, kPadding); 119 layout [all...] |
H A D | ssl_client_certificate_selector.cc | 29 #include "ui/views/layout/grid_layout.h" 30 #include "ui/views/layout/layout_constants.h" 121 views::GridLayout* layout = views::GridLayout::CreatePanel(this); local 122 SetLayoutManager(layout); 125 views::ColumnSet* column_set = layout->AddColumnSet(column_set_id); 130 layout->StartRow(0, column_set_id); 138 layout->AddView(label); 140 layout->AddPaddingRow(0, views::kRelatedControlVerticalSpacing); 143 layout->StartRow(1, column_set_id); 144 layout [all...] |
/external/chromium_org/chrome/browser/ui/views/extensions/ |
H A D | extension_message_bubble_view.cc | 27 #include "ui/views/layout/grid_layout.h" 194 views::GridLayout* layout = views::GridLayout::CreatePanel(this); local 195 layout->SetInsets(kInsetTop, kInsetLeft, 197 SetLayoutManager(layout); 200 views::ColumnSet* top_columns = layout->AddColumnSet(headline_column_set_id); 204 layout->StartRow(0, headline_column_set_id); 209 layout->AddView(headline_); 211 layout->AddPaddingRow(0, kHeadlineRowPadding); 214 views::ColumnSet* upper_columns = layout->AddColumnSet(text_column_set_id); 218 layout [all...] |
H A D | suspicious_extension_bubble_view.cc | 22 #include "ui/views/layout/grid_layout.h" 129 views::GridLayout* layout = views::GridLayout::CreatePanel(this); local 130 layout->SetInsets(kInsetTop, kInsetLeft, 132 SetLayoutManager(layout); 135 views::ColumnSet* top_columns = layout->AddColumnSet(headline_column_set_id); 139 layout->StartRow(0, headline_column_set_id); 144 layout->AddView(headline_); 146 layout->AddPaddingRow(0, kHeadlineRowPadding); 149 views::ColumnSet* upper_columns = layout->AddColumnSet(text_column_set_id); 153 layout [all...] |
/external/chromium_org/chrome/browser/ui/views/frame/ |
H A D | browser_view_layout_unittest.cc | 26 void set_download_shelf_needs_layout(bool layout) { argument 27 download_shelf_needs_layout_ = layout; 41 // TODO(jamescook): Add a test for Windows that exercises the layout for 143 BrowserViewLayout* layout() { return layout_.get(); } function in class:BrowserViewLayoutTest 213 EXPECT_TRUE(layout()->browser()); 214 EXPECT_TRUE(layout()->GetWebContentsModalDialogHost()); 215 EXPECT_FALSE(layout()->InfobarVisible()); 218 // Test the core layout functions. 224 layout()->Layout(root_view()); 235 layout() [all...] |
/external/chromium_org/chrome/browser/ui/views/message_center/ |
H A D | message_center_widget_delegate.cc | 18 #include "ui/views/layout/box_layout.h" 48 views::BoxLayout* layout = local 50 layout->set_spread_blank_space(true); 51 SetLayoutManager(layout);
|
/external/chromium_org/chrome/browser/ui/views/sync/ |
H A D | one_click_signin_bubble_view.cc | 27 #include "ui/views/layout/grid_layout.h" 28 #include "ui/views/layout/layout_constants.h" 39 // to layout views. 137 views::GridLayout* layout = new views::GridLayout(this); local 138 SetLayoutManager(layout); 142 views::ColumnSet* cs = layout->AddColumnSet(COLUMN_SET_FILL_ALIGN); 147 cs = layout->AddColumnSet(COLUMN_SET_CONTROLS); 157 is_sync_dialog_ ? InitDialogContent(layout) : InitBubbleContent(layout); 163 layout 173 InitBubbleContent(views::GridLayout* layout) argument 193 InitDialogContent(views::GridLayout* layout) argument 250 InitButtons(views::GridLayout* layout) argument [all...] |
/external/chromium_org/chrome/browser/ui/views/tabs/ |
H A D | stacked_tab_strip_layout_unittest.cc | 36 void Reset(StackedTabStripLayout* layout, argument 41 layout->Reset(x, width, mini_tab_count, active_index); 142 StackedTabStripLayout layout(gfx::Size(100, 10), -10, 2, 4, &view_model_); 147 Reset(&layout, 0, i, 0, j); 155 // Ensure initial layout is correct. 376 // Remove from ideal layout. 454 StackedTabStripLayout layout(gfx::Size(160, 10), -27, 6, 4, &view_model_); 456 layout.AddTab(0, StackedTabStripLayout::kAddTypeActive, 0); 457 layout.SetWidth(100); 458 layout [all...] |
/external/chromium_org/chrome/browser/ui/views/website_settings/ |
H A D | permission_selector_view.cc | 18 #include "ui/views/layout/grid_layout.h" 161 views::GridLayout* layout = new views::GridLayout(this); local 162 SetLayoutManager(layout); 164 views::ColumnSet* column_set = layout->AddColumnSet(column_set_id); 185 layout->StartRow(1, column_set_id); 193 layout->AddView(icon_, 203 layout->AddView(label, 222 layout->AddView(menu_button_);
|
/external/chromium_org/chrome/browser/ui/webui/options/chromeos/ |
H A D | display_options_handler.cc | 247 const ash::DisplayLayout layout = local 249 layout_value.reset(new base::FundamentalValue(layout.position)); 250 offset_value.reset(new base::FundamentalValue(layout.offset)); 298 double layout = -1; local 300 if (!args->GetDouble(0, &layout) || !args->GetDouble(1, &offset)) { 305 DCHECK_LE(ash::DisplayLayout::TOP, layout); 306 DCHECK_GE(ash::DisplayLayout::LEFT, layout); 311 static_cast<int>(layout),
|
/external/chromium_org/content/shell/browser/ |
H A D | shell_views.cc | 24 #include "ui/views/layout/fill_layout.h" 25 #include "ui/views/layout/grid_layout.h" 133 views::GridLayout* layout = new views::GridLayout(this); local 134 SetLayoutManager(layout); 136 views::ColumnSet* column_set = layout->AddColumnSet(0); 142 layout->AddPaddingRow(0, 2); 146 layout->StartRow(0, 0); 204 layout->AddView(toolbar_view_); 207 layout->AddPaddingRow(0, 5); 211 layout [all...] |
/external/chromium_org/media/audio/alsa/ |
H A D | alsa_output_unittest.cc | 123 AlsaPcmOutputStream* CreateStream(ChannelLayout layout) { argument 124 return CreateStream(layout, kTestFramesPerPacket); 127 AlsaPcmOutputStream* CreateStream(ChannelLayout layout, argument 129 AudioParameters params(kTestFormat, layout, kTestSampleRate,
|
/external/chromium_org/media/audio/cras/ |
H A D | cras_unified.cc | 199 // Initialize channel layout to all -1 to indicate that none of 200 // the channels is set in the layout. 201 int8 layout[CRAS_CH_MAX] = {-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 }; local 206 layout[kChannelMap[i]] = ChannelOrder(params_.channel_layout(), 209 if (cras_audio_format_set_channel_layout(audio_format, layout)) { 210 LOG(WARNING) << "Error setting channel layout.";
|
/external/chromium_org/media/base/ |
H A D | channel_mixer.cc | 24 static void ValidateLayout(ChannelLayout layout) { argument 25 CHECK_NE(layout, CHANNEL_LAYOUT_NONE); 26 CHECK_NE(layout, CHANNEL_LAYOUT_MAX); 27 CHECK_NE(layout, CHANNEL_LAYOUT_UNSUPPORTED); 28 CHECK_NE(layout, CHANNEL_LAYOUT_DISCRETE); 32 int channel_count = ChannelLayoutToChannelCount(layout); 35 // If we have more than one channel, verify a symmetric layout for sanity. 40 DCHECK((ChannelOrder(layout, LEFT) >= 0 && 41 ChannelOrder(layout, RIGHT) >= 0) || 42 (ChannelOrder(layout, SIDE_LEF [all...] |
/external/chromium_org/media/ffmpeg/ |
H A D | ffmpeg_common.cc | 448 ChannelLayout ChannelLayoutToChromeChannelLayout(int64_t layout, int channels) { argument 449 switch (layout) { 507 // FFmpeg channel_layout is 0 for .wav and .mp3. Attempt to guess layout
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
H A D | FixedTableLayout.cpp | 34 Fixed table layout 36 With this (fast) algorithm, the horizontal layout of the table does 43 inline-table') means use the automatic table layout algorithm. 45 In the fixed table layout algorithm, the width of each column is 98 // Width specified by column-groups that have column child does not affect column width in fixed layout tables 194 <table style="width:100%; background-color:green; table-layout:fixed"><tr><td> 207 void FixedTableLayout::layout() function in class:WebCore::FixedTableLayout 216 // FIXME: Table layout shouldn't modify our table structure (but does due to columns and column-groups). 323 // When switching table layout algorithm, we need to dirty the preferred
|
H A D | RenderEmbeddedObject.cpp | 193 void RenderEmbeddedObject::layout() function in class:WebCore::RenderEmbeddedObject 203 RenderPart::layout(); 218 // This code copied from RenderMedia::layout(). 233 // When calling layout() on a child node, a parent must either push a LayoutStateMaintainter, or
|
H A D | RenderRubyRun.cpp | 78 // layout will have to be changed to handle them properly. 230 void RenderRubyRun::layout() function in class:WebCore::RenderRubyRun 233 RenderBlock::layout();
|
H A D | RenderTableRow.cpp | 159 void RenderTableRow::layout() function in class:WebCore::RenderTableRow 179 cell->layout(); 185 // layout, so we know that our bounds didn't change. This code is just making up for 186 // the fact that we did not repaint in setStyle() because we had a layout hint. 188 // parent table, and being mid-layout, that is invalid. Instead, we repaint our cells.
|
H A D | RenderVideo.cpp | 187 void RenderVideo::layout() function in class:WebCore::RenderVideo 191 RenderMedia::layout();
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/ |
H A D | ComplexTextController.cpp | 89 void Font::deleteLayout(TextLayout* layout) argument 91 delete layout; 94 float Font::width(TextLayout& layout, unsigned from, unsigned len, HashSet<const SimpleFontData*>* fallbackFonts) argument 96 return layout.width(from, len, fallbackFonts);
|