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

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

Issue 8890022: Remove Hunspell on OS X - step 2 (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix rename in unittest 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/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_
« no previous file with comments | « chrome/browser/spellchecker/spellcheck_message_filter.cc ('k') | chrome/browser/spellchecker/spellcheck_platform_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698