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

Issue 426593007: Refactor guest view availability to be API not permission based. (Closed)

Created:
6 years, 4 months ago by not at google - send to devlin
Modified:
6 years, 4 months ago
Reviewers:
Fady Samuel, ericzeng
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Project:
chromium
Visibility:
Public.

Description

Refactor guest view availability to be API based not permission based. This is a step towards allowing WebUI to directly embed guest views. BUG=386838 R=fsamuel@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=288407

Patch Set 1 #

Total comments: 3

Patch Set 2 : rebase #

Patch Set 3 : again #

Total comments: 4

Patch Set 4 : app view #

Total comments: 4

Patch Set 5 : done #

Total comments: 4

Patch Set 6 : rename #

Total comments: 6

Patch Set 7 : renames #

Patch Set 8 : MostLikelyContextType #

Unified diffs Side-by-side diffs Delta from patch set Stats (+127 lines, -92 lines) Patch
M chrome/browser/extensions/api/guest_view/guest_view_internal_api.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/guest_view/app_view/app_view_constants.h View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/guest_view/app_view/app_view_constants.cc View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/guest_view/app_view/app_view_guest.h View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/guest_view/app_view/app_view_guest.cc View 1 2 3 4 5 6 2 chunks +2 lines, -12 lines 0 comments Download
M chrome/browser/guest_view/extension_options/extension_options_constants.h View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/guest_view/extension_options/extension_options_constants.cc View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/guest_view/extension_options/extension_options_guest.h View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/guest_view/extension_options/extension_options_guest.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -10 lines 0 comments Download
M chrome/browser/guest_view/guest_view_base.h View 1 2 3 4 5 2 chunks +8 lines, -6 lines 0 comments Download
M chrome/browser/guest_view/guest_view_base.cc View 1 2 3 4 5 6 7 2 chunks +33 lines, -8 lines 0 comments Download
M chrome/browser/guest_view/guest_view_manager.h View 1 2 3 4 5 6 7 2 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/guest_view/guest_view_manager.cc View 1 2 3 4 5 6 7 2 chunks +7 lines, -10 lines 0 comments Download
M chrome/browser/guest_view/web_view/web_view_constants.h View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/guest_view/web_view/web_view_constants.cc View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/guest_view/web_view/web_view_guest.h View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/guest_view/web_view/web_view_guest.cc View 1 2 3 4 5 6 3 chunks +9 lines, -19 lines 0 comments Download
M chrome/common/extensions/api/_api_features.json View 1 2 3 4 5 6 7 1 chunk +8 lines, -0 lines 0 comments Download
M extensions/browser/event_router.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M extensions/browser/extension_function_dispatcher.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/process_map.h View 1 2 3 4 5 6 7 1 chunk +21 lines, -9 lines 0 comments Download
M extensions/browser/process_map.cc View 1 2 3 4 5 6 7 1 chunk +3 lines, -2 lines 0 comments Download
M extensions/renderer/dispatcher.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 17 (0 generated)
not at google - send to devlin
Hey Fady WDYT about this approach? All the tests seem to be passing. https://codereview.chromium.org/426593007/diff/1/chrome/browser/guest_view/guest_view_base.cc File ...
6 years, 4 months ago (2014-07-31 22:07:46 UTC) #1
Fady Samuel
Try the WebViewInteractiveTest.* that tests the new window API. Does this work with that?
6 years, 4 months ago (2014-07-31 22:25:12 UTC) #2
not at google - send to devlin
On 2014/07/31 22:25:12, Fady Samuel wrote: > Try the WebViewInteractiveTest.* that tests the new window ...
6 years, 4 months ago (2014-07-31 22:53:34 UTC) #3
not at google - send to devlin
Fady, the precursor CL is in the CQ. I've based this CL off that one, ...
6 years, 4 months ago (2014-08-07 00:25:29 UTC) #4
Fady Samuel
https://codereview.chromium.org/426593007/diff/60001/chrome/browser/guest_view/guest_view_base.cc File chrome/browser/guest_view/guest_view_base.cc (right): https://codereview.chromium.org/426593007/diff/60001/chrome/browser/guest_view/guest_view_base.cc#newcode125 chrome/browser/guest_view/guest_view_base.cc:125: feature->IsAvailableToContext( appViewInternal is available in all apps I think. ...
6 years, 4 months ago (2014-08-07 17:29:31 UTC) #5
not at google - send to devlin
https://codereview.chromium.org/426593007/diff/60001/chrome/browser/guest_view/guest_view_base.cc File chrome/browser/guest_view/guest_view_base.cc (right): https://codereview.chromium.org/426593007/diff/60001/chrome/browser/guest_view/guest_view_base.cc#newcode125 chrome/browser/guest_view/guest_view_base.cc:125: feature->IsAvailableToContext( On 2014/08/07 17:29:31, Fady Samuel wrote: > appViewInternal ...
6 years, 4 months ago (2014-08-07 17:34:41 UTC) #6
not at google - send to devlin
aaand done.
6 years, 4 months ago (2014-08-07 21:25:41 UTC) #7
Fady Samuel
https://codereview.chromium.org/426593007/diff/120001/chrome/browser/guest_view/guest_view_base.cc File chrome/browser/guest_view/guest_view_base.cc (right): https://codereview.chromium.org/426593007/diff/120001/chrome/browser/guest_view/guest_view_base.cc#newcode115 chrome/browser/guest_view/guest_view_base.cc:115: CHECK(feature); Do we really want to kill the browser ...
6 years, 4 months ago (2014-08-07 23:01:19 UTC) #8
not at google - send to devlin
https://codereview.chromium.org/426593007/diff/120001/chrome/browser/guest_view/guest_view_base.cc File chrome/browser/guest_view/guest_view_base.cc (right): https://codereview.chromium.org/426593007/diff/120001/chrome/browser/guest_view/guest_view_base.cc#newcode115 chrome/browser/guest_view/guest_view_base.cc:115: CHECK(feature); On 2014/08/07 23:01:18, Fady Samuel wrote: > Do ...
6 years, 4 months ago (2014-08-07 23:02:56 UTC) #9
not at google - send to devlin
rename'd
6 years, 4 months ago (2014-08-08 00:28:33 UTC) #10
Fady Samuel
lgtm with nits + question https://codereview.chromium.org/426593007/diff/140001/chrome/browser/guest_view/app_view/app_view_guest.cc File chrome/browser/guest_view/app_view/app_view_guest.cc (right): https://codereview.chromium.org/426593007/diff/140001/chrome/browser/guest_view/app_view/app_view_guest.cc#newcode139 chrome/browser/guest_view/app_view/app_view_guest.cc:139: return appview::kEmbedderApiNamespace; nit: rename ...
6 years, 4 months ago (2014-08-08 14:55:19 UTC) #11
not at google - send to devlin
https://codereview.chromium.org/426593007/diff/140001/chrome/browser/guest_view/app_view/app_view_guest.cc File chrome/browser/guest_view/app_view/app_view_guest.cc (right): https://codereview.chromium.org/426593007/diff/140001/chrome/browser/guest_view/app_view/app_view_guest.cc#newcode139 chrome/browser/guest_view/app_view/app_view_guest.cc:139: return appview::kEmbedderApiNamespace; On 2014/08/08 14:55:18, Fady Samuel wrote: > ...
6 years, 4 months ago (2014-08-08 15:25:25 UTC) #12
not at google - send to devlin
The CQ bit was checked by kalman@chromium.org
6 years, 4 months ago (2014-08-08 15:25:31 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kalman@chromium.org/426593007/160001
6 years, 4 months ago (2014-08-08 15:26:31 UTC) #14
not at google - send to devlin
The CQ bit was checked by kalman@chromium.org
6 years, 4 months ago (2014-08-08 15:34:48 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kalman@chromium.org/426593007/180001
6 years, 4 months ago (2014-08-08 15:35:22 UTC) #16
commit-bot: I haz the power
6 years, 4 months ago (2014-08-08 19:01:54 UTC) #17
Message was sent while issue was closed.
Change committed as 288407

Powered by Google App Engine
This is Rietveld 408576698