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

Issue 556563003: Move ExtensionOptionsGuest code from chrome to extensions (Closed)

Created:
6 years, 3 months ago by ericzeng
Modified:
6 years, 3 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Move ExtensionOptionsGuest code from chrome to extensions Move embedded extension options guest view files from chrome/browser/guest_view/extension_options/ to extensions/browser/guest_view/extension_options. Also add a ExtensionOptionsGuestDelegate in chrome/ to handle certain tasks, like opening tabs and handling context menus, which cannot be run from within extensions/. This move makes the extension_options codebase more consistent with the other guest views, which are organized similarly. BUG=409316 Committed: https://crrev.com/38c80c1b5a395a1890d8746aad8c3289a9ffde73 Cr-Commit-Position: refs/heads/master@{#294326}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Rebase and address style issues #

Patch Set 3 : Rebase #

Patch Set 4 : Rebase #

Patch Set 5 : Rebase #

Patch Set 6 : Missed some refactoring in ExtensionsApiClient #

Patch Set 7 : Add missing build target + rebase #

Patch Set 8 : Fix gn #

Unified diffs Side-by-side diffs Delta from patch set Stats (+208 lines, -548 lines) Patch
M chrome/browser/extensions/api/chrome_extensions_api_client.h View 1 2 3 4 5 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/chrome_extensions_api_client.cc View 1 2 3 4 5 3 chunks +6 lines, -6 lines 0 comments Download
D chrome/browser/guest_view/extension_options/DEPS View 1 chunk +0 lines, -3 lines 0 comments Download
A chrome/browser/guest_view/extension_options/chrome_extension_options_guest_delegate.h View 1 chunk +37 lines, -0 lines 0 comments Download
A chrome/browser/guest_view/extension_options/chrome_extension_options_guest_delegate.cc View 1 chunk +48 lines, -0 lines 0 comments Download
D chrome/browser/guest_view/extension_options/extension_options_apitest.cc View 1 2 3 1 chunk +0 lines, -73 lines 0 comments Download
D chrome/browser/guest_view/extension_options/extension_options_constants.h View 1 chunk +0 lines, -30 lines 0 comments Download
D chrome/browser/guest_view/extension_options/extension_options_constants.cc View 1 chunk +0 lines, -27 lines 0 comments Download
D chrome/browser/guest_view/extension_options/extension_options_guest.h View 1 chunk +0 lines, -77 lines 0 comments Download
D chrome/browser/guest_view/extension_options/extension_options_guest.cc View 1 chunk +0 lines, -263 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 1 chunk +2 lines, -4 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 2 chunks +1 line, -1 line 0 comments Download
D chrome/common/extensions/api/extension_options_internal.idl View 1 chunk +0 lines, -12 lines 0 comments Download
M chrome/common/extensions/api/schemas.gypi View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M extensions/browser/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +6 lines, -0 lines 0 comments Download
M extensions/browser/api/extensions_api_client.h View 1 2 3 4 5 3 chunks +6 lines, -2 lines 0 comments Download
M extensions/browser/api/extensions_api_client.cc View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
A + extensions/browser/guest_view/extension_options/DEPS View 0 chunks +-1 lines, --1 lines 0 comments Download
A + extensions/browser/guest_view/extension_options/extension_options_apitest.cc View 0 chunks +-1 lines, --1 lines 0 comments Download
A + extensions/browser/guest_view/extension_options/extension_options_constants.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + extensions/browser/guest_view/extension_options/extension_options_constants.cc View 2 chunks +1 line, -2 lines 0 comments Download
A + extensions/browser/guest_view/extension_options/extension_options_guest.h View 3 chunks +8 lines, -4 lines 0 comments Download
A + extensions/browser/guest_view/extension_options/extension_options_guest.cc View 1 9 chunks +37 lines, -39 lines 0 comments Download
A extensions/browser/guest_view/extension_options/extension_options_guest_delegate.h View 1 chunk +36 lines, -0 lines 0 comments Download
A + extensions/browser/guest_view/extension_options/extension_options_guest_delegate.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M extensions/browser/guest_view/guest_view_base.cc View 1 2 3 4 5 2 chunks +2 lines, -1 line 0 comments Download
M extensions/common/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
A + extensions/common/api/extension_options_internal.idl View 0 chunks +-1 lines, --1 lines 0 comments Download
M extensions/common/api/schemas.gypi View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M extensions/extensions.gyp View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 43 (18 generated)
ericzeng
PTAL
6 years, 3 months ago (2014-09-09 01:19:13 UTC) #2
Fady Samuel
https://codereview.chromium.org/556563003/diff/1/extensions/browser/guest_view/extension_options/extension_options_guest.cc File extensions/browser/guest_view/extension_options/extension_options_guest.cc (right): https://codereview.chromium.org/556563003/diff/1/extensions/browser/guest_view/extension_options/extension_options_guest.cc#newcode117 extensions/browser/guest_view/extension_options/extension_options_guest.cc:117: if (extension_options_guest_delegate_) Put the statement below in a block. ...
6 years, 3 months ago (2014-09-09 02:15:39 UTC) #3
ericzeng
https://codereview.chromium.org/556563003/diff/1/extensions/browser/guest_view/extension_options/extension_options_guest.cc File extensions/browser/guest_view/extension_options/extension_options_guest.cc (right): https://codereview.chromium.org/556563003/diff/1/extensions/browser/guest_view/extension_options/extension_options_guest.cc#newcode117 extensions/browser/guest_view/extension_options/extension_options_guest.cc:117: if (extension_options_guest_delegate_) On 2014/09/09 02:15:39, Fady Samuel wrote: > ...
6 years, 3 months ago (2014-09-09 20:31:32 UTC) #4
Fady Samuel
guest_view lgtm
6 years, 3 months ago (2014-09-09 20:57:36 UTC) #5
Ken Rockot(use gerrit already)
great. extensions lgtm
6 years, 3 months ago (2014-09-09 21:02:12 UTC) #6
Yoyo Zhou
On 2014/09/09 21:02:12, Ken Rockot wrote: > great. extensions lgtm LGTM
6 years, 3 months ago (2014-09-09 22:22:36 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ericzeng@chromium.org/556563003/40001
6 years, 3 months ago (2014-09-10 00:30:14 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_rel/builds/13905)
6 years, 3 months ago (2014-09-10 01:49:35 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ericzeng@chromium.org/556563003/40001
6 years, 3 months ago (2014-09-10 07:41:39 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_rel/builds/14002)
6 years, 3 months ago (2014-09-10 07:52:05 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ericzeng@chromium.org/556563003/40001
6 years, 3 months ago (2014-09-10 11:12:23 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_rel/builds/14042)
6 years, 3 months ago (2014-09-10 11:20:47 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ericzeng@chromium.org/556563003/40001
6 years, 3 months ago (2014-09-10 11:22:20 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_rel/builds/14045)
6 years, 3 months ago (2014-09-10 11:29:30 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ericzeng@chromium.org/556563003/60001
6 years, 3 months ago (2014-09-10 17:33:47 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_rel/builds/14149)
6 years, 3 months ago (2014-09-10 18:09:43 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ericzeng@chromium.org/556563003/80001
6 years, 3 months ago (2014-09-10 21:01:43 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_rel/builds/14252)
6 years, 3 months ago (2014-09-10 22:04:03 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/556563003/100001
6 years, 3 months ago (2014-09-10 22:30:28 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_rel/builds/14315) mac_chromium_rel_swarming on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_swarming/builds/12378)
6 years, 3 months ago (2014-09-10 23:52:10 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/556563003/120001
6 years, 3 months ago (2014-09-11 00:21:07 UTC) #37
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_rel/builds/14368)
6 years, 3 months ago (2014-09-11 01:18:35 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/556563003/140001
6 years, 3 months ago (2014-09-11 02:49:30 UTC) #41
commit-bot: I haz the power
Committed patchset #8 (id:140001) as 4677827c5c4bb1304f07dc27acccd39ed764f070
6 years, 3 months ago (2014-09-11 05:44:00 UTC) #42
commit-bot: I haz the power
6 years, 3 months ago (2014-09-11 05:46:02 UTC) #43
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/38c80c1b5a395a1890d8746aad8c3289a9ffde73
Cr-Commit-Position: refs/heads/master@{#294326}

Powered by Google App Engine
This is Rietveld 408576698