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

Unified Diff: chrome/browser/instant/instant_page.cc

Issue 11896113: Add chrome-search: access from Instant overlay (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Yet another rebase Created 7 years, 9 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/instant/instant_page.h ('k') | chrome/browser/instant/instant_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/instant/instant_page.cc
diff --git a/chrome/browser/instant/instant_page.cc b/chrome/browser/instant/instant_page.cc
index 43b81fabef9b96da2e9e1ffdbd67882945ce426b..37496eea2497364e0667b9d0328210d090c89017 100644
--- a/chrome/browser/instant/instant_page.cc
+++ b/chrome/browser/instant/instant_page.cc
@@ -56,6 +56,12 @@ void InstantPage::InitializeFonts() {
routing_id(), omnibox_font_name, omnibox_font_size));
}
+void InstantPage::GrantChromeSearchAccessFromOrigin(const GURL& origin_url) {
+ DCHECK(origin_url.is_valid());
+ Send(new ChromeViewMsg_SearchBoxGrantChromeSearchAccessFromOrigin(
+ routing_id(), origin_url));
+}
+
void InstantPage::DetermineIfPageSupportsInstant() {
Send(new ChromeViewMsg_DetermineIfPageSupportsInstant(routing_id()));
}
« no previous file with comments | « chrome/browser/instant/instant_page.h ('k') | chrome/browser/instant/instant_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698