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

Side by Side Diff: chrome/browser/resources/md_history/list_container.html

Issue 2264983002: MD History: Lazily load element files which are not needed for first paint (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove flattenhtml, 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 <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/cr_elements/cr_dialog/cr_dialog.html ">
3 <link rel="import" href="chrome://resources/cr_elements/cr_lazy_render/cr_lazy_r ender.html"> 2 <link rel="import" href="chrome://resources/cr_elements/cr_lazy_render/cr_lazy_r ender.html">
4 <link rel="import" href="chrome://resources/cr_elements/cr_shared_menu/cr_shared _menu.html">
5 <link rel="import" href="chrome://resources/cr_elements/shared_style_css.html"> 3 <link rel="import" href="chrome://resources/cr_elements/shared_style_css.html">
6 <link rel="import" href="chrome://resources/polymer/v1_0/iron-pages/iron-pages.h tml"> 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-pages/iron-pages.h tml">
7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-item/paper-item.h tml">
8 <link rel="import" href="chrome://history/browser_service.html"> 5 <link rel="import" href="chrome://history/browser_service.html">
9 <link rel="import" href="chrome://history/grouped_list.html">
10 <link rel="import" href="chrome://history/history_list.html"> 6 <link rel="import" href="chrome://history/history_list.html">
11 <link rel="import" href="chrome://history/shared_style.html"> 7 <link rel="import" href="chrome://history/shared_style.html">
12 8
9 <!-- Lazy loaded: cr-dialog, cr-shared-menu, history-grouped-list, paper-button,
10 paper-item. -->
11
13 <dom-module id="history-list-container"> 12 <dom-module id="history-list-container">
14 <template> 13 <template>
15 <style include="shared-style cr-shared-style"> 14 <style include="shared-style cr-shared-style">
16 :host { 15 :host {
17 display: block; 16 display: block;
18 height: 100%; 17 height: 100%;
19 overflow: hidden; 18 overflow: hidden;
20 } 19 }
21 20
22 #content, 21 #content,
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 </paper-item> 65 </paper-item>
67 <paper-item id="menuRemoveButton" class="menu-item" 66 <paper-item id="menuRemoveButton" class="menu-item"
68 on-tap="onRemoveFromHistoryTap_"> 67 on-tap="onRemoveFromHistoryTap_">
69 $i18n{removeFromHistory} 68 $i18n{removeFromHistory}
70 </paper-item> 69 </paper-item>
71 </cr-shared-menu> 70 </cr-shared-menu>
72 </template> 71 </template>
73 </template> 72 </template>
74 <script src="chrome://history/list_container.js"></script> 73 <script src="chrome://history/list_container.js"></script>
75 </dom-module> 74 </dom-module>
OLDNEW
« no previous file with comments | « chrome/browser/resources/md_history/lazy_load.vulcanized.html ('k') | chrome/browser/resources/md_history/shared_style.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698