| Index: chrome/browser/extensions/extension_input_api.cc
|
| diff --git a/chrome/browser/extensions/extension_input_api.cc b/chrome/browser/extensions/extension_input_api.cc
|
| index 0b2db172a4202381009061c515a2eee0f77a3ebc..7f996f40957f307ea9cc2bb58cc3dc65fdb67304 100644
|
| --- a/chrome/browser/extensions/extension_input_api.cc
|
| +++ b/chrome/browser/extensions/extension_input_api.cc
|
| @@ -144,6 +144,16 @@ bool HideKeyboardFunction::RunImpl() {
|
| NotificationService::NoDetails());
|
| return true;
|
| }
|
| +
|
| +bool SetKeyboardHeightFunction::RunImpl() {
|
| + int height = 0;
|
| + EXTENSION_FUNCTION_VALIDATE(args_->GetInteger(0, &height));
|
| + NotificationService::current()->Notify(
|
| + NotificationType::SET_KEYBOARD_HEIGHT_INVOKED,
|
| + Source<SetKeyboardHeightFunction>(this),
|
| + Details<int>(&height));
|
| + return true;
|
| +}
|
| #endif
|
|
|
| #if defined(OS_CHROMEOS) && defined(TOUCH_UI)
|
|
|