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

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: include nit Created 7 years, 10 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
Index: chrome/browser/instant/instant_page.cc
diff --git a/chrome/browser/instant/instant_page.cc b/chrome/browser/instant/instant_page.cc
index 85f56997237c1c3d3dfeab5f5a86363304f9ade5..94352732bc6ecde226dcb4607c8c86420ec88daa 100644
--- a/chrome/browser/instant/instant_page.cc
+++ b/chrome/browser/instant/instant_page.cc
@@ -55,6 +55,12 @@ void InstantPage::InitializeFonts() {
routing_id(), omnibox_font_name, omnibox_font_size));
}
+void InstantPage::GrantAccessFromOrigin(const GURL& origin_url) {
+ DCHECK(origin_url.is_valid());
+ Send(new ChromeViewMsg_SearchBoxGrantAccessFromOrigin(
Charlie Reis 2013/03/02 04:41:09 The comment mentioned that this function added RVH
dhollowa 2013/03/04 18:39:35 Thanks, sorry, stale doc. Fixed now. The rendere
+ routing_id(), origin_url));
+}
+
void InstantPage::DetermineIfPageSupportsInstant() {
Send(new ChromeViewMsg_DetermineIfPageSupportsInstant(routing_id()));
}

Powered by Google App Engine
This is Rietveld 408576698