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

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

Issue 8890022: Remove Hunspell on OS X - step 2 (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rename unit tests 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
Index: chrome/browser/tab_contents/spellchecker_submenu_observer_mac.cc
diff --git a/chrome/browser/tab_contents/spellchecker_submenu_observer_mac.cc b/chrome/browser/tab_contents/spellchecker_submenu_observer_mac.cc
index efd3a7f2b9951b7011f3602a44d410b9b6c66dd8..fd3c450d6bfdca2b603a58960fc481edbf6bca45 100644
--- a/chrome/browser/tab_contents/spellchecker_submenu_observer_mac.cc
+++ b/chrome/browser/tab_contents/spellchecker_submenu_observer_mac.cc
@@ -7,7 +7,7 @@
#include "base/logging.h"
#include "chrome/app/chrome_command_ids.h"
#include "chrome/browser/prefs/pref_service.h"
-#include "chrome/browser/spellchecker/spellchecker_platform_engine.h"
+#include "chrome/browser/spellchecker/spellchecker_mac.h"
#include "chrome/browser/tab_contents/render_view_context_menu.h"
#include "chrome/browser/tab_contents/spelling_bubble_model.h"
#include "chrome/common/chrome_switches.h"
@@ -43,7 +43,7 @@ void SpellCheckerSubMenuObserver::InitMenu(const ContextMenuParams& params) {
submenu_model_.AddCheckItem(
IDC_SPELLPANEL_TOGGLE,
l10n_util::GetStringUTF16(
- SpellCheckerPlatform::SpellingPanelVisible() ?
+ SpellCheckerMac::SpellingPanelVisible() ?
IDS_CONTENT_CONTEXT_HIDE_SPELLING_PANEL :
IDS_CONTENT_CONTEXT_SHOW_SPELLING_PANEL));
submenu_model_.AddSeparator();
@@ -124,7 +124,7 @@ void SpellCheckerSubMenuObserver::ExecuteCommand(int command_id) {
case IDC_SPELLPANEL_TOGGLE:
rvh->Send(new SpellCheckMsg_ToggleSpellPanel(
- rvh->routing_id(), SpellCheckerPlatform::SpellingPanelVisible()));
+ rvh->routing_id(), SpellCheckerMac::SpellingPanelVisible()));
break;
}
}

Powered by Google App Engine
This is Rietveld 408576698