OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 // The ChromeStoreExtension is a V8 extension that creates an object at |
| 6 // window.chrome.webstore. This object allows JavaScript to initiate inline |
| 7 // installs of apps that are listed in the Chrome Web Store (CWS). |
| 8 |
| 9 #ifndef CHROME_RENDERER_EXTENSIONS_CHROME_WEBSTORE_BINDINGS_H_ |
| 10 #define CHROME_RENDERER_EXTENSIONS_CHROME_WEBSTORE_BINDINGS_H_ |
| 11 #pragma once |
| 12 |
| 13 namespace v8 { |
| 14 class Extension; |
| 15 } |
| 16 |
| 17 namespace extensions_v8 { |
| 18 |
| 19 class ChromeWebstoreExtension { |
| 20 public: |
| 21 static v8::Extension* Get(); |
| 22 }; |
| 23 |
| 24 } // namespace extensions_v8 |
| 25 |
| 26 #endif // CHROME_RENDERER_EXTENSIONS_CHROME_WEBSTORE_BINDINGS_H_ |
OLD | NEW |