Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(375)

Side by Side Diff: ui/views/layout/grid_layout.h

Issue 2622603003: Hide icons in message center on lock screen (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_VIEWS_LAYOUT_GRID_LAYOUT_H_ 5 #ifndef UI_VIEWS_LAYOUT_GRID_LAYOUT_H_
6 #define UI_VIEWS_LAYOUT_GRID_LAYOUT_H_ 6 #define UI_VIEWS_LAYOUT_GRID_LAYOUT_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 // Size specifies the height of the row. 125 // Size specifies the height of the row.
126 void AddPaddingRow(float vertical_resize, int size); 126 void AddPaddingRow(float vertical_resize, int size);
127 127
128 // A convenience for AddPaddingRow followed by StartRow. 128 // A convenience for AddPaddingRow followed by StartRow.
129 void StartRowWithPadding(float vertical_resize, int column_set_id, 129 void StartRowWithPadding(float vertical_resize, int column_set_id,
130 float padding_resize, int padding); 130 float padding_resize, int padding);
131 131
132 // Starts a new row with the specified column set. 132 // Starts a new row with the specified column set.
133 void StartRow(float vertical_resize, int column_set_id); 133 void StartRow(float vertical_resize, int column_set_id);
134 134
135 // Starts a new row with the specified column set and height.
136 void StartRowWithHeight(float vertical_resize, int column_set_id, int height);
137
135 // Advances past columns. Use this when the current column should not 138 // Advances past columns. Use this when the current column should not
136 // contain any views. 139 // contain any views.
137 void SkipColumns(int col_count); 140 void SkipColumns(int col_count);
138 141
139 // Adds a view using the default alignment from the column. The added 142 // Adds a view using the default alignment from the column. The added
140 // view has a column and row span of 1. 143 // view has a column and row span of 1.
141 // As a convenience this adds the view to the host. The view becomes owned 144 // As a convenience this adds the view to the host. The view becomes owned
142 // by the host, and NOT this GridLayout. 145 // by the host, and NOT this GridLayout.
143 void AddView(View* view); 146 void AddView(View* view);
144 147
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 // The master column of those columns that are linked. See Column 367 // The master column of those columns that are linked. See Column
365 // for a description of what the master column is. 368 // for a description of what the master column is.
366 std::vector<Column*> master_columns_; 369 std::vector<Column*> master_columns_;
367 370
368 DISALLOW_COPY_AND_ASSIGN(ColumnSet); 371 DISALLOW_COPY_AND_ASSIGN(ColumnSet);
369 }; 372 };
370 373
371 } // namespace views 374 } // namespace views
372 375
373 #endif // UI_VIEWS_LAYOUT_GRID_LAYOUT_H_ 376 #endif // UI_VIEWS_LAYOUT_GRID_LAYOUT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698