diff options
author | melevin@chromium.org <melevin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-14 01:11:04 +0000 |
---|---|---|
committer | melevin@chromium.org <melevin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-14 01:11:04 +0000 |
commit | ec4aad544c94b17ad2a01537e5bbbec5cd4d13d4 (patch) | |
tree | 95bc5a69c4627ec014856268fbc077f56a3472d2 /chrome/browser/ui/browser_instant_controller.h | |
parent | e34dc5abef02c60b672ba0fae814233682bbbd01 (diff) | |
download | chromium_src-ec4aad544c94b17ad2a01537e5bbbec5cd4d13d4.zip chromium_src-ec4aad544c94b17ad2a01537e5bbbec5cd4d13d4.tar.gz chromium_src-ec4aad544c94b17ad2a01537e5bbbec5cd4d13d4.tar.bz2 |
Implement the Instant extended API startMargin, endMargin, and rtl properties and the onmarginchange event for Views only.
BUG=153403
Review URL: https://chromiumcodereview.appspot.com/11359198
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173028 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 e66ff5f..401cfbd 100644 --- a/chrome/browser/ui/browser_instant_controller.h +++ b/chrome/browser/ui/browser_instant_controller.h @@ -87,6 +87,9 @@ class BrowserInstantController : public content::NotificationObserver, // Invoked by the InstantController when it wants to open a URL. void OpenURLInCurrentTab(const GURL& url, content::PageTransition transition); + // Sets the start and end margins of the omnibox text area. + void SetMarginSize(int start, int end); + private: // Sets the value of |instant_| based on value from profile. Invoked // on pref change. |