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

Unified Diff: webkit/glue/webframe_impl.cc

Issue 160565: Adds support for the os x spelling panel to chromium. Users can... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 3 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
« no previous file with comments | « webkit/glue/editor_client_impl.cc ('k') | webkit/glue/webview.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webframe_impl.cc
===================================================================
--- webkit/glue/webframe_impl.cc (revision 25643)
+++ webkit/glue/webframe_impl.cc (working copy)
@@ -973,6 +973,12 @@
rv = frame()->editor()->command(AtomicString("BackwardDelete")).execute();
} else if (EqualsASCII(command, "DeleteForward")) {
rv = frame()->editor()->command(AtomicString("ForwardDelete")).execute();
+ } else if (EqualsASCII(command, "AdvanceToNextMisspelling")) {
+ // False must be passed here, or the currently selected word will never be
+ // skipped.
+ frame()->editor()->advanceToNextMisspelling(false);
+ } else if (EqualsASCII(command, "ToggleSpellPanel")) {
+ frame()->editor()->showSpellingGuessPanel();
} else {
rv = frame()->editor()->command(AtomicString(command.c_str())).execute();
}
« no previous file with comments | « webkit/glue/editor_client_impl.cc ('k') | webkit/glue/webview.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698