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

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

Issue 18223002: InstantExtended: Remove overlay control code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 7 years, 6 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/search/search.cc
diff --git a/chrome/browser/search/search.cc b/chrome/browser/search/search.cc
index 12a5a366810ea0f4183f8bdff7f2d2ee6c210fd7..a1a225938788c8e536d2eca8d8c2a2f8760c42f9 100644
--- a/chrome/browser/search/search.cc
+++ b/chrome/browser/search/search.cc
@@ -564,16 +564,6 @@ int GetInstantLoaderStalenessTimeoutSec() {
return timeout_sec;
}
-bool IsInstantOverlay(const content::WebContents* contents) {
- for (chrome::BrowserIterator it; !it.done(); it.Next()) {
- if (it->instant_controller() &&
- it->instant_controller()->instant()->GetOverlayContents() == contents) {
- return true;
- }
- }
- return false;
-}
-
bool IsPreloadedInstantExtendedNTP(const content::WebContents* contents) {
for (chrome::BrowserIterator it; !it.done(); it.Next()) {
if (it->instant_controller() &&

Powered by Google App Engine
This is Rietveld 408576698