| Index: chrome/browser/resources/ntp/apps.js
|
| diff --git a/chrome/browser/resources/ntp/apps.js b/chrome/browser/resources/ntp/apps.js
|
| index 7069231791796f6567bf1db4a89a6506139f5f25..8c2ab24646ed53803848c30b9d169490ffcdde14 100644
|
| --- a/chrome/browser/resources/ntp/apps.js
|
| +++ b/chrome/browser/resources/ntp/apps.js
|
| @@ -150,10 +150,11 @@ var apps = (function() {
|
| var LaunchType = {
|
| LAUNCH_PINNED: 0,
|
| LAUNCH_REGULAR: 1,
|
| - LAUNCH_FULLSCREEN: 2
|
| + LAUNCH_FULLSCREEN: 2,
|
| + LAUNCH_WINDOW: 3
|
| };
|
|
|
| - // Keep in sync with LaunchContainer in extension.h
|
| + // Keep in sync with LaunchContainer in extension_constants.h
|
| var LaunchContainer = {
|
| LAUNCH_WINDOW: 0,
|
| LAUNCH_PANEL: 1,
|
| @@ -184,7 +185,8 @@ var apps = (function() {
|
| // Update the commands related to the launch type.
|
| var launchTypeIds = ['apps-launch-type-pinned',
|
| 'apps-launch-type-regular',
|
| - 'apps-launch-type-fullscreen'];
|
| + 'apps-launch-type-fullscreen',
|
| + 'apps-launch-type-window'];
|
| launchTypeIds.forEach(function(id) {
|
| var command = $(id);
|
| command.disabled = isPanel;
|
| @@ -215,6 +217,7 @@ var apps = (function() {
|
| case 'apps-launch-type-pinned':
|
| case 'apps-launch-type-regular':
|
| case 'apps-launch-type-fullscreen':
|
| + case 'apps-launch-type-window':
|
| chrome.send('setLaunchType',
|
| [currentApp['id'], e.command.getAttribute('launch-type')]);
|
| break;
|
|
|