Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(765)

Unified Diff: chrome/browser/instant/instant_controller.h

Issue 5588004: [gtk] Add fade-commit to instant suggestion for predictive instant. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review comments Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/instant/instant_controller.h
diff --git a/chrome/browser/instant/instant_controller.h b/chrome/browser/instant/instant_controller.h
index eeebb077d593962c96f3ccc948e2187cf6dfd95e..09951da33db795fe3aef40c9227900ae2e629758 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();
« no previous file with comments | « chrome/browser/autocomplete/autocomplete_edit_view_gtk.cc ('k') | chrome/browser/ui/views/location_bar/suggested_text_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698