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

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

Issue 2238163002: [MD History] Add UMA stats for switching views and the CBD button. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@start_focus_in_search_bar
Patch Set: rebase, vulcanize Created 4 years, 4 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 3594 matching lines...) Expand 10 before | Expand all | Expand 10 after
3605 height: 100%; 3605 height: 100%;
3606 } 3606 }
3607 3607
3608 dialog .body { 3608 dialog .body {
3609 white-space: pre-wrap; 3609 white-space: pre-wrap;
3610 } 3610 }
3611 </style> 3611 </style>
3612 <iron-pages id="content" attr-for-selected="id" selected="[[selectedPage_]]" > 3612 <iron-pages id="content" attr-for-selected="id" selected="[[selectedPage_]]" >
3613 <history-list id="infinite-list" querying="[[queryState.querying]]" search ed-term="[[queryResult.info.term]]"></history-list> 3613 <history-list id="infinite-list" querying="[[queryState.querying]]" search ed-term="[[queryResult.info.term]]"></history-list>
3614 <template is="dom-if" if="[[grouped]]"> 3614 <template is="dom-if" if="[[grouped]]">
3615 <history-grouped-list id="grouped-list" range="[[queryState.range]]" que ry-start-time="[[queryResult.info.queryStartTime]]" query-end-time="[[queryResul t.info.queryEndTime]]" searched-term="[[queryResult.info.term]]"> 3615 <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]]">
3616 </history-grouped-list> 3616 </history-grouped-list>
3617 </template> 3617 </template>
3618 </iron-pages> 3618 </iron-pages>
3619 3619
3620 <template is="history-lazy-render" id="dialog"> 3620 <template is="history-lazy-render" id="dialog">
3621 <dialog is="cr-dialog"> 3621 <dialog is="cr-dialog">
3622 <div class="title">$i18n{removeSelected}</div> 3622 <div class="title">$i18n{removeSelected}</div>
3623 <div class="body">$i18n{deleteWarning}</div> 3623 <div class="body">$i18n{deleteWarning}</div>
3624 <div class="button-container"> 3624 <div class="button-container">
3625 <paper-button class="cancel-button" on-tap="onDialogCancelTap_"> 3625 <paper-button class="cancel-button" on-tap="onDialogCancelTap_">
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
3788 #synced-device-list { 3788 #synced-device-list {
3789 padding-top: var(--first-card-padding-top); 3789 padding-top: var(--first-card-padding-top);
3790 } 3790 }
3791 </style> 3791 </style>
3792 <div id="synced-device-list" hidden="[[!syncedDevices_.length]]"> 3792 <div id="synced-device-list" hidden="[[!syncedDevices_.length]]">
3793 <template is="dom-repeat" items="[[syncedDevices_]]" as="syncedDevice"> 3793 <template is="dom-repeat" items="[[syncedDevices_]]" as="syncedDevice">
3794 <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]]"> 3794 <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]]">
3795 </history-synced-device-card> 3795 </history-synced-device-card>
3796 </template> 3796 </template>
3797 </div> 3797 </div>
3798 <div id="no-synced-tabs" class="centered-message" hidden="[[!showNoSyncedMes sage(signInState_, syncedDevices_.length, 3798 <div id="no-synced-tabs" class="centered-message" hidden="[[!showNoSyncedMes sage(signInState, syncedDevices_.length,
3799 guestSession_)]]"> 3799 guestSession_)]]">
3800 [[noSyncedTabsMessage(fetchingSyncedTabs_)]] 3800 [[noSyncedTabsMessage(fetchingSyncedTabs_)]]
3801 </div> 3801 </div>
3802 <div id="sign-in-guide" hidden="[[!showSignInGuide(signInState_, guestSessio n_)]]"> 3802 <div id="sign-in-guide" hidden="[[!showSignInGuide(signInState, guestSession _)]]">
3803 <div id="illustration"></div> 3803 <div id="illustration"></div>
3804 <div id="sign-in-promo">$i18n{signInPromo}</div> 3804 <div id="sign-in-promo">$i18n{signInPromo}</div>
3805 <div id="sign-in-promo-desc">$i18n{signInPromoDesc}</div> 3805 <div id="sign-in-promo-desc">$i18n{signInPromoDesc}</div>
3806 <paper-button id="sign-in-button" on-tap="onSignInTap_"> 3806 <paper-button id="sign-in-button" on-tap="onSignInTap_">
3807 $i18n{signInButton} 3807 $i18n{signInButton}
3808 </paper-button> 3808 </paper-button>
3809 </div> 3809 </div>
3810 3810
3811 <template is="history-lazy-render" id="menu"> 3811 <template is="history-lazy-render" id="menu">
3812 <cr-shared-menu> 3812 <cr-shared-menu>
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
3885 line-height: 20px; 3885 line-height: 20px;
3886 margin: 24px 0; 3886 margin: 24px 0;
3887 } 3887 }
3888 3888
3889 #footer a { 3889 #footer a {
3890 color: var(--google-blue-700); 3890 color: var(--google-blue-700);
3891 text-decoration: none; 3891 text-decoration: none;
3892 } 3892 }
3893 </style> 3893 </style>
3894 3894
3895 <iron-selector id="menu" selected="{{selectedPage}}" selectable=".page-item" attr-for-selected="path" fallback-selection="history" on-iron-activate="onSelec torActivate_"> 3895 <iron-selector id="menu" selected="[[selectedPage]]" selectable=".page-item" attr-for-selected="path" fallback-selection="history" on-iron-activate="onSelec torActivate_">
3896 <a href="/[[getQueryString_(route)]]" class="page-item" path="history"> 3896 <a href="/[[getQueryString_(route)]]" class="page-item" path="history">
3897 $i18n{historyMenuItem} 3897 $i18n{historyMenuItem}
3898 <paper-ripple></paper-ripple> 3898 <paper-ripple></paper-ripple>
3899 </a> 3899 </a>
3900 <a href="/syncedTabs[[getQueryString_(route)]]" class="page-item" path="sy ncedTabs"> 3900 <a href="/syncedTabs[[getQueryString_(route)]]" class="page-item" path="sy ncedTabs">
3901 $i18n{openTabsMenuItem} 3901 $i18n{openTabsMenuItem}
3902 <paper-ripple></paper-ripple> 3902 <paper-ripple></paper-ripple>
3903 </a> 3903 </a>
3904 <div class="separator"></div> 3904 <div class="separator"></div>
3905 <a href="chrome://settings/clearBrowserData" on-tap="onClearBrowsingDataTa p_" id="clear-browsing-data"> 3905 <a href="chrome://settings/clearBrowserData" on-tap="onClearBrowsingDataTa p_" id="clear-browsing-data">
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
3966 </app-route> 3966 </app-route>
3967 <history-toolbar id="toolbar" spinner-active="[[shouldShowSpinner_(queryStat e_.querying, 3967 <history-toolbar id="toolbar" spinner-active="[[shouldShowSpinner_(queryStat e_.querying,
3968 queryState_.incremental, 3968 queryState_.incremental,
3969 queryState_.searchTerm)]]" is-group ed-mode="{{grouped_}}" grouped-range="{{queryState_.range}}" search-term="{{quer yState_.searchTerm}}" query-start-time="[[queryResult_.info.queryStartTime]]" qu ery-end-time="[[queryResult_.info.queryEndTime]]" has-drawer="[[hasDrawer]]"> 3969 queryState_.searchTerm)]]" is-group ed-mode="{{grouped_}}" grouped-range="{{queryState_.range}}" search-term="{{quer yState_.searchTerm}}" query-start-time="[[queryResult_.info.queryStartTime]]" qu ery-end-time="[[queryResult_.info.queryEndTime]]" has-drawer="[[hasDrawer]]">
3970 </history-toolbar> 3970 </history-toolbar>
3971 3971
3972 <div id="main-container"> 3972 <div id="main-container">
3973 <history-side-bar id="content-side-bar" selected-page="[[selectedPage_]]" route="[[route_]]" show-footer="[[showSidebarFooter]]" hidden$="[[hasDrawer]]"> 3973 <history-side-bar id="content-side-bar" selected-page="[[selectedPage_]]" route="[[route_]]" show-footer="[[showSidebarFooter]]" hidden$="[[hasDrawer]]">
3974 </history-side-bar> 3974 </history-side-bar>
3975 <iron-pages id="content" attr-for-selected="path" fallback-selection="hist ory" selected="[[getSelectedPage_(selectedPage_, items)]]" items="{{items}}"> 3975 <iron-pages id="content" attr-for-selected="path" fallback-selection="hist ory" selected="[[getSelectedPage_(selectedPage_, items)]]" items="{{items}}">
3976 <history-list-container id="history" query-state="{{queryState_}}" query -result="[[queryResult_]]" grouped="[[grouped_]]" path="history"> 3976 <history-list-container id="history" query-state="{{queryState_}}" query -result="[[queryResult_]]" grouped="[[grouped_]]" grouped-range="{{queryState_.r ange}}" path="history">
3977 </history-list-container> 3977 </history-list-container>
3978 <template is="dom-if" if="[[syncedTabsSelected_(selectedPage_)]]"> 3978 <template is="dom-if" if="[[syncedTabsSelected_(selectedPage_)]]">
3979 <history-synced-device-manager id="synced-devices" session-list="[[que ryResult_.sessionList]]" search-term="[[queryState_.searchTerm]]" path="syncedTa bs"> 3979 <history-synced-device-manager id="synced-devices" session-list="[[que ryResult_.sessionList]]" search-term="[[queryState_.searchTerm]]" path="syncedTa bs">
3980 </history-synced-device-manager> 3980 </history-synced-device-manager>
3981 </template> 3981 </template>
3982 </iron-pages> 3982 </iron-pages>
3983 </div> 3983 </div>
3984 3984
3985 <template is="dom-if" if="[[hasDrawer]]"> 3985 <template is="dom-if" if="[[hasDrawer]]">
3986 <app-drawer id="drawer" swipe-open="" align="start" tabindex="0"> 3986 <app-drawer id="drawer" swipe-open="" align="start" tabindex="0">
3987 <div id="drawer-header"> 3987 <div id="drawer-header">
3988 <h1>$i18n{title}</h1> 3988 <h1>$i18n{title}</h1>
3989 </div> 3989 </div>
3990 <history-side-bar id="drawer-side-bar" selected-page="[[selectedPage_]]" route="[[route_]]" show-footer="[[showSidebarFooter]]" drawer=""> 3990 <history-side-bar id="drawer-side-bar" selected-page="[[selectedPage_]]" route="[[route_]]" show-footer="[[showSidebarFooter]]" drawer="">
3991 </history-side-bar> 3991 </history-side-bar>
3992 </app-drawer> 3992 </app-drawer>
3993 </template> 3993 </template>
3994 3994
3995 <iron-media-query query="(max-width: 1023px)" query-matches="{{hasDrawer}}"> 3995 <iron-media-query query="(max-width: 1023px)" query-matches="{{hasDrawer}}">
3996 </iron-media-query> 3996 </iron-media-query>
3997 </template> 3997 </template>
3998 </dom-module> 3998 </dom-module>
3999 <script src="app.crisper.js"></script></body></html> 3999 <script src="app.crisper.js"></script></body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698