| Index: chrome/browser/ui/browser_instant_controller.h
|
| diff --git a/chrome/browser/ui/browser_instant_controller.h b/chrome/browser/ui/browser_instant_controller.h
|
| index 0d99aaab1aa6c9256552044bdbcc1b7d1f82a4c1..8ddcb483fe8b25ff069011169bb534247fbec190 100644
|
| --- a/chrome/browser/ui/browser_instant_controller.h
|
| +++ b/chrome/browser/ui/browser_instant_controller.h
|
| @@ -55,9 +55,8 @@ class BrowserInstantController : public SearchModelObserver {
|
| // this BrowserInstantController.
|
| InstantController* instant() { return &instant_; }
|
|
|
| - // Invoked by |instant_| to give the omnibox focus, with the option of making
|
| - // the caret invisible.
|
| - void FocusOmnibox(bool caret_visibility);
|
| + // Invoked by |instant_| to change the omnibox focus.
|
| + void FocusOmnibox(OmniboxFocusState state);
|
|
|
| // Invoked by |instant_| to get the currently active tab.
|
| content::WebContents* GetActiveWebContents() const;
|
| @@ -73,6 +72,11 @@ class BrowserInstantController : public SearchModelObserver {
|
| content::PageTransition transition,
|
| WindowOpenDisposition disposition);
|
|
|
| + // Invoked by |instant_| to paste the |text| (or clipboard content if text is
|
| + // empty) into the omnibox. It will set focus to the omnibox if the omnibox is
|
| + // not focused.
|
| + void PasteIntoOmnibox(const string16& text);
|
| +
|
| // Sets the stored omnibox bounds.
|
| void SetOmniboxBounds(const gfx::Rect& bounds);
|
|
|
|
|