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..bae450065f9f2986a9e303fa3bf995761d9a0bd7 100644 |
--- a/chrome/browser/ui/browser_instant_controller.h |
+++ b/chrome/browser/ui/browser_instant_controller.h |
@@ -55,9 +55,9 @@ 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(const content::WebContents* contents, |
+ OmniboxFocusState state); |
// Invoked by |instant_| to get the currently active tab. |
content::WebContents* GetActiveWebContents() const; |
@@ -73,6 +73,10 @@ class BrowserInstantController : public SearchModelObserver { |
content::PageTransition transition, |
WindowOpenDisposition disposition); |
+ // Invoked by |instant_| to paste the clipboard content into the omnibox. |
+ // It will set focus to the omnibox if the omnibox is not focused. |
+ void PasteIntoOmnibox(); |
+ |
// Sets the stored omnibox bounds. |
void SetOmniboxBounds(const gfx::Rect& bounds); |