diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-06 23:01:58 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-06 23:01:58 +0000 |
commit | c588b7ffe21fffd49328a2b44edf903a8af843f3 (patch) | |
tree | adbda99f1d54d28db340a176f2988318bba1e418 /chrome/browser/instant | |
parent | b53ab229bdba6cd50585c8fcaad011998b02f82c (diff) | |
download | chromium_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.h | 6 |
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(); |