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

Unified Diff: chrome/browser/tab_contents/spelling_menu_observer.h

Issue 9368052: Removed WebTextCheckingResult legacy API use. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed a build break on Mac. Created 8 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/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 695a91d3e37181a60e6765a0df5102dbfc4c0d7e..772de289c400889b2a16bc55cceaec07ea4cd2da 100644
--- a/chrome/browser/tab_contents/spelling_menu_observer.h
+++ b/chrome/browser/tab_contents/spelling_menu_observer.h
@@ -15,12 +15,9 @@
#include "chrome/browser/tab_contents/render_view_context_menu_observer.h"
class RenderViewContextMenuProxy;
+class SpellCheckResult;
Hironori Bono 2012/02/16 04:22:45 nit: class -> struct.
class SpellingServiceClient;
-namespace WebKit {
-struct WebTextCheckingResult;
-}
-
// An observer that listens to events from the RenderViewContextMenu class and
// shows suggestions from the Spelling ("do you mean") service to a context menu
// while we show it. This class implements two interfaces:
@@ -55,7 +52,7 @@ class SpellingMenuObserver : public RenderViewContextMenuObserver {
// misspelled word.
void OnTextCheckComplete(
int tag,
- const std::vector<WebKit::WebTextCheckingResult>& results);
+ const std::vector<SpellCheckResult>& results);
private:
// The callback function for base::RepeatingTimer<SpellingMenuClient>. This

Powered by Google App Engine
This is Rietveld 408576698