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

Unified Diff: chrome/renderer/spellchecker/spellcheck_provider.h

Issue 6750018: Cleanup: Stop creating RenderViewObservers from chrome/ in RenderViewer. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix build on win/mac Created 9 years, 9 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/renderer/spellchecker/spellcheck_provider.h
===================================================================
--- chrome/renderer/spellchecker/spellcheck_provider.h (revision 79652)
+++ chrome/renderer/spellchecker/spellcheck_provider.h (working copy)
@@ -29,13 +29,6 @@
SpellCheckProvider(RenderView* render_view, SpellCheck* spellcheck);
virtual ~SpellCheckProvider();
- // Requests async spell and grammar checker to the platform text
- // checker, which is available on the browser process.
- void RequestTextChecking(
- const WebKit::WebString& text,
- int document_tag,
- WebKit::WebTextCheckingCompletion* completion);
-
// Check the availability of the platform spellchecker.
// Makes this virtual for overriding on the unittest.
virtual bool is_using_platform_spelling_engine() const;
@@ -48,6 +41,13 @@
// RenderViewObserver implementation.
virtual bool OnMessageReceived(const IPC::Message& message);
+ // Requests async spell and grammar checker to the platform text
+ // checker, which is available on the browser process.
+ virtual void RequestTextChecking(
+ const WebKit::WebString& text,
+ int document_tag,
+ WebKit::WebTextCheckingCompletion* completion);
+
private:
// A message handler that receives async results for RequestTextChecking().
void OnRespondTextCheck(

Powered by Google App Engine
This is Rietveld 408576698