Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(118)

Issue 10659021: Move chrome.appWindow to chrome.app.window. (Closed)

Created:
8 years, 6 months ago by asargent_no_longer_on_chrome
Modified:
8 years, 5 months ago
CC:
chromium-reviews, pam+watch_chromium.org, Aaron Boodman, mihaip-chromium-reviews_chromium.org, darin-cc_chromium.org, brettw-cc_chromium.org, jeremya
Visibility:
Public.

Description

Move chrome.appWindow to chrome.app.window. BUG=134573 TEST=In platform apps, you should be able to call all the same methods, etc. via the new chrome.app.window namespace that you used to be able to with chrome.appWindow. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=147710

Patch Set 1 #

Patch Set 2 : rebased and resolved conflicts #

Total comments: 10

Patch Set 3 : rebased #

Total comments: 6

Patch Set 4 : rebased again #

Patch Set 5 : test/docs fixes and respond to feedback #

Patch Set 6 : added json schema compiler patch #

Patch Set 7 : fix typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+403 lines, -1732 lines) Patch
M chrome/browser/extensions/api/app_window/app_window_api.h View 1 2 5 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/extensions/platform_app_browsertest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/api/_permission_features.json View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/api/app_window.idl View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/common/extensions/docs/apps/api_index.html View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
A + chrome/common/extensions/docs/apps/app.window.html View 1 2 3 4 14 chunks +18 lines, -18 lines 0 comments Download
D chrome/common/extensions/docs/apps/appWindow.html View 1 2 3 4 1 chunk +0 lines, -892 lines 0 comments Download
M chrome/common/extensions/docs/apps/app_external.html View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/common/extensions/docs/apps/app_hardware.html View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/apps/app_lifecycle.html View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/common/extensions/docs/apps/experimental.identity.html View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/common/extensions/docs/apps/fileSystem.html View 1 2 3 4 3 chunks +108 lines, -2 lines 0 comments Download
M chrome/common/extensions/docs/apps/first_app.html View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/common/extensions/docs/extensions/appWindow.html View 1 2 3 4 2 chunks +3 lines, -720 lines 0 comments Download
M chrome/common/extensions/docs/extensions/experimental.identity.html View 1 2 3 4 4 chunks +4 lines, -0 lines 0 comments Download
M chrome/common/extensions/docs/extensions/fileSystem.html View 1 2 3 4 7 chunks +151 lines, -6 lines 0 comments Download
M chrome/common/extensions/docs/extensions/samples.html View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/samples.json View 1 2 3 4 2 chunks +8 lines, -7 lines 0 comments Download
A + chrome/common/extensions/docs/static/app.window.html View 1 2 3 4 0 chunks +-1 lines, --1 lines 0 comments Download
M chrome/common/extensions/docs/static/app_external.html View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/common/extensions/docs/static/app_hardware.html View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/static/app_lifecycle.html View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/common/extensions/docs/static/first_app.html View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/common/extensions/extension.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/permissions/api_permission.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/extensions/app_window_custom_bindings.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/extensions/extension_dispatcher.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/resources/extensions/app_window_custom_bindings.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/extensions/api_test/file_system/get_display_path/background.js View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/extensions/api_test/file_system/get_display_path_prettify/background.js View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/extensions/api_test/file_system/get_writable_file_entry/background.js View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/extensions/api_test/file_system/get_writable_file_entry_with_write/background.js View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/extensions/api_test/file_system/invalid_choose_file_type/background.js View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/extensions/api_test/file_system/is_writable_file_entry/background.js View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/extensions/api_test/file_system/open_cancel/background.js View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/extensions/api_test/file_system/open_existing/background.js View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/extensions/api_test/file_system/open_existing_with_write/background.js View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/extensions/api_test/file_system/open_writable_existing/background.js View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/extensions/api_test/file_system/open_writable_existing_with_write/background.js View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/extensions/api_test/file_system/save_cancel/background.js View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/extensions/api_test/file_system/save_existing/background.js View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/extensions/api_test/file_system/save_existing_with_write/background.js View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/extensions/api_test/file_system/save_new/background.js View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/extensions/api_test/file_system/save_new_with_write/background.js View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/extensions/platform_apps/browser_tag/manifest.json View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/extensions/platform_apps/browser_tag/test.js View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/extensions/platform_apps/browser_tag_isolation/manifest.json View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/extensions/platform_apps/browser_tag_isolation/test.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/extensions/platform_apps/context_menu/manifest.json View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/test/data/extensions/platform_apps/context_menu/test.js View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/extensions/platform_apps/iframes/manifest.json View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/extensions/platform_apps/iframes/test.js View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/extensions/platform_apps/minimal/manifest.json View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/test/data/extensions/platform_apps/minimal/test.js View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/extensions/platform_apps/navigation/manifest.json View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/test/data/extensions/platform_apps/navigation/test.js View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/extensions/platform_apps/open_link/manifest.json View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/test/data/extensions/platform_apps/open_link/test.js View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/extensions/platform_apps/restrictions/manifest.json View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M chrome/test/data/extensions/platform_apps/restrictions/test.js View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/extensions/platform_apps/windows_api/manifest.json View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/test/data/extensions/platform_apps/windows_api/test.js View 1 2 5 chunks +7 lines, -7 lines 0 comments Download
M tools/json_schema_compiler/schema_bundle_generator.py View 1 2 3 4 5 6 2 chunks +6 lines, -7 lines 0 comments Download
M tools/json_schema_compiler/schema_util.py View 1 2 3 4 5 2 chunks +16 lines, -0 lines 0 comments Download
M tools/json_schema_compiler/schema_util_test.py View 1 2 3 4 5 3 chunks +16 lines, -4 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
asargent_no_longer_on_chrome
miket: please review everything kalman: please review these files in particular: _permission_features.json extension_dispatcher.cc extension_permission_set.cc Everything ...
8 years, 6 months ago (2012-06-26 00:35:14 UTC) #1
not at google - send to devlin
Yes, I have to think about what might happen giving different sections of APIs different ...
8 years, 6 months ago (2012-06-26 01:18:08 UTC) #2
Aaron Boodman
http://codereview.chromium.org/10659021/diff/2001/chrome/common/extensions/api/_permission_features.json File chrome/common/extensions/api/_permission_features.json (right): http://codereview.chromium.org/10659021/diff/2001/chrome/common/extensions/api/_permission_features.json#newcode16 chrome/common/extensions/api/_permission_features.json:16: "app.window": { We've never had permissions named this way... ...
8 years, 6 months ago (2012-06-26 02:21:00 UTC) #3
Mihai Parparita -not on Chrome
http://codereview.chromium.org/10659021/diff/2001/chrome/common/extensions/api/_permission_features.json File chrome/common/extensions/api/_permission_features.json (right): http://codereview.chromium.org/10659021/diff/2001/chrome/common/extensions/api/_permission_features.json#newcode16 chrome/common/extensions/api/_permission_features.json:16: "app.window": { On 2012/06/26 02:21:00, Aaron Boodman wrote: > ...
8 years, 6 months ago (2012-06-26 05:19:16 UTC) #4
Mihai Parparita -not on Chrome
BTW, the tryserver failures are because the tests added by http://crrev.com/144017 need to be updated ...
8 years, 6 months ago (2012-06-26 05:21:24 UTC) #5
Aaron Boodman
asargent, can you check that this doesn't result in extensions getting access to this API ...
8 years, 6 months ago (2012-06-26 05:41:29 UTC) #6
Mihai Parparita -not on Chrome
On Mon, Jun 25, 2012 at 10:41 PM, <aa@chromium.org> wrote: > Given r134463 >> > ...
8 years, 6 months ago (2012-06-26 07:03:51 UTC) #7
not at google - send to devlin
On 2012/06/26 07:03:51, Mihai Parparita wrote: > On Mon, Jun 25, 2012 at 10:41 PM, ...
8 years, 6 months ago (2012-06-26 07:05:12 UTC) #8
not at google - send to devlin
On 2012/06/26 07:05:12, kalman wrote: > On 2012/06/26 07:03:51, Mihai Parparita wrote: > > On ...
8 years, 6 months ago (2012-06-26 07:09:35 UTC) #9
jeremya
Oh, I thought the "platform_app" restriction in _permission_features.json would prevent that :( Made a bug ...
8 years, 6 months ago (2012-06-26 18:01:42 UTC) #10
miket_OOO
lgtm http://codereview.chromium.org/10659021/diff/2001/chrome/common/extensions/docs/extensions/samples.html File chrome/common/extensions/docs/extensions/samples.html (right): http://codereview.chromium.org/10659021/diff/2001/chrome/common/extensions/docs/extensions/samples.html#newcode207 chrome/common/extensions/docs/extensions/samples.html:207: "3fb3045783163c0eaaf0d0ce139f254502192a92": "CALCULATOR (PACKAGED APP) ADD NUMBERS. NOW INCLUDES ...
8 years, 6 months ago (2012-06-26 18:07:05 UTC) #11
not at google - send to devlin
> Oh, I thought the "platform_app" restriction in _permission_features.json > would prevent that :( > ...
8 years, 6 months ago (2012-06-26 21:48:04 UTC) #12
Mihai Parparita -not on Chrome
Given that Jeremy fixed appWindow getting exposed to extensions, are there any other fundamental objections ...
8 years, 5 months ago (2012-07-14 00:42:32 UTC) #13
not at google - send to devlin
On 2012/07/14 00:42:32, Mihai Parparita wrote: > Given that Jeremy fixed appWindow getting exposed to ...
8 years, 5 months ago (2012-07-16 01:54:42 UTC) #14
not at google - send to devlin
On 2012/07/16 01:54:42, kalman wrote: > On 2012/07/14 00:42:32, Mihai Parparita wrote: > > Given ...
8 years, 5 months ago (2012-07-16 01:59:25 UTC) #15
not at google - send to devlin
On 2012/07/16 01:59:25, kalman wrote: > On 2012/07/16 01:54:42, kalman wrote: > > On 2012/07/14 ...
8 years, 5 months ago (2012-07-16 01:59:33 UTC) #16
not at google - send to devlin
I didn't get another email, but it seems to have been updated to here we ...
8 years, 5 months ago (2012-07-18 04:27:37 UTC) #17
asargent_no_longer_on_chrome
No email because I wasn't ready for re-review yet (still updating tests and getting documentation ...
8 years, 5 months ago (2012-07-18 23:41:08 UTC) #18
not at google - send to devlin
On 2012/07/18 23:41:08, Antony Sargent wrote: > No email because I wasn't ready for re-review ...
8 years, 5 months ago (2012-07-18 23:49:28 UTC) #19
asargent_no_longer_on_chrome
Ok, now ready for review again. I suggest looking at diffs between patch sets 4 ...
8 years, 5 months ago (2012-07-20 00:11:46 UTC) #20
Mihai Parparita -not on Chrome
http://codereview.chromium.org/10659021/diff/18001/chrome/test/data/extensions/platform_apps/iframes/manifest.json File chrome/test/data/extensions/platform_apps/iframes/manifest.json (right): http://codereview.chromium.org/10659021/diff/18001/chrome/test/data/extensions/platform_apps/iframes/manifest.json#newcode7 chrome/test/data/extensions/platform_apps/iframes/manifest.json:7: "app.window" On 2012/07/20 00:11:47, Antony Sargent wrote: > On ...
8 years, 5 months ago (2012-07-20 00:21:42 UTC) #21
Mihai Parparita -not on Chrome
http://codereview.chromium.org/10659021/diff/2001/tools/json_schema_compiler/schema_bundle_generator.py File tools/json_schema_compiler/schema_bundle_generator.py (right): http://codereview.chromium.org/10659021/diff/2001/tools/json_schema_compiler/schema_bundle_generator.py#newcode86 tools/json_schema_compiler/schema_bundle_generator.py:86: # Transform a fully qualified function name like foo.bar.baz ...
8 years, 5 months ago (2012-07-20 00:36:51 UTC) #22
asargent_no_longer_on_chrome
> Not seeing this change in the current patch. Oops, forgot to merge this into ...
8 years, 5 months ago (2012-07-20 05:02:09 UTC) #23
Mihai Parparita -not on Chrome
8 years, 5 months ago (2012-07-20 05:06:12 UTC) #24
LGTM

Powered by Google App Engine
This is Rietveld 408576698