| Index: chrome/browser/extensions/api/input_ime/input_ime_api.cc
|
| diff --git a/chrome/browser/extensions/api/input_ime/input_ime_api.cc b/chrome/browser/extensions/api/input_ime/input_ime_api.cc
|
| index b961d14e3db6f216587e48ef5446a7d4fdfd7da0..1cd2b32ef02fb0e97b3c50b65431b76b35cf707e 100644
|
| --- a/chrome/browser/extensions/api/input_ime/input_ime_api.cc
|
| +++ b/chrome/browser/extensions/api/input_ime/input_ime_api.cc
|
| @@ -435,7 +435,7 @@ InputImeEventRouter::InputImeEventRouter()
|
|
|
| InputImeEventRouter::~InputImeEventRouter() {}
|
|
|
| -bool InputImeSetCompositionFunction::RunImpl() {
|
| +bool InputImeSetCompositionFunction::RunSync() {
|
| InputMethodEngineInterface* engine =
|
| InputImeEventRouter::GetInstance()->GetActiveEngine(extension_id());
|
| if (!engine) {
|
| @@ -481,7 +481,7 @@ bool InputImeSetCompositionFunction::RunImpl() {
|
| return true;
|
| }
|
|
|
| -bool InputImeClearCompositionFunction::RunImpl() {
|
| +bool InputImeClearCompositionFunction::RunSync() {
|
| InputMethodEngineInterface* engine =
|
| InputImeEventRouter::GetInstance()->GetActiveEngine(extension_id());
|
| if (!engine) {
|
| @@ -499,7 +499,7 @@ bool InputImeClearCompositionFunction::RunImpl() {
|
| return true;
|
| }
|
|
|
| -bool InputImeCommitTextFunction::RunImpl() {
|
| +bool InputImeCommitTextFunction::RunSync() {
|
| // TODO(zork): Support committing when not active.
|
| InputMethodEngineInterface* engine =
|
| InputImeEventRouter::GetInstance()->GetActiveEngine(extension_id());
|
| @@ -564,7 +564,7 @@ bool InputImeSendKeyEventsFunction::RunImpl() {
|
| return true;
|
| }
|
|
|
| -bool InputImeSetCandidateWindowPropertiesFunction::RunImpl() {
|
| +bool InputImeSetCandidateWindowPropertiesFunction::RunSync() {
|
| scoped_ptr<SetCandidateWindowProperties::Params> parent_params(
|
| SetCandidateWindowProperties::Params::Create(*args_));
|
| const SetCandidateWindowProperties::Params::Parameters&
|
| @@ -639,7 +639,7 @@ bool InputImeSetCandidateWindowPropertiesFunction::RunImpl() {
|
| return true;
|
| }
|
|
|
| -bool InputImeSetCandidatesFunction::RunImpl() {
|
| +bool InputImeSetCandidatesFunction::RunSync() {
|
| InputMethodEngineInterface* engine =
|
| InputImeEventRouter::GetInstance()->GetActiveEngine(extension_id());
|
| if (!engine) {
|
| @@ -675,7 +675,7 @@ bool InputImeSetCandidatesFunction::RunImpl() {
|
| return true;
|
| }
|
|
|
| -bool InputImeSetCursorPositionFunction::RunImpl() {
|
| +bool InputImeSetCursorPositionFunction::RunSync() {
|
| InputMethodEngineInterface* engine =
|
| InputImeEventRouter::GetInstance()->GetActiveEngine(extension_id());
|
| if (!engine) {
|
| @@ -694,7 +694,7 @@ bool InputImeSetCursorPositionFunction::RunImpl() {
|
| return true;
|
| }
|
|
|
| -bool InputImeSetMenuItemsFunction::RunImpl() {
|
| +bool InputImeSetMenuItemsFunction::RunSync() {
|
| scoped_ptr<SetMenuItems::Params> parent_params(
|
| SetMenuItems::Params::Create(*args_));
|
| const SetMenuItems::Params::Parameters& params =
|
| @@ -721,7 +721,7 @@ bool InputImeSetMenuItemsFunction::RunImpl() {
|
| return true;
|
| }
|
|
|
| -bool InputImeUpdateMenuItemsFunction::RunImpl() {
|
| +bool InputImeUpdateMenuItemsFunction::RunSync() {
|
| scoped_ptr<UpdateMenuItems::Params> parent_params(
|
| UpdateMenuItems::Params::Create(*args_));
|
| const UpdateMenuItems::Params::Parameters& params =
|
| @@ -748,7 +748,7 @@ bool InputImeUpdateMenuItemsFunction::RunImpl() {
|
| return true;
|
| }
|
|
|
| -bool InputImeDeleteSurroundingTextFunction::RunImpl() {
|
| +bool InputImeDeleteSurroundingTextFunction::RunSync() {
|
| scoped_ptr<DeleteSurroundingText::Params> parent_params(
|
| DeleteSurroundingText::Params::Create(*args_));
|
| const DeleteSurroundingText::Params::Parameters& params =
|
|
|