Add setBounds method and browsertest for get/set bounds to app window API
commit233a6cceddb7c3446959ac6d590901f0a6365949
authorasargent@chromium.org <asargent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Sun, 25 Nov 2012 04:28:24 +0000 (25 04:28 +0000)
committerasargent@chromium.org <asargent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Sun, 25 Nov 2012 04:28:24 +0000 (25 04:28 +0000)
tree83ab64d0d375b5da88919b227a670dc8d4c537bc
parentff828bfe316ea0ccd4a535b5eaac3220584dd925
Add setBounds method and browsertest for get/set bounds to app window API

Also fixed a bug where the window bounds were often not set after creation until the window was moved/resized.

BUG=134068

Review URL: https://chromiumcodereview.appspot.com/11369039

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@169391 0039d316-1c4b-4281-b951-d872f2087c98
12 files changed:
chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc
chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.h
chrome/browser/extensions/api/app_window/app_window_api.cc
chrome/browser/extensions/api/app_window/app_window_apitest.cc [new file with mode: 0644]
chrome/chrome_tests.gypi
chrome/common/extensions/api/app_current_window_internal.idl
chrome/common/extensions/api/app_window.idl
chrome/renderer/resources/extensions/app_window_custom_bindings.js
chrome/test/data/extensions/platform_apps/windows_api_bounds/background.js [new file with mode: 0644]
chrome/test/data/extensions/platform_apps/windows_api_bounds/main.html [new file with mode: 0644]
chrome/test/data/extensions/platform_apps/windows_api_bounds/main.js [new file with mode: 0644]
chrome/test/data/extensions/platform_apps/windows_api_bounds/manifest.json [new file with mode: 0644]