Chromium Code Reviews| Index: chrome/browser/tab_contents/spelling_menu_observer.h |
| diff --git a/chrome/browser/tab_contents/spelling_menu_observer.h b/chrome/browser/tab_contents/spelling_menu_observer.h |
| index 26abedb3459588c3d79af80b1600e307e8ef14ec..3623e6fed04c4aaaa29c6e32f8d073679bc9f8b4 100644 |
| --- a/chrome/browser/tab_contents/spelling_menu_observer.h |
| +++ b/chrome/browser/tab_contents/spelling_menu_observer.h |
| @@ -12,11 +12,11 @@ |
| #include "base/prefs/public/pref_member.h" |
| #include "base/string16.h" |
| #include "base/timer.h" |
| +#include "chrome/browser/spellchecker/spelling_service_client.h" |
|
groby-ooo-7-16
2012/12/21 22:18:13
Prebinding of type would allow us to get rid of th
rpetterson
2013/01/04 00:05:34
Unfortunately not since we still need to include t
|
| #include "chrome/browser/tab_contents/render_view_context_menu_observer.h" |
| class RenderViewContextMenuProxy; |
| struct SpellCheckResult; |
| -class SpellingServiceClient; |
| // An observer that listens to events from the RenderViewContextMenu class and |
| // shows suggestions from the Spelling ("do you mean") service to a context menu |
| @@ -54,6 +54,7 @@ class SpellingMenuObserver : public RenderViewContextMenuObserver { |
| void OnTextCheckComplete( |
| int tag, |
| bool success, |
| + SpellingServiceClient::ServiceType type, |
| const string16& text, |
| const std::vector<SpellCheckResult>& results); |