Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1572)

Unified Diff: apps/shell/renderer/shell_custom_bindings.h

Issue 254473011: Introduce chrome.shell.createWindow stub API for app_shell (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix deps (shell-api) Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « apps/shell/renderer/shell_content_renderer_client.cc ('k') | apps/shell/renderer/shell_custom_bindings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « apps/shell/renderer/shell_content_renderer_client.cc ('k') | apps/shell/renderer/shell_custom_bindings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698