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

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

Issue 2282403005: MD WebUI: Move history-lazy-render into cr-elements (Closed)
Patch Set: Rebase Created 4 years, 3 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 1266 matching lines...) Expand 10 before | Expand all | Expand 10 after
1277 <g id="more-vert"><path d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"></path></g> 1277 <g id="more-vert"><path d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"></path></g>
1278 <g id="person"><path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1. 79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"></path></g> 1278 <g id="person"><path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1. 79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"></path></g>
1279 <g id="print"><path d="M19 8H5c-1.66 0-3 1.34-3 3v6h4v4h12v-4h4v-6c0-1.66- 1.34-3-3-3zm-3 11H8v-5h8v5zm3-7c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm -1-9H6v4h12V3z"></path></g> 1279 <g id="print"><path d="M19 8H5c-1.66 0-3 1.34-3 3v6h4v4h12v-4h4v-6c0-1.66- 1.34-3-3-3zm-3 11H8v-5h8v5zm3-7c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm -1-9H6v4h12V3z"></path></g>
1280 <g id="search"><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27 .28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"></path></g> 1280 <g id="search"><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27 .28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"></path></g>
1281 <g id="settings"><path d="M19.43 12.98c.04-.32.07-.64.07-.98s-.03-.66-.07- .98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46c-.12-.22-.39-.3-.61-.22l-2.49 1c-.52 -.4-1.08-.73-1.69-.98l-.38-2.65C14.46 2.18 14.25 2 14 2h-4c-.25 0-.46.18-.49.42l -.38 2.65c-.61.25-1.17.59-1.69.98l-2.49-1c-.23-.09-.49 0-.61.22l-2 3.46c-.13.22- .07.49.12.64l2.11 1.65c-.04.32-.07.65-.07.98s.03.66.07.98l-2.11 1.65c-.19.15-.24 .42-.12.64l2 3.46c.12.22.39.3.61.22l2.49-1c.52.4 1.08.73 1.69.98l.38 2.65c.03.24 .24.42.49.42h4c.25 0 .46-.18.49-.42l.38-2.65c.61-.25 1.17-.59 1.69-.98l2.49 1c.2 3.09.49 0 .61-.22l2-3.46c.12-.22.07-.49-.12-.64l-2.11-1.65zM12 15.5c-1.93 0-3.5- 1.57-3.5-3.5s1.57-3.5 3.5-3.5 3.5 1.57 3.5 3.5-1.57 3.5-3.5 3.5z"></path></g> 1281 <g id="settings"><path d="M19.43 12.98c.04-.32.07-.64.07-.98s-.03-.66-.07- .98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46c-.12-.22-.39-.3-.61-.22l-2.49 1c-.52 -.4-1.08-.73-1.69-.98l-.38-2.65C14.46 2.18 14.25 2 14 2h-4c-.25 0-.46.18-.49.42l -.38 2.65c-.61.25-1.17.59-1.69.98l-2.49-1c-.23-.09-.49 0-.61.22l-2 3.46c-.13.22- .07.49.12.64l2.11 1.65c-.04.32-.07.65-.07.98s.03.66.07.98l-2.11 1.65c-.19.15-.24 .42-.12.64l2 3.46c.12.22.39.3.61.22l2.49-1c.52.4 1.08.73 1.69.98l.38 2.65c.03.24 .24.42.49.42h4c.25 0 .46-.18.49-.42l.38-2.65c.61-.25 1.17-.59 1.69-.98l2.49 1c.2 3.09.49 0 .61-.22l2-3.46c.12-.22.07-.49-.12-.64l-2.11-1.65zM12 15.5c-1.93 0-3.5- 1.57-3.5-3.5s1.57-3.5 3.5-3.5 3.5 1.57 3.5 3.5-1.57 3.5-3.5 3.5z"></path></g>
1282 <g id="star"><path d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"></path></g> 1282 <g id="star"><path d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"></path></g>
1283 <g id="warning"><path d="M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4 z"></path></g> 1283 <g id="warning"><path d="M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4 z"></path></g>
1284 </defs> 1284 </defs>
1285 </svg> 1285 </svg>
1286 </iron-iconset-svg> 1286 </iron-iconset-svg>
1287
1288
1289 <dom-module id="iron-a11y-announcer" assetpath="chrome://resources/polymer/v1_0/ iron-a11y-announcer/" css-build="shadow"> 1287 <dom-module id="iron-a11y-announcer" assetpath="chrome://resources/polymer/v1_0/ iron-a11y-announcer/" css-build="shadow">
1290 <template> 1288 <template>
1291 <style scope="iron-a11y-announcer">:host { 1289 <style scope="iron-a11y-announcer">:host {
1292 display: inline-block; 1290 display: inline-block;
1293 position: fixed; 1291 position: fixed;
1294 clip: rect(0px,0px,0px,0px); 1292 clip: rect(0px,0px,0px,0px);
1295 } 1293 }
1296 1294
1297 </style> 1295 </style>
1298 <div aria-live$="[[mode]]">[[_text]]</div> 1296 <div aria-live$="[[mode]]">[[_text]]</div>
(...skipping 1912 matching lines...) Expand 10 before | Expand all | Expand 10 after
3211 <cr-toolbar id="main-toolbar" page-name="$i18n{title}" clear-label="$i18n{ clearSearch}" search-prompt="$i18n{searchPrompt}" hidden$="[[itemsSelected_]]" s pinner-active="[[spinnerActive]]" show-menu="[[hasDrawer]]" menu-label="$i18n{hi storyMenuButton}" on-search-changed="onSearchChanged_"> 3209 <cr-toolbar id="main-toolbar" page-name="$i18n{title}" clear-label="$i18n{ clearSearch}" search-prompt="$i18n{searchPrompt}" hidden$="[[itemsSelected_]]" s pinner-active="[[spinnerActive]]" show-menu="[[hasDrawer]]" menu-label="$i18n{hi storyMenuButton}" on-search-changed="onSearchChanged_">
3212 <div class="more-actions"> 3210 <div class="more-actions">
3213 <template is="dom-if" if="[[showSyncNotice]]"> 3211 <template is="dom-if" if="[[showSyncNotice]]">
3214 <button is="paper-icon-button-light" id="info-button" on-tap="onInfo ButtonTap_" aria-label="$i18n{hasSyncedResultsDescription}"> 3212 <button is="paper-icon-button-light" id="info-button" on-tap="onInfo ButtonTap_" aria-label="$i18n{hasSyncedResultsDescription}">
3215 <iron-icon icon="history:info-outline" id="info-button-icon"> 3213 <iron-icon icon="history:info-outline" id="info-button-icon">
3216 </iron-icon> 3214 </iron-icon>
3217 </button> 3215 </button>
3218 </template> 3216 </template>
3219 </div> 3217 </div>
3220 </cr-toolbar> 3218 </cr-toolbar>
3221 <template is="history-lazy-render" id="syncNotice"> 3219 <template is="cr-lazy-render" id="syncNotice">
3222 <iron-dropdown vertical-align="top" horizontal-align="right" allow-outsi de-scroll=""> 3220 <iron-dropdown vertical-align="top" horizontal-align="right" allow-outsi de-scroll="">
3223 <div class="dropdown-content"> 3221 <div class="dropdown-content">
3224 $i18nRaw{hasSyncedResults} 3222 $i18nRaw{hasSyncedResults}
3225 </div> 3223 </div>
3226 </iron-dropdown> 3224 </iron-dropdown>
3227 </template> 3225 </template>
3228 <template is="dom-if" if="[[itemsSelected_]]"> 3226 <template is="dom-if" if="[[itemsSelected_]]">
3229 <div id="overlay-wrapper" hidden$="[[!itemsSelected_]]"> 3227 <div id="overlay-wrapper" hidden$="[[!itemsSelected_]]">
3230 <div id="overlay-buttons"> 3228 <div id="overlay-buttons">
3231 <paper-icon-button icon="cr:clear" id="cancel-icon-button" on-tap="o nClearSelectionTap_" title="$i18n{cancel}"> 3229 <paper-icon-button icon="cr:clear" id="cancel-icon-button" on-tap="o nClearSelectionTap_" title="$i18n{cancel}">
(...skipping 1159 matching lines...) Expand 10 before | Expand all | Expand 10 after
4391 4389
4392 </style> 4390 </style>
4393 <iron-pages id="content" attr-for-selected="id" selected="[[selectedPage_]]" > 4391 <iron-pages id="content" attr-for-selected="id" selected="[[selectedPage_]]" >
4394 <history-list id="infinite-list" querying="[[queryState.querying]]" search ed-term="[[queryResult.info.term]]"></history-list> 4392 <history-list id="infinite-list" querying="[[queryState.querying]]" search ed-term="[[queryResult.info.term]]"></history-list>
4395 <template is="dom-if" if="[[grouped]]"> 4393 <template is="dom-if" if="[[grouped]]">
4396 <history-grouped-list id="grouped-list" range="[[groupedRange]]" query-s tart-time="[[queryResult.info.queryStartTime]]" query-end-time="[[queryResult.in fo.queryEndTime]]" searched-term="[[queryResult.info.term]]"> 4394 <history-grouped-list id="grouped-list" range="[[groupedRange]]" query-s tart-time="[[queryResult.info.queryStartTime]]" query-end-time="[[queryResult.in fo.queryEndTime]]" searched-term="[[queryResult.info.term]]">
4397 </history-grouped-list> 4395 </history-grouped-list>
4398 </template> 4396 </template>
4399 </iron-pages> 4397 </iron-pages>
4400 4398
4401 <template is="history-lazy-render" id="dialog"> 4399 <template is="cr-lazy-render" id="dialog">
4402 <dialog is="cr-dialog"> 4400 <dialog is="cr-dialog">
4403 <div class="title">$i18n{removeSelected}</div> 4401 <div class="title">$i18n{removeSelected}</div>
4404 <div class="body">$i18n{deleteWarning}</div> 4402 <div class="body">$i18n{deleteWarning}</div>
4405 <div class="button-container"> 4403 <div class="button-container">
4406 <paper-button class="cancel-button" on-tap="onDialogCancelTap_"> 4404 <paper-button class="cancel-button" on-tap="onDialogCancelTap_">
4407 $i18n{cancel} 4405 $i18n{cancel}
4408 </paper-button> 4406 </paper-button>
4409 <paper-button class="action-button" on-tap="onDialogConfirmTap_" autof ocus=""> 4407 <paper-button class="action-button" on-tap="onDialogConfirmTap_" autof ocus="">
4410 $i18n{deleteConfirm} 4408 $i18n{deleteConfirm}
4411 </paper-button> 4409 </paper-button>
4412 </div> 4410 </div>
4413 </dialog> 4411 </dialog>
4414 </template> 4412 </template>
4415 4413
4416 <template is="history-lazy-render" id="sharedMenu"> 4414 <template is="cr-lazy-render" id="sharedMenu">
4417 <cr-shared-menu> 4415 <cr-shared-menu>
4418 <paper-item id="menuMoreButton" class="menu-item" on-tap="onMoreFromSite Tap_"> 4416 <paper-item id="menuMoreButton" class="menu-item" on-tap="onMoreFromSite Tap_">
4419 $i18n{moreFromSite} 4417 $i18n{moreFromSite}
4420 </paper-item> 4418 </paper-item>
4421 <paper-item id="menuRemoveButton" class="menu-item" on-tap="onRemoveFrom HistoryTap_"> 4419 <paper-item id="menuRemoveButton" class="menu-item" on-tap="onRemoveFrom HistoryTap_">
4422 $i18n{removeFromHistory} 4420 $i18n{removeFromHistory}
4423 </paper-item> 4421 </paper-item>
4424 </cr-shared-menu> 4422 </cr-shared-menu>
4425 </template> 4423 </template>
4426 </template> 4424 </template>
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
4791 </div> 4789 </div>
4792 <div id="sign-in-guide" hidden="[[!showSignInGuide(signInState, guestSession _)]]"> 4790 <div id="sign-in-guide" hidden="[[!showSignInGuide(signInState, guestSession _)]]">
4793 <div id="illustration"></div> 4791 <div id="illustration"></div>
4794 <div id="sign-in-promo">$i18n{signInPromo}</div> 4792 <div id="sign-in-promo">$i18n{signInPromo}</div>
4795 <div id="sign-in-promo-desc">$i18n{signInPromoDesc}</div> 4793 <div id="sign-in-promo-desc">$i18n{signInPromoDesc}</div>
4796 <paper-button id="sign-in-button" class="action-button" on-tap="onSignInTa p_"> 4794 <paper-button id="sign-in-button" class="action-button" on-tap="onSignInTa p_">
4797 $i18n{signInButton} 4795 $i18n{signInButton}
4798 </paper-button> 4796 </paper-button>
4799 </div> 4797 </div>
4800 4798
4801 <template is="history-lazy-render" id="menu"> 4799 <template is="cr-lazy-render" id="menu">
4802 <cr-shared-menu> 4800 <cr-shared-menu>
4803 <paper-item id="menuOpenButton" class="menu-item" on-tap="onOpenAllTap_" > 4801 <paper-item id="menuOpenButton" class="menu-item" on-tap="onOpenAllTap_" >
4804 $i18n{openAll} 4802 $i18n{openAll}
4805 </paper-item> 4803 </paper-item>
4806 <paper-item id="menuDeleteButton" class="menu-item" on-tap="onDeleteSess ionTap_"> 4804 <paper-item id="menuDeleteButton" class="menu-item" on-tap="onDeleteSess ionTap_">
4807 $i18n{deleteSession} 4805 $i18n{deleteSession}
4808 </paper-item> 4806 </paper-item>
4809 </cr-shared-menu> 4807 </cr-shared-menu>
4810 </template> 4808 </template>
4811 </template> 4809 </template>
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after
5147 <history-side-bar id="drawer-side-bar" selected-page="[[selectedPage_]]" route="[[route_]]" show-footer="[[showSidebarFooter]]" drawer=""> 5145 <history-side-bar id="drawer-side-bar" selected-page="[[selectedPage_]]" route="[[route_]]" show-footer="[[showSidebarFooter]]" drawer="">
5148 </history-side-bar> 5146 </history-side-bar>
5149 </app-drawer> 5147 </app-drawer>
5150 </template> 5148 </template>
5151 5149
5152 <iron-media-query query="(max-width: 1023px)" query-matches="{{hasDrawer_}}" > 5150 <iron-media-query query="(max-width: 1023px)" query-matches="{{hasDrawer_}}" >
5153 </iron-media-query> 5151 </iron-media-query>
5154 </template> 5152 </template>
5155 </dom-module> 5153 </dom-module>
5156 <script src="app.crisper.js"></script></body></html> 5154 <script src="app.crisper.js"></script></body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698