Split the words before sending it to spellCheck

This commit is contained in:
Cheng Zhao 2014-12-19 20:42:19 -08:00
parent b801a93dc5
commit c6a18b1b59
7 changed files with 720 additions and 19 deletions

View file

@ -15,6 +15,10 @@ namespace blink {
class WebLocalFrame;
}
namespace mate {
class Arguments;
}
namespace atom {
namespace api {
@ -41,7 +45,8 @@ class WebFrame : public mate::Wrappable {
void AttachGuest(int element_instance_id);
// Set the provider that will be used by SpellCheckClient for spell check.
void SetSpellCheckProvider(v8::Isolate* isolate,
void SetSpellCheckProvider(mate::Arguments* args,
const std::string& language,
v8::Handle<v8::Object> provider);
// mate::Wrappable: