Index: chrome/renderer/spellchecker/spellcheck.h |
diff --git a/chrome/renderer/spellchecker/spellcheck.h b/chrome/renderer/spellchecker/spellcheck.h |
index 1977faef511891c8088a7d7a59d2c8d75746e4e5..714d4b4bb083a557c2a03a30ad108a9bbeae56dd 100644 |
--- a/chrome/renderer/spellchecker/spellcheck.h |
+++ b/chrome/renderer/spellchecker/spellcheck.h |
@@ -52,13 +52,12 @@ class SpellCheck : public content::RenderProcessObserver, |
void AddSpellcheckLanguage(base::File file, const std::string& language); |
- // If there are no dictionary files, then this requests them from the browser |
+ // If there is no dictionary file, then this requests one from the browser |
// and does not block. In this case it returns true. |
- // If there are dictionary files, but their Hunspell has not been loaded, then |
- // this loads their Hunspell. |
- // If each dictionary file's Hunspell is already loaded, this does nothing. In |
- // both the latter cases it returns false, meaning that it is OK to continue |
- // spellchecking. |
+ // If there is a dictionary file, but Hunspell has not been loaded, then |
+ // this loads Hunspell. |
+ // If Hunspell is already loaded, this does nothing. In both the latter cases |
+ // it returns false, meaning that it is OK to continue spellchecking. |
bool InitializeIfNeeded(); |
// SpellCheck a word. |
@@ -95,7 +94,7 @@ class SpellCheck : public content::RenderProcessObserver, |
// Requests to spellcheck the specified text in the background. This function |
// posts a background task and calls SpellCheckParagraph() in the task. |
-#if !defined (USE_BROWSER_SPELLCHECKER) |
+#if !defined (OS_MACOSX) |
void RequestTextChecking(const base::string16& text, |
blink::WebTextCheckingCompletion* completion); |
#endif |
@@ -132,7 +131,7 @@ class SpellCheck : public content::RenderProcessObserver, |
void OnEnableSpellCheck(bool enable); |
void OnRequestDocumentMarkers(); |
-#if !defined (USE_BROWSER_SPELLCHECKER) |
+#if !defined (OS_MACOSX) |
// Posts delayed spellcheck task and clear it if any. |
// Takes ownership of |request|. |
void PostDelayedSpellCheckTask(SpellcheckRequest* request); |