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

Unified Diff: chrome/browser/resources/chromeos/login/oobe_dialog.html

Issue 2189733006: ChromeOS: Implement Language Selection screen of material design OOBE. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use translatable string for OK button text Created 4 years, 5 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/chromeos/login/oobe_dialog.html
diff --git a/chrome/browser/resources/chromeos/login/oobe_dialog.html b/chrome/browser/resources/chromeos/login/oobe_dialog.html
index 80b000c4aa7bc34aaf5c25153fd329d2b83dd2c6..149b29e7fffb030b2f0cb3b653813b2597be35c6 100644
--- a/chrome/browser/resources/chromeos/login/oobe_dialog.html
+++ b/chrome/browser/resources/chromeos/login/oobe_dialog.html
@@ -17,6 +17,8 @@
</div>
<oobe-input-form class="footer" ...>
</oobe-input-form>
+ <oobe-text-button class="footer" label="OK" ...>
+ </oobe-text-button>
</oobe-dialog>
Add class |header| to all which you want to go inside the header. Similar
@@ -37,9 +39,11 @@
<div class="footer-container flex vertical layout">
<content select=".footer"></content>
</div>
- <div id="bottom-overlay" class="overlay"></div>
</div>
- <div id="full-overlay" class="overlay"></div>
+ <div id="oobe-bottom" class="layout horizontal end-justified"
+ hidden="[[!hasButtons]]">
michaelpg 2016/07/29 06:26:49 if you'd prefer, you can make hasButtons just a no
stevenjb 2016/07/29 16:11:52 Or use <template is="dom-if" if="[[hasButtons]]">
Alexander Alekseev 2016/07/30 00:52:50 Done.
+ <content select=".bottom-buttons"></content>
+ </div>
</template>
</dom-module>

Powered by Google App Engine
This is Rietveld 408576698