summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/browser_instant_controller.h
diff options
context:
space:
mode:
authormelevin@chromium.org <melevin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-14 03:18:07 +0000
committermelevin@chromium.org <melevin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-14 03:18:07 +0000
commit3d6a895ab78ba4fbd121e786163ff118aaf76e11 (patch)
tree48d7c57b18df08d75a3570e1a88b0836e17840c9 /chrome/browser/ui/browser_instant_controller.h
parent2bd87208406d93d11febd908a3ce950fda276309 (diff)
downloadchromium_src-3d6a895ab78ba4fbd121e786163ff118aaf76e11.zip
chromium_src-3d6a895ab78ba4fbd121e786163ff118aaf76e11.tar.gz
chromium_src-3d6a895ab78ba4fbd121e786163ff118aaf76e11.tar.bz2
Commit the Instant preview when a tab loses focus. See b/6367695.
Review URL: https://chromiumcodereview.appspot.com/11137027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173063 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/browser_instant_controller.h')
-rw-r--r--chrome/browser/ui/browser_instant_controller.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/ui/browser_instant_controller.h b/chrome/browser/ui/browser_instant_controller.h
index 401cfbd..570c334 100644
--- a/chrome/browser/ui/browser_instant_controller.h
+++ b/chrome/browser/ui/browser_instant_controller.h
@@ -76,6 +76,9 @@ class BrowserInstantController : public content::NotificationObserver,
// Invoked by |browser_| when the active tab changes.
void ActiveTabChanged();
+ // Invoked by |browser_| when the active tab is about to be deactivated.
+ void TabDeactivated(content::WebContents* contents);
+
// Invoked by |BrowserWindow| during layout to set content height which is
// used as theme area height, i.e. the height of the area that the entire
// theme background image should fill up.