Commit c4ab400c authored by Becca Hughes's avatar Becca Hughes Committed by Commit Bot

Hide the search bar in Kaleidoscope

We don't have search available for now.

Change-Id: I7c363ead61f46af56c03d7f73f1f25e436517d09
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2339283Reviewed-by: default avatarTommy Steimel <steimel@chromium.org>
Reviewed-by: default avatarEsmael Elmoslimany <aee@chromium.org>
Commit-Queue: Becca Hughes <beccahughes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#795199}
parent eb00d8dd
file://chrome/browser/media/kaleidoscope/OWNERS
# COMPONENT: Internals>Media>UI>Kaleidoscope
...@@ -8,4 +8,4 @@ ...@@ -8,4 +8,4 @@
z-index: 1; z-index: 1;
} }
</style> </style>
<cr-toolbar id="toolbar" show-menu></cr-toolbar> <cr-toolbar id="toolbar" show-menu show-search="[[showSearch]]"></cr-toolbar>
...@@ -14,6 +14,13 @@ class KaleidoscopeToolbarElement extends PolymerElement { ...@@ -14,6 +14,13 @@ class KaleidoscopeToolbarElement extends PolymerElement {
static get template() { static get template() {
return html`{__html_template__}`; return html`{__html_template__}`;
} }
static get properties() {
return {
// Controls whether the search field is shown.
showSearch: {type: Boolean, value: false},
};
}
} }
customElements.define( customElements.define(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment