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

Issue 21297005: <webview>: Refactor Permission API to chrome (Closed)

Created:
7 years, 4 months ago by Fady Samuel
Modified:
7 years, 4 months ago
Reviewers:
lazyboy, jam
CC:
chromium-reviews, joi+watch-content_chromium.org, chromium-apps-reviews_chromium.org, darin-cc_chromium.org, jam, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@cleanup_permissions
Visibility:
Public.

Description

<webview>: Refactor Permission API to chrome BUG=166165 Test=WebViewTest.*, WebViewInteractiveTest.* TBR=cdn@chromium.org for removing IPCs in browser_plugin_messages.h NOTRY=true, previous patch worked, just merging. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=217057

Patch Set 1 #

Patch Set 2 : Support all permission types #

Patch Set 3 : Fixed some bugs #

Total comments: 17

Patch Set 4 : Addressed comments #

Patch Set 5 : Merge with ToT #

Patch Set 6 : Cleanup #

Total comments: 2

Patch Set 7 : Addressed nit #

Total comments: 9

Patch Set 8 : Addressed jam@'s comments #

Total comments: 6

Patch Set 9 : Addressed jam@'s comments #

Patch Set 10 : Merge with ToT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+514 lines, -481 lines) Patch
M chrome/browser/extensions/api/webview/webview_api.h View 1 chunk +16 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/webview/webview_api.cc View 2 chunks +37 lines, -8 lines 0 comments Download
M chrome/browser/extensions/extension_function_histogram_value.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/guestview/webview/webview_constants.h View 1 2 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/guestview/webview/webview_constants.cc View 1 2 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/guestview/webview/webview_guest.h View 1 2 3 4 3 chunks +19 lines, -0 lines 0 comments Download
M chrome/browser/guestview/webview/webview_guest.cc View 1 2 3 4 5 6 7 4 chunks +68 lines, -1 line 0 comments Download
M chrome/common/extensions/api/webview.json View 1 chunk +22 lines, -0 lines 0 comments Download
M chrome/renderer/resources/extensions/web_view.js View 1 2 3 4 11 chunks +179 lines, -152 lines 0 comments Download
M chrome/renderer/resources/extensions/web_view_experimental.js View 1 2 3 4 5 6 7 8 2 chunks +72 lines, -64 lines 0 comments Download
M content/browser/browser_plugin/browser_plugin_guest.h View 1 2 3 4 5 6 7 8 4 chunks +5 lines, -7 lines 0 comments Download
M content/browser/browser_plugin/browser_plugin_guest.cc View 1 2 3 4 5 6 7 12 chunks +35 lines, -28 lines 0 comments Download
content/common/browser_plugin/browser_plugin_constants.h View 1 2 3 4 5 6 7 8 3 chunks +1 line, -6 lines 0 comments Download
M content/common/browser_plugin/browser_plugin_constants.cc View 1 2 3 4 5 6 7 8 3 chunks +1 line, -4 lines 0 comments Download
D content/common/browser_plugin/browser_plugin_message_enums.h View 1 chunk +0 lines, -38 lines 0 comments Download
M content/common/browser_plugin/browser_plugin_messages.h View 1 2 3 4 5 6 7 8 4 chunks +1 line, -23 lines 0 comments Download
content/content_common.gypi View 1 2 3 4 5 6 7 8 2 chunks +1 line, -1 line 0 comments Download
M content/public/browser/browser_plugin_guest_delegate.h View 1 2 3 4 5 6 7 8 2 chunks +16 lines, -0 lines 0 comments Download
M content/public/browser/browser_plugin_guest_delegate.cc View 1 1 chunk +7 lines, -0 lines 0 comments Download
A + content/public/common/browser_plugin_permission_type.h View 1 2 3 4 5 6 7 8 1 chunk +10 lines, -14 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin.h View 1 2 3 4 5 6 7 8 5 chunks +1 line, -27 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin.cc View 1 2 3 4 5 6 7 8 6 chunks +0 lines, -81 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin_bindings.cc View 1 2 3 4 2 chunks +0 lines, -27 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
Fady Samuel
7 years, 4 months ago (2013-08-03 10:23:52 UTC) #1
lazyboy
https://chromiumcodereview.appspot.com/21297005/diff/6001/chrome/browser/guestview/webview/webview_guest.h File chrome/browser/guestview/webview/webview_guest.h (right): https://chromiumcodereview.appspot.com/21297005/diff/6001/chrome/browser/guestview/webview/webview_guest.h#newcode71 chrome/browser/guestview/webview/webview_guest.h:71: // |user_input|. Also say what the return value is ...
7 years, 4 months ago (2013-08-05 09:26:58 UTC) #2
Fady Samuel
PTAL addressed comments https://codereview.chromium.org/21297005/diff/6001/chrome/browser/guestview/webview/webview_guest.h File chrome/browser/guestview/webview/webview_guest.h (right): https://codereview.chromium.org/21297005/diff/6001/chrome/browser/guestview/webview/webview_guest.h#newcode71 chrome/browser/guestview/webview/webview_guest.h:71: // |user_input|. On 2013/08/05 09:26:58, lazyboy ...
7 years, 4 months ago (2013-08-06 07:14:35 UTC) #3
lazyboy
lgtm https://chromiumcodereview.appspot.com/21297005/diff/6001/content/browser/browser_plugin/browser_plugin_guest.cc File content/browser/browser_plugin/browser_plugin_guest.cc (right): https://chromiumcodereview.appspot.com/21297005/diff/6001/content/browser/browser_plugin/browser_plugin_guest.cc#newcode418 content/browser/browser_plugin/browser_plugin_guest.cc:418: callback.Run(false, ""); On 2013/08/06 07:14:40, Fady Samuel wrote: ...
7 years, 4 months ago (2013-08-08 19:58:01 UTC) #4
Fady Samuel
+jam@ for browser_plugin_guest_delegate.* https://codereview.chromium.org/21297005/diff/22001/chrome/renderer/resources/extensions/web_view_experimental.js File chrome/renderer/resources/extensions/web_view_experimental.js (right): https://codereview.chromium.org/21297005/diff/22001/chrome/renderer/resources/extensions/web_view_experimental.js#newcode18 chrome/renderer/resources/extensions/web_view_experimental.js:18: var createEvent = require('webView').CreateEvent; On 2013/08/08 ...
7 years, 4 months ago (2013-08-08 20:13:45 UTC) #5
jam
https://codereview.chromium.org/21297005/diff/27001/content/public/browser/browser_plugin_guest_delegate.h File content/public/browser/browser_plugin_guest_delegate.h (right): https://codereview.chromium.org/21297005/diff/27001/content/public/browser/browser_plugin_guest_delegate.h#newcode8 content/public/browser/browser_plugin_guest_delegate.h:8: #include "base/callback.h" nit: callback_forward is enough? https://codereview.chromium.org/21297005/diff/27001/content/public/browser/browser_plugin_guest_delegate.h#newcode24 content/public/browser/browser_plugin_guest_delegate.h:24: const ...
7 years, 4 months ago (2013-08-08 21:22:11 UTC) #6
Fady Samuel
PTAL https://codereview.chromium.org/21297005/diff/27001/content/public/browser/browser_plugin_guest_delegate.h File content/public/browser/browser_plugin_guest_delegate.h (right): https://codereview.chromium.org/21297005/diff/27001/content/public/browser/browser_plugin_guest_delegate.h#newcode8 content/public/browser/browser_plugin_guest_delegate.h:8: #include "base/callback.h" On 2013/08/08 21:22:11, jam wrote: > ...
7 years, 4 months ago (2013-08-08 21:42:49 UTC) #7
jam
https://codereview.chromium.org/21297005/diff/27001/content/public/browser/browser_plugin_guest_delegate.h File content/public/browser/browser_plugin_guest_delegate.h (right): https://codereview.chromium.org/21297005/diff/27001/content/public/browser/browser_plugin_guest_delegate.h#newcode24 content/public/browser/browser_plugin_guest_delegate.h:24: const std::string& /* user_input */)> On 2013/08/08 21:42:49, Fady ...
7 years, 4 months ago (2013-08-09 00:07:27 UTC) #8
Fady Samuel
PTAL https://codereview.chromium.org/21297005/diff/33001/content/public/common/browser_plugin_message_enums.h File content/public/common/browser_plugin_message_enums.h (right): https://codereview.chromium.org/21297005/diff/33001/content/public/common/browser_plugin_message_enums.h#newcode1 content/public/common/browser_plugin_message_enums.h:1: // Copyright 2013 The Chromium Authors. All rights ...
7 years, 4 months ago (2013-08-09 15:52:58 UTC) #9
jam
lgtm
7 years, 4 months ago (2013-08-09 19:29:17 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fsamuel@chromium.org/21297005/50003
7 years, 4 months ago (2013-08-09 19:32:10 UTC) #11
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=19877
7 years, 4 months ago (2013-08-09 20:31:40 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fsamuel@chromium.org/21297005/50003
7 years, 4 months ago (2013-08-09 20:36:39 UTC) #13
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=186080
7 years, 4 months ago (2013-08-10 02:40:07 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fsamuel@chromium.org/21297005/50003
7 years, 4 months ago (2013-08-10 02:55:50 UTC) #15
commit-bot: I haz the power
Failed to apply patch for chrome/browser/extensions/extension_function_histogram_value.h: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 4 months ago (2013-08-10 02:56:25 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fsamuel@chromium.org/21297005/80001
7 years, 4 months ago (2013-08-12 14:41:23 UTC) #17
commit-bot: I haz the power
Commit queue rejected this change because the description was changed between the time the change ...
7 years, 4 months ago (2013-08-12 19:54:27 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fsamuel@chromium.org/21297005/80001
7 years, 4 months ago (2013-08-12 19:56:23 UTC) #19
commit-bot: I haz the power
7 years, 4 months ago (2013-08-12 19:59:25 UTC) #20
Message was sent while issue was closed.
Change committed as 217057

Powered by Google App Engine
This is Rietveld 408576698