summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/UI.java
diff options
context:
space:
mode:
authorNarayan Kamath <narayan@google.com>2011-02-23 15:49:17 +0000
committerNarayan Kamath <narayan@google.com>2011-03-02 22:45:45 +0000
commit5119edd5744cfc6d3a8ed480a8853586c737bed4 (patch)
treeaa9f3f6382c047a010742324aa307b20b4f7270e /src/com/android/browser/UI.java
parent80aad8d851601d39f73214c198111ca49e25f654 (diff)
downloadpackages_apps_Browser-5119edd5744cfc6d3a8ed480a8853586c737bed4.zip
packages_apps_Browser-5119edd5744cfc6d3a8ed480a8853586c737bed4.tar.gz
packages_apps_Browser-5119edd5744cfc6d3a8ed480a8853586c737bed4.tar.bz2
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
Diffstat (limited to 'src/com/android/browser/UI.java')
-rw-r--r--src/com/android/browser/UI.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/com/android/browser/UI.java b/src/com/android/browser/UI.java
index 34dcaee..bec7034 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);
}