| Index: chrome/renderer/render_view.h
|
| ===================================================================
|
| --- chrome/renderer/render_view.h (revision 25643)
|
| +++ chrome/renderer/render_view.h (working copy)
|
| @@ -322,9 +322,13 @@
|
| const WebKit::WebRect& selection);
|
| virtual bool WasOpenedByUserGesture() const;
|
| virtual void FocusAccessibilityObject(WebCore::AccessibilityObject* acc_obj);
|
| - virtual void SpellCheck(const std::wstring& word, int* misspell_location,
|
| + virtual void SpellCheck(const std::wstring& word, int tag,
|
| + int* misspell_location,
|
| int* misspell_length);
|
| - virtual std::wstring GetAutoCorrectWord(const std::wstring& word);
|
| + virtual std::wstring GetAutoCorrectWord(const std::wstring& word, int tag);
|
| + virtual void UpdateSpellingUIWithMisspelledWord(const std::wstring& word);
|
| + virtual void ShowSpellingUI(bool show);
|
| + virtual int SpellCheckerDocumentTag();
|
| virtual void ScriptedPrint(WebKit::WebFrame* frame);
|
| virtual void UserMetricsRecordAction(const std::wstring& action);
|
| virtual void DnsPrefetch(const std::vector<std::string>& host_names);
|
| @@ -531,6 +535,8 @@
|
| void OnCopy();
|
| void OnPaste();
|
| void OnReplace(const std::wstring& text);
|
| + void OnAdvanceToNextMisspelling();
|
| + void OnToggleSpellPanel(bool is_currently_visible);
|
| void OnToggleSpellCheck();
|
| void OnDelete();
|
| void OnSelectAll();
|
| @@ -897,6 +903,12 @@
|
| // page id for the last navigation sent to the browser.
|
| int32 last_top_level_navigation_page_id_;
|
|
|
| + // True if the current RenderView has been assigned a document tag.
|
| + bool has_spell_checker_document_tag_;
|
| +
|
| + // Document tag for this RenderView.
|
| + int document_tag_;
|
| +
|
| // The settings this render view initialized WebKit with.
|
| WebPreferences webkit_preferences_;
|
|
|
|
|