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

Unified Diff: chrome/browser/spellcheck_message_filter.h

Issue 6392045: Integrating Mac OS Grammar checker into Chromium. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed the feedback from jam@. 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/spellcheck_message_filter.h
diff --git a/chrome/browser/spellcheck_message_filter.h b/chrome/browser/spellcheck_message_filter.h
new file mode 100644
index 0000000000000000000000000000000000000000..3bb8a572139916d4f41b78d49abc2f962954f89b
--- /dev/null
+++ b/chrome/browser/spellcheck_message_filter.h
@@ -0,0 +1,25 @@
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
Hironori Bono 2011/02/18 11:09:27 nit: 2010 -> 2011 to all files to help us keep all
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_SPELLCHECK_MESSAGE_FILTER_H_
+#define CHROME_BROWSER_SPELLCHECK_MESSAGE_FILTER_H_
+
+#include "chrome/browser/browser_message_filter.h"
+
+class SpellCheckMessageFilter : public BrowserMessageFilter {
Hironori Bono 2011/02/18 11:09:27 nit: class comments?
+ public:
+ SpellCheckMessageFilter();
+ ~SpellCheckMessageFilter();
+
+ // BrowserMessageFilter implementation.
+ virtual bool OnMessageReceived(const IPC::Message& message,
+ bool* message_was_ok);
+
+ void OnPlatformRequestTextCheck(int route_id,
+ int identifier,
+ int document_tag,
+ const string16& text);
+};
+
+#endif // CHROME_BROWSER_SPELLCHECK_MESSAGE_FILTER_H_

Powered by Google App Engine
This is Rietveld 408576698