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

Issue 14768009: Identity API: Add component app for auth flow UI (Closed)

Created:
7 years, 7 months ago by Michael Courage
Modified:
7 years, 7 months ago
CC:
chromium-reviews, Aaron Boodman, arv+watch_chromium.org, chromium-apps-reviews_chromium.org
Visibility:
Public.

Description

Identity API: Add component app for auth flow UI All Identity API UI is moving into a webview tag inside a component app, allowing Chrome Apps to be isolated from the browser. This change adds a component app that displays a webview based dialog box, and a private API used to launch the app and load its resources. BUG=228908 (This is part of step #6 in the description.) Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=201736

Patch Set 1 #

Patch Set 2 : no permission message for identityPrivate #

Total comments: 14

Patch Set 3 : better filenames #

Patch Set 4 : fix two missing renames #

Patch Set 5 : localized window title #

Total comments: 6

Patch Set 6 : address code review comments #

Total comments: 2

Patch Set 7 : fix spacing #

Patch Set 8 : rebase to ToT #

Patch Set 9 : rebase to ToT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+261 lines, -0 lines) Patch
M chrome/browser/browser_resources.grd View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
A chrome/browser/extensions/api/identity_private/identity_private_api.h View 1 chunk +30 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/identity_private/identity_private_api.cc View 1 2 3 4 1 chunk +38 lines, -0 lines 0 comments Download
M chrome/browser/extensions/component_loader.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_function_histogram_value.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/component_extension_resources.grd View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/browser/resources/identity_scope_approval_dialog/background.js View 1 2 3 4 5 1 chunk +34 lines, -0 lines 0 comments Download
A chrome/browser/resources/identity_scope_approval_dialog/manifest.json View 1 2 3 4 5 6 1 chunk +24 lines, -0 lines 0 comments Download
A chrome/browser/resources/identity_scope_approval_dialog/scope_approval_dialog.css View 1 2 1 chunk +31 lines, -0 lines 0 comments Download
A chrome/browser/resources/identity_scope_approval_dialog/scope_approval_dialog.html View 1 2 3 4 5 1 chunk +12 lines, -0 lines 0 comments Download
A chrome/browser/resources/identity_scope_approval_dialog/scope_approval_dialog.js View 1 2 3 4 1 chunk +46 lines, -0 lines 0 comments Download
M chrome/chrome_browser_extensions.gypi View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/_permission_features.json View 1 2 3 4 5 6 7 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/api.gyp View 1 chunk +1 line, -0 lines 0 comments Download
A chrome/common/extensions/api/identity_private.idl View 1 chunk +20 lines, -0 lines 0 comments Download
M chrome/common/extensions/extension_constants.h View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/common/extensions/extension_constants.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/permissions/api_permission.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/permissions/chrome_api_permissions.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/extensions/permissions/permission_set_unittest.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
Michael Courage
This is just the component app from https://codereview.chromium.org/14081014/, and the private API that supports it. ...
7 years, 7 months ago (2013-05-08 23:40:54 UTC) #1
Michael Courage
ping. Let me know if there's anything more I can do with this review to ...
7 years, 7 months ago (2013-05-10 19:01:27 UTC) #2
James Hawkins
I will get to this, but probably not until Monday. I'm crushed under I/O right ...
7 years, 7 months ago (2013-05-10 19:08:35 UTC) #3
Michael Courage
OK, thanks for the update.
7 years, 7 months ago (2013-05-10 19:59:05 UTC) #4
Michael Courage
Dan, can you review chrome/browser/resources since James is super-busy with I/O? I'd like to get ...
7 years, 7 months ago (2013-05-13 21:32:44 UTC) #5
Dan Beam
every owner in c/b/resources or c/b/ui/webui is busy with I/O except arv@ (estade@, jhawkins, and ...
7 years, 7 months ago (2013-05-13 21:45:53 UTC) #6
James Hawkins
https://codereview.chromium.org/14768009/diff/5001/chrome/browser/resources/identity_api_ui/identity_api_ui.css File chrome/browser/resources/identity_api_ui/identity_api_ui.css (right): https://codereview.chromium.org/14768009/diff/5001/chrome/browser/resources/identity_api_ui/identity_api_ui.css#newcode1 chrome/browser/resources/identity_api_ui/identity_api_ui.css:1: /* Copyright (c) 2013 The Chromium Authors. All rights ...
7 years, 7 months ago (2013-05-13 22:24:06 UTC) #7
Michael Courage
Thanks for making time during what I'm sure is a crazy week. https://codereview.chromium.org/14768009/diff/5001/chrome/browser/resources/identity_api_ui/identity_api_ui.css File chrome/browser/resources/identity_api_ui/identity_api_ui.css ...
7 years, 7 months ago (2013-05-14 17:10:56 UTC) #8
James Hawkins
https://codereview.chromium.org/14768009/diff/5001/chrome/browser/resources/identity_api_ui/scope_approval_dialog.html File chrome/browser/resources/identity_api_ui/scope_approval_dialog.html (right): https://codereview.chromium.org/14768009/diff/5001/chrome/browser/resources/identity_api_ui/scope_approval_dialog.html#newcode3 chrome/browser/resources/identity_api_ui/scope_approval_dialog.html:3: <title>Identity API Scope Approval Dialog</title> On 2013/05/14 17:10:56, Michael ...
7 years, 7 months ago (2013-05-15 15:24:45 UTC) #9
Michael Courage
https://codereview.chromium.org/14768009/diff/5001/chrome/browser/resources/identity_api_ui/scope_approval_dialog.html File chrome/browser/resources/identity_api_ui/scope_approval_dialog.html (right): https://codereview.chromium.org/14768009/diff/5001/chrome/browser/resources/identity_api_ui/scope_approval_dialog.html#newcode3 chrome/browser/resources/identity_api_ui/scope_approval_dialog.html:3: <title>Identity API Scope Approval Dialog</title> On 2013/05/15 15:24:45, James ...
7 years, 7 months ago (2013-05-15 18:39:34 UTC) #10
Michael Courage
ping
7 years, 7 months ago (2013-05-21 17:30:49 UTC) #11
James Hawkins
LGTM with nits. https://codereview.chromium.org/14768009/diff/60001/chrome/browser/resources/identity_scope_approval_dialog/background.js File chrome/browser/resources/identity_scope_approval_dialog/background.js (right): https://codereview.chromium.org/14768009/diff/60001/chrome/browser/resources/identity_scope_approval_dialog/background.js#newcode5 chrome/browser/resources/identity_scope_approval_dialog/background.js:5: function showAuthDialog(key, url, mode) { nit: ...
7 years, 7 months ago (2013-05-21 18:05:14 UTC) #12
Michael Courage
https://codereview.chromium.org/14768009/diff/60001/chrome/browser/resources/identity_scope_approval_dialog/background.js File chrome/browser/resources/identity_scope_approval_dialog/background.js (right): https://codereview.chromium.org/14768009/diff/60001/chrome/browser/resources/identity_scope_approval_dialog/background.js#newcode5 chrome/browser/resources/identity_scope_approval_dialog/background.js:5: function showAuthDialog(key, url, mode) { On 2013/05/21 18:05:14, James ...
7 years, 7 months ago (2013-05-21 19:10:21 UTC) #13
miket_OOO
lgtm https://codereview.chromium.org/14768009/diff/76001/chrome/browser/resources/identity_scope_approval_dialog/manifest.json File chrome/browser/resources/identity_scope_approval_dialog/manifest.json (right): https://codereview.chromium.org/14768009/diff/76001/chrome/browser/resources/identity_scope_approval_dialog/manifest.json#newcode10 chrome/browser/resources/identity_scope_approval_dialog/manifest.json:10: "identityPrivate", Indentation nonstandard
7 years, 7 months ago (2013-05-21 19:52:49 UTC) #14
Michael Courage
https://codereview.chromium.org/14768009/diff/76001/chrome/browser/resources/identity_scope_approval_dialog/manifest.json File chrome/browser/resources/identity_scope_approval_dialog/manifest.json (right): https://codereview.chromium.org/14768009/diff/76001/chrome/browser/resources/identity_scope_approval_dialog/manifest.json#newcode10 chrome/browser/resources/identity_scope_approval_dialog/manifest.json:10: "identityPrivate", On 2013/05/21 19:52:49, miket wrote: > Indentation nonstandard ...
7 years, 7 months ago (2013-05-21 20:29:45 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/courage@chromium.org/14768009/84001
7 years, 7 months ago (2013-05-21 20:31:15 UTC) #16
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=151913
7 years, 7 months ago (2013-05-22 03:23:00 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/courage@chromium.org/14768009/101001
7 years, 7 months ago (2013-05-22 17:44:33 UTC) #18
commit-bot: I haz the power
7 years, 7 months ago (2013-05-23 10:34:56 UTC) #19
Message was sent while issue was closed.
Change committed as 201736

Powered by Google App Engine
This is Rietveld 408576698