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

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: fix_test 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 3632 matching lines...) Expand 10 before | Expand all | Expand 10 after
3643 height: 100%; 3643 height: 100%;
3644 } 3644 }
3645 3645
3646 dialog .body { 3646 dialog .body {
3647 white-space: pre-wrap; 3647 white-space: pre-wrap;
3648 } 3648 }
3649 </style> 3649 </style>
3650 <iron-pages id="content" attr-for-selected="id" selected="[[selectedPage_]]" > 3650 <iron-pages id="content" attr-for-selected="id" selected="[[selectedPage_]]" >
3651 <history-list id="infinite-list" querying="[[queryState.querying]]" search ed-term="[[queryResult.info.term]]"></history-list> 3651 <history-list id="infinite-list" querying="[[queryState.querying]]" search ed-term="[[queryResult.info.term]]"></history-list>
3652 <template is="dom-if" if="[[grouped]]"> 3652 <template is="dom-if" if="[[grouped]]">
3653 <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]]"> 3653 <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]]">
3654 </history-grouped-list> 3654 </history-grouped-list>
3655 </template> 3655 </template>
3656 </iron-pages> 3656 </iron-pages>
3657 3657
3658 <template is="history-lazy-render" id="dialog"> 3658 <template is="history-lazy-render" id="dialog">
3659 <dialog is="cr-dialog"> 3659 <dialog is="cr-dialog">
3660 <div class="title">$i18n{removeSelected}</div> 3660 <div class="title">$i18n{removeSelected}</div>
3661 <div class="body">$i18n{deleteWarning}</div> 3661 <div class="body">$i18n{deleteWarning}</div>
3662 <div class="button-container"> 3662 <div class="button-container">
3663 <paper-button class="cancel-button" on-tap="onDialogCancelTap_"> 3663 <paper-button class="cancel-button" on-tap="onDialogCancelTap_">
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
3823 #synced-device-list { 3823 #synced-device-list {
3824 padding-top: var(--first-card-padding-top); 3824 padding-top: var(--first-card-padding-top);
3825 } 3825 }
3826 </style> 3826 </style>
3827 <div id="synced-device-list" hidden="[[!syncedDevices_.length]]"> 3827 <div id="synced-device-list" hidden="[[!syncedDevices_.length]]">
3828 <template is="dom-repeat" items="[[syncedDevices_]]" as="syncedDevice"> 3828 <template is="dom-repeat" items="[[syncedDevices_]]" as="syncedDevice">
3829 <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}}"> 3829 <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}}">
3830 </history-synced-device-card> 3830 </history-synced-device-card>
3831 </template> 3831 </template>
3832 </div> 3832 </div>
3833 <div id="no-synced-tabs" class="centered-message" hidden="[[!showNoSyncedMes sage(signInState_, syncedDevices_.length, 3833 <div id="no-synced-tabs" class="centered-message" hidden="[[!showNoSyncedMes sage(signInState, syncedDevices_.length,
3834 guestSession_)]]"> 3834 guestSession_)]]">
3835 [[noSyncedTabsMessage(fetchingSyncedTabs_)]] 3835 [[noSyncedTabsMessage(fetchingSyncedTabs_)]]
3836 </div> 3836 </div>
3837 <div id="sign-in-guide" hidden="[[!showSignInGuide(signInState_, guestSessio n_)]]"> 3837 <div id="sign-in-guide" hidden="[[!showSignInGuide(signInState, guestSession _)]]">
3838 <div id="illustration"></div> 3838 <div id="illustration"></div>
3839 <div id="sign-in-promo">$i18n{signInPromo}</div> 3839 <div id="sign-in-promo">$i18n{signInPromo}</div>
3840 <div id="sign-in-promo-desc">$i18n{signInPromoDesc}</div> 3840 <div id="sign-in-promo-desc">$i18n{signInPromoDesc}</div>
3841 <paper-button id="sign-in-button" on-tap="onSignInTap_"> 3841 <paper-button id="sign-in-button" on-tap="onSignInTap_">
3842 $i18n{signInButton} 3842 $i18n{signInButton}
3843 </paper-button> 3843 </paper-button>
3844 </div> 3844 </div>
3845 3845
3846 <template is="history-lazy-render" id="menu"> 3846 <template is="history-lazy-render" id="menu">
3847 <cr-shared-menu> 3847 <cr-shared-menu>
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
3920 line-height: 20px; 3920 line-height: 20px;
3921 margin: 24px 0; 3921 margin: 24px 0;
3922 } 3922 }
3923 3923
3924 #footer a { 3924 #footer a {
3925 color: var(--google-blue-700); 3925 color: var(--google-blue-700);
3926 text-decoration: none; 3926 text-decoration: none;
3927 } 3927 }
3928 </style> 3928 </style>
3929 3929
3930 <iron-selector id="menu" selected="{{selectedPage}}" selectable=".page-item" attr-for-selected="path" fallback-selection="history" on-iron-activate="onSelec torActivate_"> 3930 <iron-selector id="menu" selected="[[selectedPage]]" selectable=".page-item" attr-for-selected="path" fallback-selection="history" on-iron-activate="onSelec torActivate_">
3931 <a href="/[[getQueryString_(route)]]" class="page-item" path="history"> 3931 <a href="/[[getQueryString_(route)]]" class="page-item" path="history">
3932 $i18n{historyMenuItem} 3932 $i18n{historyMenuItem}
3933 <paper-ripple></paper-ripple> 3933 <paper-ripple></paper-ripple>
3934 </a> 3934 </a>
3935 <a href="/syncedTabs[[getQueryString_(route)]]" class="page-item" path="sy ncedTabs"> 3935 <a href="/syncedTabs[[getQueryString_(route)]]" class="page-item" path="sy ncedTabs">
3936 $i18n{openTabsMenuItem} 3936 $i18n{openTabsMenuItem}
3937 <paper-ripple></paper-ripple> 3937 <paper-ripple></paper-ripple>
3938 </a> 3938 </a>
3939 <div class="separator"></div> 3939 <div class="separator"></div>
3940 <a href="chrome://settings/clearBrowserData" on-tap="onClearBrowsingDataTa p_" id="clear-browsing-data"> 3940 <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
4001 </app-route> 4001 </app-route>
4002 <history-toolbar id="toolbar" spinner-active="[[shouldShowSpinner_(queryStat e_.querying, 4002 <history-toolbar id="toolbar" spinner-active="[[shouldShowSpinner_(queryStat e_.querying,
4003 queryState_.incremental, 4003 queryState_.incremental,
4004 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_]]"> 4004 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_]]">
4005 </history-toolbar> 4005 </history-toolbar>
4006 4006
4007 <div id="main-container"> 4007 <div id="main-container">
4008 <history-side-bar id="content-side-bar" selected-page="[[selectedPage_]]" route="[[route_]]" show-footer="[[showSidebarFooter]]" hidden$="[[hasDrawer_]]"> 4008 <history-side-bar id="content-side-bar" selected-page="[[selectedPage_]]" route="[[route_]]" show-footer="[[showSidebarFooter]]" hidden$="[[hasDrawer_]]">
4009 </history-side-bar> 4009 </history-side-bar>
4010 <iron-pages id="content" attr-for-selected="path" fallback-selection="hist ory" selected="[[getSelectedPage_(selectedPage_, items)]]" items="{{items}}"> 4010 <iron-pages id="content" attr-for-selected="path" fallback-selection="hist ory" selected="[[getSelectedPage_(selectedPage_, items)]]" items="{{items}}">
4011 <history-list-container id="history" query-state="{{queryState_}}" query -result="[[queryResult_]]" grouped="[[grouped_]]" path="history"> 4011 <history-list-container id="history" query-state="{{queryState_}}" query -result="[[queryResult_]]" grouped="[[grouped_]]" grouped-range="{{queryState_.r ange}}" path="history">
4012 </history-list-container> 4012 </history-list-container>
4013 <template is="dom-if" if="[[syncedTabsSelected_(selectedPage_)]]"> 4013 <template is="dom-if" if="[[syncedTabsSelected_(selectedPage_)]]">
4014 <history-synced-device-manager id="synced-devices" session-list="[[que ryResult_.sessionList]]" search-term="[[queryState_.searchTerm]]" path="syncedTa bs"> 4014 <history-synced-device-manager id="synced-devices" session-list="[[que ryResult_.sessionList]]" search-term="[[queryState_.searchTerm]]" sign-in-state= "[[isUserSignedIn_]]" path="syncedTabs">
4015 </history-synced-device-manager> 4015 </history-synced-device-manager>
4016 </template> 4016 </template>
4017 </iron-pages> 4017 </iron-pages>
4018 </div> 4018 </div>
4019 4019
4020 <template is="dom-if" if="[[hasDrawer_]]"> 4020 <template is="dom-if" if="[[hasDrawer_]]">
4021 <app-drawer id="drawer" swipe-open="" align="start" tabindex="0"> 4021 <app-drawer id="drawer" swipe-open="" align="start" tabindex="0">
4022 <div id="drawer-header"> 4022 <div id="drawer-header">
4023 <h1>$i18n{title}</h1> 4023 <h1>$i18n{title}</h1>
4024 </div> 4024 </div>
4025 <history-side-bar id="drawer-side-bar" selected-page="[[selectedPage_]]" route="[[route_]]" show-footer="[[showSidebarFooter]]" drawer=""> 4025 <history-side-bar id="drawer-side-bar" selected-page="[[selectedPage_]]" route="[[route_]]" show-footer="[[showSidebarFooter]]" drawer="">
4026 </history-side-bar> 4026 </history-side-bar>
4027 </app-drawer> 4027 </app-drawer>
4028 </template> 4028 </template>
4029 4029
4030 <iron-media-query query="(max-width: 1023px)" query-matches="{{hasDrawer_}}" > 4030 <iron-media-query query="(max-width: 1023px)" query-matches="{{hasDrawer_}}" >
4031 </iron-media-query> 4031 </iron-media-query>
4032 </template> 4032 </template>
4033 </dom-module> 4033 </dom-module>
4034 <script src="app.crisper.js"></script></body></html> 4034 <script src="app.crisper.js"></script></body></html>
OLDNEW
« no previous file with comments | « chrome/browser/resources/md_history/app.crisper.js ('k') | chrome/browser/resources/md_history/browser_service.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698