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

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

Issue 4932001: Makes the current page dim out when transitioning to instant preview. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup Created 10 years, 1 month 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
« no previous file with comments | « chrome/browser/instant/instant_controller.cc ('k') | chrome/browser/ui/browser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/instant/instant_delegate.h
diff --git a/chrome/browser/instant/instant_delegate.h b/chrome/browser/instant/instant_delegate.h
index a5c922359c7c210f67a3bbb840519286381712d4..90f58a2cf6925c8bc983e6ac2da455d8b8e53ac0 100644
--- a/chrome/browser/instant/instant_delegate.h
+++ b/chrome/browser/instant/instant_delegate.h
@@ -18,6 +18,11 @@ class Rect;
// InstantController for details.
class InstantDelegate {
public:
+ // Invoked when instant starts loading, but before the preview tab contents is
+ // ready to be shown. This may be used to animate between the states.
+ // This is followed by ShowInstant and/or HideInstant.
+ virtual void PrepareForInstant() = 0;
+
// Invoked when the instant TabContents should be shown.
virtual void ShowInstant(TabContents* preview_contents) = 0;
« no previous file with comments | « chrome/browser/instant/instant_controller.cc ('k') | chrome/browser/ui/browser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698