Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(510)

Unified Diff: chrome/browser/ui/search/instant_ntp_prerenderer.cc

Issue 20501002: Adds paste function to searchbox api and handles paste event on fakebox (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nits Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/search/instant_ntp_prerenderer.h ('k') | chrome/browser/ui/search/instant_page.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/search/instant_ntp_prerenderer.cc
diff --git a/chrome/browser/ui/search/instant_ntp_prerenderer.cc b/chrome/browser/ui/search/instant_ntp_prerenderer.cc
index 2edfc11dd058ec678cf8e23164ca43fcb91fc51a..7b3957adc56cb3422ac9ec35c2140c24df4c4acd 100644
--- a/chrome/browser/ui/search/instant_ntp_prerenderer.cc
+++ b/chrome/browser/ui/search/instant_ntp_prerenderer.cc
@@ -197,29 +197,37 @@ void InstantNTPPrerenderer::InstantSupportDetermined(
}
void InstantNTPPrerenderer::InstantPageAboutToNavigateMainFrame(
- const content::WebContents* contents,
- const GURL& url) {
+ const content::WebContents* /* contents */,
+ const GURL& /* url */) {
+ NOTREACHED();
+}
+
+void InstantNTPPrerenderer::FocusOmnibox(
+ const content::WebContents* /* contents */,
+ OmniboxFocusState /* state */) {
NOTREACHED();
}
-void InstantNTPPrerenderer::FocusOmnibox(const content::WebContents* contents,
- OmniboxFocusState state) {
+void InstantNTPPrerenderer::NavigateToURL(
+ const content::WebContents* /* contents */,
+ const GURL& /* url */,
+ content::PageTransition /* transition */,
+ WindowOpenDisposition /* disposition */,
+ bool /* is_search_type */) {
NOTREACHED();
}
-void InstantNTPPrerenderer::NavigateToURL(const content::WebContents* contents,
- const GURL& url,
- content::PageTransition transition,
- WindowOpenDisposition disposition,
- bool is_search_type) {
+void InstantNTPPrerenderer::PasteIntoOmnibox(
+ const content::WebContents* /* contents */,
+ const string16& /* text */) {
NOTREACHED();
}
-void InstantNTPPrerenderer::DeleteMostVisitedItem(const GURL& url) {
+void InstantNTPPrerenderer::DeleteMostVisitedItem(const GURL& /* url */) {
NOTREACHED();
}
-void InstantNTPPrerenderer::UndoMostVisitedDeletion(const GURL& url) {
+void InstantNTPPrerenderer::UndoMostVisitedDeletion(const GURL& /* url */) {
NOTREACHED();
}
« no previous file with comments | « chrome/browser/ui/search/instant_ntp_prerenderer.h ('k') | chrome/browser/ui/search/instant_page.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698