2 * Copyright (c) 2012 The Chromium Authors. All rights reserved. Use of this
3 * source code is governed by a BSD-style license that can be found in the
6 <script src="common.js"></script>
10 function beginInstallWithAppBubble() {
11 var manifest = getManifest("app/manifest.json");
12 chrome.webstorePrivate.beginInstallWithManifest3(
13 {id: appId, manifest: manifest, appInstallBubble: true},
14 callbackPass(function(result) {
19 function beginInstallWithNoAppBubble() {
20 var manifest = getManifest();
21 chrome.webstorePrivate.beginInstallWithManifest3(
22 {id: extensionId, manifest: manifest},
23 callbackPass(function(result) {