Index: chrome/browser/spellchecker/spellcheck_platform_mac.h |
diff --git a/chrome/browser/spellchecker/spellchecker_platform_engine.h b/chrome/browser/spellchecker/spellcheck_platform_mac.h |
similarity index 89% |
rename from chrome/browser/spellchecker/spellchecker_platform_engine.h |
rename to chrome/browser/spellchecker/spellcheck_platform_mac.h |
index 769c6691789a396471c25ecf40c88b31577728d6..89db07247f24234cc94f468ae41c4b1f5e382e71 100644 |
--- a/chrome/browser/spellchecker/spellchecker_platform_engine.h |
+++ b/chrome/browser/spellchecker/spellcheck_platform_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_SPELLCHECK_PLATFORM_MAC_H_ |
+#define CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_PLATFORM_MAC_H_ |
#pragma once |
#include <string> |
@@ -17,7 +17,7 @@ |
class BrowserMessageFilter; |
-namespace SpellCheckerPlatform { |
+namespace spellcheck_mac { |
// 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, |
@@ -93,6 +89,6 @@ void RequestTextCheck(int route_id, |
const string16& text, |
BrowserMessageFilter* destination); |
-} // namespace SpellCheckerPlatform |
+} // namespace spellcheck_mac |
-#endif // CHROME_BROWSER_SPELLCHECKER_SPELLCHECKER_PLATFORM_ENGINE_H_ |
+#endif // CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_PLATFORM_MAC_H_ |