Index: chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/contextualsearch/ContextualSearchPanelHost.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/contextualsearch/ContextualSearchPanelHost.java b/chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/contextualsearch/ContextualSearchPanelHost.java |
new file mode 100644 |
index 0000000000000000000000000000000000000000..26b8cf4936cf09cbd30bc3af4e207926790072d8 |
--- /dev/null |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/contextualsearch/ContextualSearchPanelHost.java |
@@ -0,0 +1,16 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+package org.chromium.chrome.browser.compositor.bottombar.contextualsearch; |
+ |
+/** |
+ * Interface that allows {@link ContextualSearchPanel} to communicate with its host Layout. |
+ */ |
+public interface ContextualSearchPanelHost { |
+ /** |
+ * Hides the Contextual Search Supported Layout. |
+ * @param immediately Whether it should be hidden immediately. |
+ */ |
+ void hideLayout(boolean immediately); |
+} |