Index: ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.js |
diff --git a/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.js b/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.js |
index 69f7d8efea827e83b99f64137e49376f762c4da0..39cc09b506fa76fc2b0f8a908d7024891a15ec6f 100644 |
--- a/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.js |
+++ b/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.js |
@@ -90,5 +90,13 @@ Polymer({ |
hideSearch_: function(e) { |
this.showingSearch = false; |
e.stopPropagation(); |
+ }, |
+ |
+ /** |
+ * Return if the search field is showing or not. |
+ * @return {boolean} |
+ */ |
+ showingSearchStatus: function() { |
Dan Beam
2016/07/15 03:07:41
why is this needed if this.showingSearch is alread
lshang
2016/07/15 05:02:09
Done. Deleted.
|
+ return this.showingSearch; |
} |
}); |