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

Side by Side Diff: chrome/browser/resources/md_history/app.vulcanized.html

Issue 2672723002: [MD History] Disable Clear Browsing Data button for supervised users. (Closed)
Patch Set: Created 3 years, 10 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 <html><head><!-- 1 <html><head><!--
2 @license 2 @license
3 Copyright (c) 2014 The Polymer Project Authors. All rights reserved. 3 Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
4 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt 4 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt
5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt 5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt 6 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt
7 Code distributed by Google as part of the polymer project is also 7 Code distributed by Google as part of the polymer project is also
8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt 8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt
9 --><!-- 9 --><!--
10 @license 10 @license
(...skipping 3472 matching lines...) Expand 10 before | Expand all | Expand 10 after
3483 width: var(--side-bar-width); 3483 width: var(--side-bar-width);
3484 } 3484 }
3485 3485
3486 div.separator { 3486 div.separator {
3487 background-color: var(--separator-color); 3487 background-color: var(--separator-color);
3488 flex-shrink: 0; 3488 flex-shrink: 0;
3489 height: 1px; 3489 height: 1px;
3490 margin: 8px 0; 3490 margin: 8px 0;
3491 } 3491 }
3492 3492
3493 a[disabled] {
3494 color: var(--paper-grey-400);
3495 pointer-events: none;
3496 }
3497
3493 #clear-browsing-data { 3498 #clear-browsing-data {
3494 justify-content: space-between; 3499 justify-content: space-between;
3495 } 3500 }
3496 3501
3497 #clear-browsing-data iron-icon { 3502 #clear-browsing-data iron-icon {
3498 -webkit-margin-end: 20px; 3503 -webkit-margin-end: 20px;
3499 color: var(--paper-grey-400); 3504 color: var(--paper-grey-400);
3500 height: 20px; 3505 height: 20px;
3501 margin-bottom: 10px; 3506 margin-bottom: 10px;
3502 margin-top: 10px; 3507 margin-top: 10px;
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
3559 <iron-selector id="menu" selected="{{selectedPage}}" selectable=".page-item" attr-for-selected="path" on-iron-activate="onSelectorActivate_"> 3564 <iron-selector id="menu" selected="{{selectedPage}}" selectable=".page-item" attr-for-selected="path" on-iron-activate="onSelectorActivate_">
3560 <a href="/" class="page-item" path="history" on-click="onItemClick_"> 3565 <a href="/" class="page-item" path="history" on-click="onItemClick_">
3561 $i18n{historyMenuItem} 3566 $i18n{historyMenuItem}
3562 <paper-ripple></paper-ripple> 3567 <paper-ripple></paper-ripple>
3563 </a> 3568 </a>
3564 <a href="/syncedTabs" class="page-item" path="syncedTabs" on-click="onItem Click_"> 3569 <a href="/syncedTabs" class="page-item" path="syncedTabs" on-click="onItem Click_">
3565 $i18n{openTabsMenuItem} 3570 $i18n{openTabsMenuItem}
3566 <paper-ripple></paper-ripple> 3571 <paper-ripple></paper-ripple>
3567 </a> 3572 </a>
3568 <div class="separator"></div> 3573 <div class="separator"></div>
3569 <a href="chrome://settings/clearBrowserData" on-tap="onClearBrowsingDataTa p_" id="clear-browsing-data"> 3574 <a href="chrome://settings/clearBrowserData" on-tap="onClearBrowsingDataTa p_" id="clear-browsing-data" disabled$="[[!deletingAllowed_()]]">
3570 $i18n{clearBrowsingData} 3575 $i18n{clearBrowsingData}
3571 <iron-icon icon="cr:open-in-new"></iron-icon> 3576 <iron-icon icon="cr:open-in-new"></iron-icon>
3572 <paper-ripple id="cbd-ripple"></paper-ripple> 3577 <paper-ripple id="cbd-ripple"></paper-ripple>
3573 </a> 3578 </a>
3574 <div id="spacer"></div> 3579 <div id="spacer"></div>
3575 <div id="footer" hidden="[[!showFooter]]"> 3580 <div id="footer" hidden="[[!showFooter]]">
3576 <div class="separator"></div> 3581 <div class="separator"></div>
3577 <div id="footer-text">$i18nRaw{sidebarFooter}</div> 3582 <div id="footer-text">$i18nRaw{sidebarFooter}</div>
3578 </div> 3583 </div>
3579 </iron-selector> 3584 </iron-selector>
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
3751 <history-side-bar id="drawer-side-bar" class="drawer-content" selected-p age="{{selectedPage_}}" show-footer="[[showSidebarFooter]]"> 3756 <history-side-bar id="drawer-side-bar" class="drawer-content" selected-p age="{{selectedPage_}}" show-footer="[[showSidebarFooter]]">
3752 </history-side-bar> 3757 </history-side-bar>
3753 </dialog> 3758 </dialog>
3754 </template> 3759 </template>
3755 3760
3756 <iron-media-query query="(max-width: 1023px)" query-matches="{{hasDrawer_}}" > 3761 <iron-media-query query="(max-width: 1023px)" query-matches="{{hasDrawer_}}" >
3757 </iron-media-query> 3762 </iron-media-query>
3758 </template> 3763 </template>
3759 </dom-module> 3764 </dom-module>
3760 <script src="app.crisper.js"></script></body></html> 3765 <script src="app.crisper.js"></script></body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698