Chromium Code Reviews| OLD | NEW |
|---|---|
| (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_ | |
| OLD | NEW |