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>2013-02-28 02:25:09 +0000
committermelevin@chromium.org <melevin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-28 02:25:09 +0000
commitfcde79a4e5a876c28d0157897fcf2632bd880d5a (patch)
tree5d9c66b62a9beb889bf5d82b4b41ddd44cd425b2 /chrome/browser/ui/browser_instant_controller.h
parentb018c3ce863fadbae1c18fb7851cef0b6e34d077 (diff)
downloadchromium_src-fcde79a4e5a876c28d0157897fcf2632bd880d5a.zip
chromium_src-fcde79a4e5a876c28d0157897fcf2632bd880d5a.tar.gz
chromium_src-fcde79a4e5a876c28d0157897fcf2632bd880d5a.tar.bz2
Change the SearchBox API from using the start/end margins of the location bar to using the start margin and width. This change is necessary to avoid accounting for the presence of the scrollbar in the search page JavaScript.
BUG=153403 Review URL: https://chromiumcodereview.appspot.com/12047107 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185115 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/browser_instant_controller.h')
-rw-r--r--chrome/browser/ui/browser_instant_controller.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/ui/browser_instant_controller.h b/chrome/browser/ui/browser_instant_controller.h
index 965fe43..80cfde0 100644
--- a/chrome/browser/ui/browser_instant_controller.h
+++ b/chrome/browser/ui/browser_instant_controller.h
@@ -109,8 +109,8 @@ class BrowserInstantController : public content::NotificationObserver,
content::PageTransition transition,
WindowOpenDisposition disposition);
- // Sets the start and end margins of the omnibox text area.
- void SetMarginSize(int start, int end);
+ // Sets the stored omnibox bounds.
+ void SetOmniboxBounds(const gfx::Rect& bounds);
private:
// Sets the value of |instant_| based on value from profile. Invoked