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

Side by Side 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: Adopted Carnitas approach, added tests. 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_SPELLCHECK_MESSAGE_FILTER_H_
6 #define CHROME_BROWSER_SPELLCHECK_MESSAGE_FILTER_H_
7
8 #include "chrome/browser/browser_message_filter.h"
9
10 namespace IPC {
11 class Message;
jam 2011/02/17 18:36:59 nit: this forward declaration isn't necessary, bro
gmorrita 2011/02/18 01:08:01 Done.
12 }
13
14 class SpellCheckMessageFilter : public BrowserMessageFilter {
15 public:
16 SpellCheckMessageFilter();
17 ~SpellCheckMessageFilter();
18
19 // BrowserMessageFilter implementation.
20 virtual bool OnMessageReceived(const IPC::Message& message,
21 bool* message_was_ok);
22
23 void OnPlatformRequestTextCheck(int route_id,
24 int identifier,
25 int document_tag,
26 const string16& text);
27 };
28
29 #endif // CHROME_BROWSER_SPELLCHECK_MESSAGE_FILTER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698