summaryrefslogtreecommitdiffstats
path: root/chrome/browser/instant
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-06 23:01:58 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-06 23:01:58 +0000
commitc588b7ffe21fffd49328a2b44edf903a8af843f3 (patch)
treeadbda99f1d54d28db340a176f2988318bba1e418 /chrome/browser/instant
parentb53ab229bdba6cd50585c8fcaad011998b02f82c (diff)
downloadchromium_src-c588b7ffe21fffd49328a2b44edf903a8af843f3.zip
chromium_src-c588b7ffe21fffd49328a2b44edf903a8af843f3.tar.gz
chromium_src-c588b7ffe21fffd49328a2b44edf903a8af843f3.tar.bz2
[gtk] Add fade-commit to instant suggestion for predictive instant.
BUG=65399 TEST=manual Review URL: http://codereview.chromium.org/5588004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68395 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/instant')
-rw-r--r--chrome/browser/instant/instant_controller.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/instant/instant_controller.h b/chrome/browser/instant/instant_controller.h
index eeebb07..09951da 100644
--- a/chrome/browser/instant/instant_controller.h
+++ b/chrome/browser/instant/instant_controller.h
@@ -60,6 +60,12 @@ class InstantController : public InstantLoaderDelegate {
LAST_TYPE = PREDICTIVE_NO_AUTO_COMPLETE_TYPE
};
+
+ // Amount of time to wait before starting the instant animation.
+ static const int kAutoCommitPauseTimeMS = 1000;
+ // Duration of the instant animation in which the colors change.
+ static const int kAutoCommitFadeInTimeMS = 300;
+
InstantController(Profile* profile, InstantDelegate* delegate);
~InstantController();