diff options
author | samarth@chromium.org <samarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-05 04:42:12 +0000 |
---|---|---|
committer | samarth@chromium.org <samarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-05 04:42:12 +0000 |
commit | c18cb67d0d9e18b15dd5a8903e93d91c6c63a484 (patch) | |
tree | f159e15f4412b7640155e00436c4943ea07511cb /chrome/browser/ui/browser_instant_controller.h | |
parent | a06b5b63d01fd6b84a3edc4b422af2d533261347 (diff) | |
download | chromium_src-c18cb67d0d9e18b15dd5a8903e93d91c6c63a484.zip chromium_src-c18cb67d0d9e18b15dd5a8903e93d91c6c63a484.tar.gz chromium_src-c18cb67d0d9e18b15dd5a8903e93d91c6c63a484.tar.bz2 |
Implement {Start,Stop}CapturingKeyStrokes for Instant.
Implement {Start,Stop}CapturingKeyStrokes for Instant by transferring
focus invisibly to the omnibox. This patch implements invisible focus for
Aura. Other platforms will follow.
BUG=
Review URL: https://chromiumcodereview.appspot.com/11369137
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171160 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/browser_instant_controller.h')
-rw-r--r-- | chrome/browser/ui/browser_instant_controller.h | 3 |
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 44d21e7..0cbaa8e 100644 --- a/chrome/browser/ui/browser_instant_controller.h +++ b/chrome/browser/ui/browser_instant_controller.h @@ -66,6 +66,9 @@ class BrowserInstantController : public content::NotificationObserver, // to the user clicking on it. void InstantPreviewFocused(); + // Invoked by |instant_| to give the omnibox focus invisibly. + void FocusOmniboxInvisibly(); + // Invoked by |instant_| to get the currently active tab, over which the // preview would be shown. content::WebContents* GetActiveWebContents() const; |