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

Issue 2004353002: Delete unused code for exclusive access permission prompting. (Closed)

Created:
4 years, 7 months ago by Matt Giuca
Modified:
4 years, 6 months ago
Reviewers:
scheib, Dan Beam
CC:
chromium-reviews, dbeam+watch-options_chromium.org, michaelpg+watch-options_chromium.org, scheib+watch_chromium.org, arv+watch_chromium.org, chrome-apps-syd-reviews_chromium.org, Dan Beam
Base URL:
https://chromium.googlesource.com/chromium/src.git@fullscreen-mac-remove-window-controller
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Delete unused code for exclusive access permission prompting. On all platforms and flag configurations (except Android, which is not covered in this CL), we no longer prompt for fullscreen / mouse lock permission. Therefore, all of the prompting infrastructure is dead code and can now be safely deleted. This change should not have any observable effect. BUG=610900 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/b6adb5143ab0cc79a64c64a42f965bbc595ab14c Cr-Commit-Position: refs/heads/master@{#398504}

Patch Set 1 #

Patch Set 2 : Rebase. #

Patch Set 3 : Rebase. #

Patch Set 4 : Remove unused element ids. #

Total comments: 4

Patch Set 5 : Added TODO to delete content settings. #

Patch Set 6 : Rebase. #

Patch Set 7 : Fix unit_tests compile (remove some obsolete testing). #

Patch Set 8 : Fix tests (hopefully). #

Patch Set 9 : Fix interactive_ui_tests. #

Total comments: 3

Patch Set 10 : Rebase. #

Patch Set 11 : Remove changes to content settings UI (spun out to CL 2045163002). #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -806 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 7 8 9 10 2 chunks +0 lines, -34 lines 0 comments Download
M chrome/browser/ui/exclusive_access/exclusive_access_bubble.h View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/ui/exclusive_access/exclusive_access_bubble.cc View 1 1 chunk +0 lines, -8 lines 0 comments Download
M chrome/browser/ui/exclusive_access/exclusive_access_bubble_type.h View 2 chunks +0 lines, -7 lines 0 comments Download
M chrome/browser/ui/exclusive_access/exclusive_access_bubble_type.cc View 6 chunks +0 lines, -58 lines 0 comments Download
M chrome/browser/ui/exclusive_access/exclusive_access_controller_base.h View 1 chunk +0 lines, -10 lines 0 comments Download
M chrome/browser/ui/exclusive_access/exclusive_access_manager.h View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/exclusive_access/exclusive_access_manager.cc View 1 2 5 chunks +4 lines, -33 lines 0 comments Download
M chrome/browser/ui/exclusive_access/fullscreen_controller.h View 4 chunks +4 lines, -9 lines 0 comments Download
M chrome/browser/ui/exclusive_access/fullscreen_controller.cc View 7 chunks +6 lines, -67 lines 0 comments Download
M chrome/browser/ui/exclusive_access/fullscreen_controller_browsertest.cc View 1 2 3 4 5 6 7 4 chunks +0 lines, -87 lines 0 comments Download
M chrome/browser/ui/exclusive_access/fullscreen_controller_interactive_browsertest.cc View 1 2 3 4 5 6 7 8 15 chunks +4 lines, -277 lines 0 comments Download
M chrome/browser/ui/exclusive_access/fullscreen_controller_state_test.h View 1 2 3 4 5 6 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/exclusive_access/fullscreen_controller_state_test.cc View 1 2 3 4 5 6 12 chunks +0 lines, -39 lines 0 comments Download
M chrome/browser/ui/exclusive_access/fullscreen_controller_state_tests.h View 1 2 3 4 5 6 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/exclusive_access/fullscreen_controller_test.h View 1 2 3 4 5 6 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/browser/ui/exclusive_access/fullscreen_controller_test.cc View 1 2 3 4 5 6 2 chunks +0 lines, -27 lines 0 comments Download
M chrome/browser/ui/exclusive_access/mouse_lock_controller.h View 4 chunks +6 lines, -14 lines 0 comments Download
M chrome/browser/ui/exclusive_access/mouse_lock_controller.cc View 6 chunks +21 lines, -121 lines 0 comments Download

Messages

Total messages: 52 (24 generated)
Matt Giuca
dbeam@chromium.org: Please review changes in c/b/resources/options and c/b/ui/webui/options. scheib@chromium.org: Please review changes in c/b/ui/exclusive_access.
4 years, 6 months ago (2016-05-31 03:24:02 UTC) #4
Matt Giuca
After this, there's no going back... no more fullscreen / mouse lock permission prompting or ...
4 years, 6 months ago (2016-05-31 03:24:54 UTC) #5
scheib
exclusive_access/fullscreen_controller_state_test.h has Allow/Deny concepts still that can be removed (OK in a follow up change). ...
4 years, 6 months ago (2016-05-31 18:20:24 UTC) #6
Matt Giuca
https://codereview.chromium.org/2004353002/diff/80001/chrome/browser/resources/options/content_settings.html File chrome/browser/resources/options/content_settings.html (right): https://codereview.chromium.org/2004353002/diff/80001/chrome/browser/resources/options/content_settings.html#newcode640 chrome/browser/resources/options/content_settings.html:640: <!-- Mouse Lock filter --> On 2016/05/31 18:20:24, scheib ...
4 years, 6 months ago (2016-06-01 00:54:29 UTC) #7
scheib
https://codereview.chromium.org/2004353002/diff/80001/chrome/browser/resources/options/content_settings.html File chrome/browser/resources/options/content_settings.html (right): https://codereview.chromium.org/2004353002/diff/80001/chrome/browser/resources/options/content_settings.html#newcode640 chrome/browser/resources/options/content_settings.html:640: <!-- Mouse Lock filter --> On 2016/06/01 00:54:29, Matt ...
4 years, 6 months ago (2016-06-01 01:01:03 UTC) #8
Matt Giuca
https://codereview.chromium.org/2004353002/diff/80001/chrome/browser/resources/options/content_settings.html File chrome/browser/resources/options/content_settings.html (right): https://codereview.chromium.org/2004353002/diff/80001/chrome/browser/resources/options/content_settings.html#newcode640 chrome/browser/resources/options/content_settings.html:640: <!-- Mouse Lock filter --> On 2016/06/01 01:01:03, scheib ...
4 years, 6 months ago (2016-06-01 01:11:03 UTC) #9
Dan Beam
lgtm
4 years, 6 months ago (2016-06-01 22:03:26 UTC) #10
scheib
Elsewhere mgiuca informed me that we can't remove the accept/deny from the fullscreen state tests ...
4 years, 6 months ago (2016-06-01 22:05:05 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2004353002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2004353002/100001
4 years, 6 months ago (2016-06-02 00:32:49 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/170918)
4 years, 6 months ago (2016-06-02 00:58:56 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2004353002/120001
4 years, 6 months ago (2016-06-06 04:35:32 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/181207) mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 6 months ago (2016-06-06 04:50:04 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2004353002/140001
4 years, 6 months ago (2016-06-06 04:53:26 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_chromeos_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_chromeos_rel/builds/198661)
4 years, 6 months ago (2016-06-06 05:07:42 UTC) #25
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2004353002/160001
4 years, 6 months ago (2016-06-07 05:43:08 UTC) #27
Matt Giuca
scheib: Sorry, I forgot to get the tests working. Maybe can you take a quick ...
4 years, 6 months ago (2016-06-07 05:43:43 UTC) #28
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios-device-gn on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device-gn/builds/17245) ios-simulator on ...
4 years, 6 months ago (2016-06-07 05:45:07 UTC) #30
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2004353002/200001
4 years, 6 months ago (2016-06-07 06:52:01 UTC) #32
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_compile_dbg_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/202081)
4 years, 6 months ago (2016-06-07 07:13:22 UTC) #34
scheib
Test changes LGTM, with one bit of confusion on my part: https://codereview.chromium.org/2004353002/diff/180001/chrome/browser/ui/exclusive_access/fullscreen_controller_interactive_browsertest.cc File chrome/browser/ui/exclusive_access/fullscreen_controller_interactive_browsertest.cc (right): ...
4 years, 6 months ago (2016-06-07 16:14:56 UTC) #35
Matt Giuca
https://codereview.chromium.org/2004353002/diff/180001/chrome/browser/ui/exclusive_access/fullscreen_controller_interactive_browsertest.cc File chrome/browser/ui/exclusive_access/fullscreen_controller_interactive_browsertest.cc (right): https://codereview.chromium.org/2004353002/diff/180001/chrome/browser/ui/exclusive_access/fullscreen_controller_interactive_browsertest.cc#newcode402 chrome/browser/ui/exclusive_access/fullscreen_controller_interactive_browsertest.cc:402: DISABLED_MouseLockThenFullscreen) { On 2016/06/07 16:14:56, scheib wrote: > This ...
4 years, 6 months ago (2016-06-08 01:45:43 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2004353002/200001
4 years, 6 months ago (2016-06-08 01:46:11 UTC) #39
scheib
https://codereview.chromium.org/2004353002/diff/180001/chrome/browser/ui/exclusive_access/fullscreen_controller_interactive_browsertest.cc File chrome/browser/ui/exclusive_access/fullscreen_controller_interactive_browsertest.cc (right): https://codereview.chromium.org/2004353002/diff/180001/chrome/browser/ui/exclusive_access/fullscreen_controller_interactive_browsertest.cc#newcode402 chrome/browser/ui/exclusive_access/fullscreen_controller_interactive_browsertest.cc:402: DISABLED_MouseLockThenFullscreen) { On 2016/06/08 01:45:43, Matt Giuca wrote: > ...
4 years, 6 months ago (2016-06-08 01:49:22 UTC) #40
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_gn_rel/builds/123831)
4 years, 6 months ago (2016-06-08 02:26:56 UTC) #42
Matt Giuca
On 2016/06/08 02:26:56, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 6 months ago (2016-06-08 07:47:30 UTC) #43
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2004353002/220001
4 years, 6 months ago (2016-06-08 07:47:48 UTC) #46
commit-bot: I haz the power
Committed patchset #11 (id:220001)
4 years, 6 months ago (2016-06-08 08:41:51 UTC) #50
commit-bot: I haz the power
4 years, 6 months ago (2016-06-08 08:44:40 UTC) #52
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/b6adb5143ab0cc79a64c64a42f965bbc595ab14c
Cr-Commit-Position: refs/heads/master@{#398504}

Powered by Google App Engine
This is Rietveld 408576698