| Index: apps/shell/renderer/shell_custom_bindings.h
|
| diff --git a/apps/shell/renderer/shell_custom_bindings.h b/apps/shell/renderer/shell_custom_bindings.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..743903d85b6229622bc1c885920169de72ec887f
|
| --- /dev/null
|
| +++ b/apps/shell/renderer/shell_custom_bindings.h
|
| @@ -0,0 +1,25 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef APPS_SHELL_RENDERER_SHELL_CUSTOM_BINDINGS_H_
|
| +#define APPS_SHELL_RENDERER_SHELL_CUSTOM_BINDINGS_H_
|
| +
|
| +#include "extensions/renderer/object_backed_native_handler.h"
|
| +
|
| +namespace apps {
|
| +
|
| +// Implements custom bindings for the chrome.shell API.
|
| +class ShellCustomBindings : public extensions::ObjectBackedNativeHandler {
|
| + public:
|
| + ShellCustomBindings(extensions::ScriptContext* context);
|
| +
|
| + private:
|
| + void GetView(const v8::FunctionCallbackInfo<v8::Value>& args);
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(ShellCustomBindings);
|
| +};
|
| +
|
| +} // namespace apps
|
| +
|
| +#endif // APPS_SHELL_RENDERER_SHELL_CUSTOM_BINDINGS_H_
|
|
|