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

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

Issue 2360193002: [MD History] Hide empty synced device cards. (Closed)
Patch Set: rebase Created 4 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 unified diff | Download patch
OLDNEW
1 <html><head><!-- 1 <html><head><!--
2 @license 2 @license
3 Copyright (c) 2016 The Polymer Project Authors. All rights reserved. 3 Copyright (c) 2016 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 947 matching lines...) Expand 10 before | Expand all | Expand 10 after
958 958
959 </style> 959 </style>
960 <div id="synced-device-list" hidden="[[!syncedDevices_.length]]"> 960 <div id="synced-device-list" hidden="[[!syncedDevices_.length]]">
961 <template is="dom-repeat" items="[[syncedDevices_]]" as="syncedDevice"> 961 <template is="dom-repeat" items="[[syncedDevices_]]" as="syncedDevice">
962 <history-synced-device-card device="[[syncedDevice.device]]" last-update -time="[[syncedDevice.lastUpdateTime]]" tabs="[[syncedDevice.tabs]]" separator-i ndexes="[[syncedDevice.separatorIndexes]]" search-term="[[searchTerm]]" session- tag="[[syncedDevice.tag]]" opened="{{syncedDevice.opened}}"> 962 <history-synced-device-card device="[[syncedDevice.device]]" last-update -time="[[syncedDevice.lastUpdateTime]]" tabs="[[syncedDevice.tabs]]" separator-i ndexes="[[syncedDevice.separatorIndexes]]" search-term="[[searchTerm]]" session- tag="[[syncedDevice.tag]]" opened="{{syncedDevice.opened}}">
963 </history-synced-device-card> 963 </history-synced-device-card>
964 </template> 964 </template>
965 </div> 965 </div>
966 <div id="no-synced-tabs" class="centered-message" hidden="[[!showNoSyncedMes sage(signInState, syncedDevices_.length, 966 <div id="no-synced-tabs" class="centered-message" hidden="[[!showNoSyncedMes sage(signInState, syncedDevices_.length,
967 guestSession_)]]"> 967 guestSession_)]]">
968 [[noSyncedTabsMessage(fetchingSyncedTabs_)]] 968 [[noSyncedTabsMessage(fetchingSyncedTabs_, searchTerm)]]
969 </div> 969 </div>
970 <div id="sign-in-guide" hidden="[[!showSignInGuide(signInState, guestSession _)]]"> 970 <div id="sign-in-guide" hidden="[[!showSignInGuide(signInState, guestSession _)]]">
971 <div id="illustration"></div> 971 <div id="illustration"></div>
972 <div id="sign-in-promo">$i18n{signInPromo}</div> 972 <div id="sign-in-promo">$i18n{signInPromo}</div>
973 <div id="sign-in-promo-desc">$i18n{signInPromoDesc}</div> 973 <div id="sign-in-promo-desc">$i18n{signInPromoDesc}</div>
974 <paper-button id="sign-in-button" class="action-button" on-tap="onSignInTa p_"> 974 <paper-button id="sign-in-button" class="action-button" on-tap="onSignInTa p_">
975 $i18n{signInButton} 975 $i18n{signInButton}
976 </paper-button> 976 </paper-button>
977 </div> 977 </div>
978 978
(...skipping 596 matching lines...) Expand 10 before | Expand all | Expand 10 after
1575 <content select="*"></content> 1575 <content select="*"></content>
1576 </div> 1576 </div>
1577 </div> 1577 </div>
1578 1578
1579 <paper-icon-button icon="paper-tabs:chevron-right" class$="[[_computeScrollB uttonClass(_rightHidden, scrollable, hideScrollButtons)]]" on-up="_onScrollButto nUp" on-down="_onRightScrollButtonDown" tabindex="-1"></paper-icon-button> 1579 <paper-icon-button icon="paper-tabs:chevron-right" class$="[[_computeScrollB uttonClass(_rightHidden, scrollable, hideScrollButtons)]]" on-up="_onScrollButto nUp" on-down="_onRightScrollButtonDown" tabindex="-1"></paper-icon-button>
1580 1580
1581 </template> 1581 </template>
1582 1582
1583 </dom-module> 1583 </dom-module>
1584 </div><script src="lazy_load.crisper.js"></script></body></html> 1584 </div><script src="lazy_load.crisper.js"></script></body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698