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

Unified Diff: chrome/browser/spellchecker/spellchecker_mac.h

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/spellchecker/spellchecker_mac.h
diff --git a/chrome/browser/spellchecker/spellchecker_platform_engine.h b/chrome/browser/spellchecker/spellchecker_mac.h
similarity index 90%
rename from chrome/browser/spellchecker/spellchecker_platform_engine.h
rename to chrome/browser/spellchecker/spellchecker_mac.h
index 769c6691789a396471c25ecf40c88b31577728d6..3e348b19f489d4c698b4f7b14e9998567a3080cb 100644
--- a/chrome/browser/spellchecker/spellchecker_platform_engine.h
+++ b/chrome/browser/spellchecker/spellchecker_mac.h
@@ -5,8 +5,8 @@
// This file defines the interface that any platform-specific spellchecker
// needs to implement in order to be used by the browser.
-#ifndef CHROME_BROWSER_SPELLCHECKER_SPELLCHECKER_PLATFORM_ENGINE_H_
-#define CHROME_BROWSER_SPELLCHECKER_SPELLCHECKER_PLATFORM_ENGINE_H_
+#ifndef CHROME_BROWSER_SPELLCHECKER_SPELLCHECKER_MAC_H_
+#define CHROME_BROWSER_SPELLCHECKER_SPELLCHECKER_MAC_H_
#pragma once
#include <string>
@@ -17,7 +17,7 @@
class BrowserMessageFilter;
-namespace SpellCheckerPlatform {
+namespace SpellCheckerMac {
Robert Sesek 2011/12/08 18:54:33 This should be spellchecker_mac or spell_checker_m
// Get the languages supported by the platform spellchecker and store them in
// |spellcheck_languages|. Note that they must be converted to
@@ -40,10 +40,6 @@ void ShowSpellingPanel(bool show);
// spelling panel need not be displayed for this to work.
void UpdateSpellingPanelWithMisspelledWord(const string16& word);
-// Do any initialization needed for spellchecker.
-void Init();
-// TODO(pwicks): should we add a companion to this, TearDown or something?
-
// Translates the codes used by chrome to the language codes used by os x
// and checks the given language agains the languages that the current system
// supports. If the platform-specific spellchecker supports the language,
@@ -95,4 +91,4 @@ void RequestTextCheck(int route_id,
} // namespace SpellCheckerPlatform
-#endif // CHROME_BROWSER_SPELLCHECKER_SPELLCHECKER_PLATFORM_ENGINE_H_
+#endif // CHROME_BROWSER_SPELLCHECKER_SPELLCHECKER_MAC_H_

Powered by Google App Engine
This is Rietveld 408576698