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/common/extensions/extension_constants.h | |
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/common/extensions/extension_constants.h')
-rw-r--r-- | chrome/common/extensions/extension_constants.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/common/extensions/extension_constants.h b/chrome/common/extensions/extension_constants.h index c515c72..510ccd7 100644 --- a/chrome/common/extensions/extension_constants.h +++ b/chrome/common/extensions/extension_constants.h @@ -25,7 +25,9 @@ namespace extension_manifest_keys { extern const wchar_t* kLaunch; extern const wchar_t* kLaunchContainer; extern const wchar_t* kLaunchFullscreen; + extern const wchar_t* kLaunchHeight; extern const wchar_t* kLaunchLocalPath; + extern const wchar_t* kLaunchWidth; extern const wchar_t* kLaunchWebURL; extern const wchar_t* kJs; extern const wchar_t* kMatches; @@ -101,8 +103,12 @@ namespace extension_manifest_errors { extern const char* kInvalidKey; extern const char* kInvalidLaunchContainer; extern const char* kInvalidLaunchFullscreen; + extern const char* kInvalidLaunchHeight; + extern const char* kInvalidLaunchHeightContainer; extern const char* kInvalidLaunchLocalPath; extern const char* kInvalidLaunchWebURL; + extern const char* kInvalidLaunchWidth; + extern const char* kInvalidLaunchWidthContainer; extern const char* kInvalidManifest; extern const char* kInvalidMatchCount; extern const char* kInvalidMatch; |