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

Unified Diff: chrome/browser/resources/settings/settings_page/settings_row.js

Issue 1409373007: [MD settings] adding settings-row class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review nit Created 5 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/settings/settings_page/settings_row.js
diff --git a/chrome/browser/resources/settings/settings_page/settings_row.js b/chrome/browser/resources/settings/settings_page/settings_row.js
new file mode 100644
index 0000000000000000000000000000000000000000..b4c578523821bd9ebb8fab928ff43b23cebff40a
--- /dev/null
+++ b/chrome/browser/resources/settings/settings_page/settings_row.js
@@ -0,0 +1,29 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+/**
+ * @fileoverview
+ * 'settings-row' shows a row of controls for a setting. This is used as
+ * a simple container for UI group that is smaller than a page or section,
+ * but larger than a single button or slider. The row may contain a <left>,
+ * a <right> or both. Elements withing left or right will be pushed to the
+ * respective ends of the row.
+ *
+ * Examples:
+ *
+ * <settings-row>
+ * <left>
Dan Beam 2015/10/20 18:31:51 custom tags should have-dashes
dschuyler 2015/10/20 20:46:59 Ah, I knew about dashes for polymer module names
+ * Press the button
+ * </left>
+ * <right>
+ * <paper-button>THE BUTTON</paper-button>
+ * </right>
+ * </settings-row>
+ *
+ * @group Chrome Settings Elements
+ * @element settings-row
+ */
+Polymer({
+ is: 'settings-row',
+});

Powered by Google App Engine
This is Rietveld 408576698