From 5119edd5744cfc6d3a8ed480a8853586c737bed4 Mon Sep 17 00:00:00 2001 From: Narayan Kamath Date: Wed, 23 Feb 2011 15:49:17 +0000 Subject: Implement the psychic search engine. (a) Add a new subclass of SearchEngine that receives suggestions provided by psychic and displays them in the suggestions dropdown. (b) Add a Labs setting that can turn this feature on or off. Change-Id: Icae05b6b55f489278028e5af560d9b36014a0f59 --- src/com/android/browser/UI.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/com/android/browser/UI.java') diff --git a/src/com/android/browser/UI.java b/src/com/android/browser/UI.java index 34dcaeeda..bec7034c5 100644 --- a/src/com/android/browser/UI.java +++ b/src/com/android/browser/UI.java @@ -122,4 +122,9 @@ public interface UI { boolean dispatchKey(int code, KeyEvent event); + + public static interface DropdownChangeListener { + void onNewDropdownDimensions(int height); + } + void registerDropdownChangeListener(DropdownChangeListener d); } -- cgit v1.2.3