diff options
-rw-r--r-- | chrome/browser/tab_contents/render_view_context_menu.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/chrome/browser/tab_contents/render_view_context_menu.cc b/chrome/browser/tab_contents/render_view_context_menu.cc index 4359dc5..30f7e32 100644 --- a/chrome/browser/tab_contents/render_view_context_menu.cc +++ b/chrome/browser/tab_contents/render_view_context_menu.cc @@ -742,7 +742,10 @@ bool RenderViewContextMenu::IsItemCommandEnabled(int id) const { case IDC_SPELLCHECK_SUGGESTION_4: case IDC_SPELLCHECK_MENU: case IDC_SPELLPANEL_TOGGLE: +#if !defined(OS_MACOSX) + // TODO(jeremy): re-enable - http://crbug.com/34512 . case IDS_CONTENT_CONTEXT_LANGUAGE_SETTINGS: +#endif case IDS_CONTENT_CONTEXT_VIEWFRAMEINFO: return true; @@ -750,6 +753,12 @@ bool RenderViewContextMenu::IsItemCommandEnabled(int id) const { return profile_->GetPrefs()->GetBoolean(prefs::kEnableSpellCheck); #if defined(OS_MACOSX) + // TODO(jeremy): re-enable - http://crbug.com/34512 . + case IDS_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; |