Index: chrome/browser/ui/search/instant_page.h |
diff --git a/chrome/browser/ui/search/instant_page.h b/chrome/browser/ui/search/instant_page.h |
index efd42b33b8f409f3d61b6dbb60c9ff6e448218e3..474c0f6ce7ff1494c7072e0d4b5fb08c4d4558a0 100644 |
--- a/chrome/browser/ui/search/instant_page.h |
+++ b/chrome/browser/ui/search/instant_page.h |
@@ -72,6 +72,9 @@ class InstantPage : public content::WebContentsObserver, |
WindowOpenDisposition disposition, |
bool is_search_type) = 0; |
+ // Called when the page wants to paste into the omnibox. |
+ virtual void PasteIntoOmnibox(const content::WebContents* contents) = 0; |
+ |
// Called when the SearchBox wants to delete a Most Visited item. |
virtual void DeleteMostVisitedItem(const GURL& url) = 0; |
@@ -133,6 +136,7 @@ class InstantPage : public content::WebContentsObserver, |
virtual bool ShouldProcessAboutToNavigateMainFrame(); |
virtual bool ShouldProcessFocusOmnibox(); |
virtual bool ShouldProcessNavigateToURL(); |
+ virtual bool ShouldProcessPasteIntoOmnibox(); |
virtual bool ShouldProcessDeleteMostVisitedItem(); |
virtual bool ShouldProcessUndoMostVisitedDeletion(); |
virtual bool ShouldProcessUndoAllMostVisitedDeletions(); |
@@ -188,6 +192,7 @@ class InstantPage : public content::WebContentsObserver, |
content::PageTransition transition, |
WindowOpenDisposition disposition, |
bool is_search_type); |
+ void OnSearchBoxPaste(int page_id); |
void OnCountMouseover(int page_id); |
void OnDeleteMostVisitedItem(int page_id, const GURL& url); |
void OnUndoMostVisitedDeletion(int page_id, const GURL& url); |