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

Unified Diff: chrome/browser/renderer_context_menu/render_view_context_menu.cc

Issue 1260033003: Partially componentize //chrome/browser/search/search.{h,cc} (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compilation on iOS Created 5 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/prerender/prerender_manager.cc ('k') | chrome/browser/search/instant_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_context_menu/render_view_context_menu.cc
diff --git a/chrome/browser/renderer_context_menu/render_view_context_menu.cc b/chrome/browser/renderer_context_menu/render_view_context_menu.cc
index bba338c97bf1a384fae31692085238ea97c68081..f079c80ef78888c8374f144b62e6c8f7f4424946 100644
--- a/chrome/browser/renderer_context_menu/render_view_context_menu.cc
+++ b/chrome/browser/renderer_context_menu/render_view_context_menu.cc
@@ -1167,7 +1167,7 @@ bool RenderViewContextMenu::IsCommandIdEnabled(int id) const {
translate::TranslateDownloadManager::IsSupportedLanguage(
target_lang) &&
// Disable on the Instant Extended NTP.
- !chrome::IsInstantNTP(embedder_web_contents_);
+ !search::IsInstantNTP(embedder_web_contents_);
}
case IDC_CONTENT_CONTEXT_OPENLINKNEWTAB:
« no previous file with comments | « chrome/browser/prerender/prerender_manager.cc ('k') | chrome/browser/search/instant_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698