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

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

Issue 8850006: Remove temp. code to disable "Languages and Settings" on OS X. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 9 years 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_contents/render_view_context_menu.cc
diff --git a/chrome/browser/tab_contents/render_view_context_menu.cc b/chrome/browser/tab_contents/render_view_context_menu.cc
index 0725e56b76bb98c3777ec8cf6355a8689618b425..c71f7385aed7b4a7013013df214798ce292f380f 100644
--- a/chrome/browser/tab_contents/render_view_context_menu.cc
+++ b/chrome/browser/tab_contents/render_view_context_menu.cc
@@ -1205,10 +1205,7 @@ bool RenderViewContextMenu::IsCommandIdEnabled(int id) const {
case IDC_CONTENT_CONTEXT_SEARCHWEBFOR:
case IDC_CONTENT_CONTEXT_GOTOURL:
case IDC_SPELLPANEL_TOGGLE:
-#if !defined(OS_MACOSX)
- // TODO(jeremy): re-enable - http://crbug.com/34512 .
case IDC_CONTENT_CONTEXT_LANGUAGE_SETTINGS:
-#endif
case IDC_CONTENT_CONTEXT_VIEWFRAMEINFO:
return true;
@@ -1216,12 +1213,6 @@ bool RenderViewContextMenu::IsCommandIdEnabled(int id) const {
return profile_->GetPrefs()->GetBoolean(prefs::kEnableSpellCheck);
#if defined(OS_MACOSX)
- // TODO(jeremy): re-enable - http://crbug.com/34512 .
- case IDC_CONTENT_CONTEXT_LANGUAGE_SETTINGS:
- return false;
-#endif
-
-#if defined(OS_MACOSX)
case IDC_WRITING_DIRECTION_DEFAULT: // Provided to match OS defaults.
return params_.writing_direction_default &
WebContextMenuData::CheckableMenuItemEnabled;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698