| Index: chrome/renderer/searchbox/searchbox_extension.cc
|
| diff --git a/chrome/renderer/searchbox/searchbox_extension.cc b/chrome/renderer/searchbox/searchbox_extension.cc
|
| index 24ad6a499ecf9ffe4aa5a71589b0fc097a36d9e0..8d2a6aab02e73dc6f52eb38a8d06a9e176082d63 100644
|
| --- a/chrome/renderer/searchbox/searchbox_extension.cc
|
| +++ b/chrome/renderer/searchbox/searchbox_extension.cc
|
| @@ -421,10 +421,6 @@ class SearchBoxExtensionWrapper : public v8::Extension {
|
| // Focuses the omnibox.
|
| static void Focus(const v8::FunctionCallbackInfo<v8::Value>& args);
|
|
|
| - // Gets whether or not the app launcher is enabled.
|
| - static void GetAppLauncherEnabled(
|
| - const v8::FunctionCallbackInfo<v8::Value>& args);
|
| -
|
| // Gets Most Visited Items.
|
| static void GetMostVisitedItems(
|
| const v8::FunctionCallbackInfo<v8::Value>& args);
|
| @@ -601,8 +597,6 @@ SearchBoxExtensionWrapper::GetNativeFunctionTemplate(
|
| return v8::FunctionTemplate::New(isolate, DeleteMostVisitedItem);
|
| if (name->Equals(v8::String::NewFromUtf8(isolate, "Focus")))
|
| return v8::FunctionTemplate::New(isolate, Focus);
|
| - if (name->Equals(v8::String::NewFromUtf8(isolate, "GetAppLauncherEnabled")))
|
| - return v8::FunctionTemplate::New(isolate, GetAppLauncherEnabled);
|
| if (name->Equals(v8::String::NewFromUtf8(isolate, "GetMostVisitedItems")))
|
| return v8::FunctionTemplate::New(isolate, GetMostVisitedItems);
|
| if (name->Equals(v8::String::NewFromUtf8(isolate, "GetMostVisitedItemData")))
|
| @@ -718,16 +712,6 @@ void SearchBoxExtensionWrapper::Focus(
|
| }
|
|
|
| // static
|
| -void SearchBoxExtensionWrapper::GetAppLauncherEnabled(
|
| - const v8::FunctionCallbackInfo<v8::Value>& args) {
|
| - content::RenderView* render_view = GetRenderView();
|
| - if (!render_view) return;
|
| -
|
| - args.GetReturnValue().Set(
|
| - SearchBox::Get(render_view)->app_launcher_enabled());
|
| -}
|
| -
|
| -// static
|
| void SearchBoxExtensionWrapper::GetMostVisitedItems(
|
| const v8::FunctionCallbackInfo<v8::Value>& args) {
|
| content::RenderView* render_view = GetRenderView();
|
|
|