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

Unified Diff: chrome/browser/resources/md_history/app.html

Issue 2084843002: [MD History] Add history-list-container between app and history lists. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@tim_toolbar
Patch Set: rebase Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/browser_resources.grd ('k') | chrome/browser/resources/md_history/app.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/md_history/app.html
diff --git a/chrome/browser/resources/md_history/app.html b/chrome/browser/resources/md_history/app.html
index f10f9d462fe3e951476d2db69f0b2f46a1f79ffe..00d0badf91542ef84b425036fac4852ce6bb9e48 100644
--- a/chrome/browser/resources/md_history/app.html
+++ b/chrome/browser/resources/md_history/app.html
@@ -1,15 +1,13 @@
<link rel="import" href="chrome://resources/html/polymer.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-pages/iron-pages.html">
-<link rel="import" href="chrome://history/grouped_list.html">
-<link rel="import" href="chrome://history/history_list.html">
<link rel="import" href="chrome://history/history_toolbar.html">
+<link rel="import" href="chrome://history/list_container.html">
<link rel="import" href="chrome://history/synced_device_manager.html">
<link rel="import" href="chrome://history/side_bar.html">
<link rel="import" href="chrome://history/shared_style.html">
<link rel="stylesheet" href="chrome://resources/css/md_colors.css">
<dom-module id="history-app">
- <!-- TODO(calamity): work around this deprecated import style -->
<template>
<style no-process>
history-toolbar {
@@ -51,20 +49,12 @@
<div id="main-container">
<iron-pages id="content" attr-for-selected="id"
- selected="[[getSelectedPage(selectedPage_, queryState_.range)]]">
- <history-list id="history-list" querying="[[queryState_.querying]]"
- searched-term="[[queryState_.info.term]]"></history-list>
- <template is="dom-if" if="[[grouped_]]">
- <history-grouped-list id="history-grouped-list"
- range="[[queryState_.range]]"
- query-start-time="[[queryState_.info.queryStartTime]]"
- query-end-time="[[queryState_.info.queryEndTime]]"
- searched-term="[[queryState_.info.term]]">
- </history-grouped-list>
- </template>
+ selected="[[selectedPage_]]">
+ <history-list-container id="history" query-state="[[queryState_]]"
+ grouped="[[grouped_]]"></history-list-container>
<template is="dom-if" if="[[syncedTabsSelected_(selectedPage_)]]">
- <history-synced-device-manager id="history-synced-device-manager"
- session-list="[[queryState_.sessionList]]"
+ <history-synced-device-manager id="synced-devices"
+ session-list="[[sessionList]]"
searched-term=[[queryState_.info.term]]>
</history-synced-device-manager>
</template>
« no previous file with comments | « chrome/browser/browser_resources.grd ('k') | chrome/browser/resources/md_history/app.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698