diff options
author | scherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-22 18:45:59 +0000 |
---|---|---|
committer | scherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-22 18:45:59 +0000 |
commit | 970078f631430843b84c72352195c02580908636 (patch) | |
tree | d7fc2340236b1f4ab87335358c4976c01745cd37 /chrome/test/data/extensions | |
parent | d3cee19d4b6e16dd4ee1d42d8d4f888d944fe587 (diff) | |
download | chromium_src-970078f631430843b84c72352195c02580908636.zip chromium_src-970078f631430843b84c72352195c02580908636.tar.gz chromium_src-970078f631430843b84c72352195c02580908636.tar.bz2 |
Added app.launch.width and app.launch.height keys to app manifest.
This allows panels and window container types to specify initial dimensions when launching.
BUG=46501
TEST=add app.launch.width/height to an app manifest with container==panel/window
Review URL: http://codereview.chromium.org/2814016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50489 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/data/extensions')
6 files changed, 67 insertions, 0 deletions
diff --git a/chrome/test/data/extensions/manifest_tests/launch_height.json b/chrome/test/data/extensions/manifest_tests/launch_height.json new file mode 100644 index 0000000..dfcb067 --- /dev/null +++ b/chrome/test/data/extensions/manifest_tests/launch_height.json @@ -0,0 +1,11 @@ +{ + "name": "test", + "version": "1", + "app": { + "launch": { + "container": "window", + "height": 480, + "local_path": "bar.html" + } + } +} diff --git a/chrome/test/data/extensions/manifest_tests/launch_height_invalid.json b/chrome/test/data/extensions/manifest_tests/launch_height_invalid.json new file mode 100644 index 0000000..22edc773 --- /dev/null +++ b/chrome/test/data/extensions/manifest_tests/launch_height_invalid.json @@ -0,0 +1,11 @@ +{ + "name": "test", + "version": "1", + "app": { + "launch": { + "container": "tab", + "height": 480, + "local_path": "bar.html" + } + } +} diff --git a/chrome/test/data/extensions/manifest_tests/launch_height_negative.json b/chrome/test/data/extensions/manifest_tests/launch_height_negative.json new file mode 100644 index 0000000..ed70e19 --- /dev/null +++ b/chrome/test/data/extensions/manifest_tests/launch_height_negative.json @@ -0,0 +1,11 @@ +{ + "name": "test", + "version": "1", + "app": { + "launch": { + "container": "window", + "height": -1, + "local_path": "bar.html" + } + } +} diff --git a/chrome/test/data/extensions/manifest_tests/launch_width.json b/chrome/test/data/extensions/manifest_tests/launch_width.json new file mode 100644 index 0000000..994d162 --- /dev/null +++ b/chrome/test/data/extensions/manifest_tests/launch_width.json @@ -0,0 +1,11 @@ +{ + "name": "test", + "version": "1", + "app": { + "launch": { + "container": "window", + "width": 640, + "local_path": "bar.html" + } + } +} diff --git a/chrome/test/data/extensions/manifest_tests/launch_width_invalid.json b/chrome/test/data/extensions/manifest_tests/launch_width_invalid.json new file mode 100644 index 0000000..b886de4 --- /dev/null +++ b/chrome/test/data/extensions/manifest_tests/launch_width_invalid.json @@ -0,0 +1,12 @@ +{ + "name": "test", + "version": "1", + "app": { + "launch": { + "container": "tab", + "width": 640, + "local_path": "bar.html" + } + } +} + diff --git a/chrome/test/data/extensions/manifest_tests/launch_width_negative.json b/chrome/test/data/extensions/manifest_tests/launch_width_negative.json new file mode 100644 index 0000000..e606871 --- /dev/null +++ b/chrome/test/data/extensions/manifest_tests/launch_width_negative.json @@ -0,0 +1,11 @@ +{ + "name": "test", + "version": "1", + "app": { + "launch": { + "container": "window", + "width": -1, + "local_path": "bar.html" + } + } +} |