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

Unified Diff: chrome/browser/spellchecker_platform_engine.h

Issue 6392045: Integrating Mac OS Grammar checker into Chromium. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated the patch to catch up WebKit side changes. Created 9 years, 10 months 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_platform_engine.h
diff --git a/chrome/browser/spellchecker_platform_engine.h b/chrome/browser/spellchecker_platform_engine.h
index edc8f3108a59bde8bb01e7bab5e927fb2d89cda1..5f4e63946beb4b0a119e84c30c8af324bac265b2 100644
--- a/chrome/browser/spellchecker_platform_engine.h
+++ b/chrome/browser/spellchecker_platform_engine.h
@@ -12,7 +12,9 @@
#include <string>
#include <vector>
+#include "base/callback.h"
#include "base/string16.h"
+#include "chrome/common/text_checking_result.h"
namespace SpellCheckerPlatform {
@@ -81,6 +83,9 @@ void IgnoreWord(const string16& word);
// document can now be forgotten.
void CloseDocumentWithTag(int tag);
+void RequestTextCheck(const string16& text, int tag,
+ Callback1<const TextCheckingResultList&>::Type* callback);
Hironori Bono 2011/02/09 05:43:51 nit: align all parameters if possible.
gmorrita 2011/02/10 02:15:21 Done.
+
} // namespace SpellCheckerPlatform
#endif // CHROME_BROWSER_SPELLCHECKER_PLATFORM_ENGINE_H_

Powered by Google App Engine
This is Rietveld 408576698