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

Unified Diff: chrome/renderer/extensions/chrome_webstore_bindings.h

Issue 7621032: Initial inline web store install bindings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review feedback. Created 9 years, 4 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
Index: chrome/renderer/extensions/chrome_webstore_bindings.h
diff --git a/chrome/renderer/extensions/chrome_webstore_bindings.h b/chrome/renderer/extensions/chrome_webstore_bindings.h
new file mode 100644
index 0000000000000000000000000000000000000000..60429639a94b65a59e37ddb7c75a9f48d2c5276f
--- /dev/null
+++ b/chrome/renderer/extensions/chrome_webstore_bindings.h
@@ -0,0 +1,26 @@
+// Copyright (c) 2011 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.
+
+// The ChromeStoreExtension is a V8 extension that creates an object at
+// window.chrome.webstore. This object allows JavaScript to initiate inline
+// installs of apps that are listed in the Chrome Web Store (CWS).
+
+#ifndef CHROME_RENDERER_EXTENSIONS_CHROME_WEBSTORE_BINDINGS_H_
+#define CHROME_RENDERER_EXTENSIONS_CHROME_WEBSTORE_BINDINGS_H_
+#pragma once
+
+namespace v8 {
+class Extension;
+}
+
+namespace extensions_v8 {
+
+class ChromeWebstoreExtension {
+ public:
+ static v8::Extension* Get();
+};
+
+} // namespace extensions_v8
+
+#endif // CHROME_RENDERER_EXTENSIONS_CHROME_WEBSTORE_BINDINGS_H_
« no previous file with comments | « chrome/common/extensions/extension_messages.h ('k') | chrome/renderer/extensions/chrome_webstore_bindings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698