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

Side by Side Diff: ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar.html

Issue 2106103006: MD Settings: cr/cros - Guest mode page visibility (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Itr#2 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 unified diff | Download patch
OLDNEW
1 <link rel="import" href="chrome://resources/html/polymer.html"> 1 <link rel="import" href="chrome://resources/html/polymer.html">
2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-media-query/iron-m edia-query.html"> 2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-media-query/iron-m edia-query.html">
3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html"> 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html">
4 <link rel="import" href="chrome://resources/cr_elements/cr_toolbar/cr_toolbar_se arch_field.html"> 4 <link rel="import" href="chrome://resources/cr_elements/cr_toolbar/cr_toolbar_se arch_field.html">
5 5
6 <dom-module id="cr-toolbar"> 6 <dom-module id="cr-toolbar">
7 <template> 7 <template>
8 <style> 8 <style>
9 :host { 9 :host {
10 color: #fff; 10 color: #fff;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 47
48 :host([narrow_][showing-search_]) #leftContent { 48 :host([narrow_][showing-search_]) #leftContent {
49 display: none; 49 display: none;
50 } 50 }
51 </style> 51 </style>
52 <div id="leftContent"> 52 <div id="leftContent">
53 <paper-icon-button icon="cr:menu" on-tap="onMenuTap_"> 53 <paper-icon-button icon="cr:menu" on-tap="onMenuTap_">
54 </paper-icon-button> 54 </paper-icon-button>
55 <h1>[[pageName]]</h1> 55 <h1>[[pageName]]</h1>
56 </div> 56 </div>
57 57 <template is="dom-if" if="[[!hideSearch]]">
58 <div id="centeredContent"> 58 <div id="centeredContent">
59 <cr-toolbar-search-field id="search" narrow="[[narrow_]]" 59 <cr-toolbar-search-field id="search" narrow="[[narrow_]]"
60 label="[[searchPrompt]]" clear-label="[[clearLabel]]" 60 label="[[searchPrompt]]" clear-label="[[clearLabel]]"
61 spinner-active="[[spinnerActive]]" 61 spinner-active="[[spinnerActive]]"
62 showing-search="{{showingSearch_}}"> 62 showing-search="{{showingSearch_}}">
63 </cr-toolbar-search-field> 63 </cr-toolbar-search-field>
64 <iron-media-query query="(max-width: 900px)" query-matches="{{narrow_}}"> 64 <iron-media-query query="(max-width: 900px)" query-matches="{{narrow_}}" >
65 </iron-media-query> 65 </iron-media-query>
66 </div> 66 </div>
67 </template>
67 </template> 68 </template>
68 <script src="cr_toolbar.js"></script> 69 <script src="cr_toolbar.js"></script>
69 </dom-module> 70 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698