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

Issue 22986010: Add policy for fullscreen mode; disallow fullscreen in public sessions (Closed)

Created:
7 years, 4 months ago by bartfab (slow)
Modified:
7 years, 4 months ago
CC:
chromium-reviews, nkostylev+watch_chromium.org, joaodasilva+watch_chromium.org, scheib+watch_chromium.org, oshima+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Add policy for fullscreen mode; disallow fullscreen in public sessions This CL adds a user policy that determines whether fullscreen mode is allowed and uses it to disallow fullscreen mode in public sessions. BUG=275405 TEST=New browser tests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=219482

Patch Set 1 #

Total comments: 4

Patch Set 2 : Block apps from entering fullscreen mode as well. Ignore the new policy on Mac. #

Patch Set 3 : Add an explanation of fullscreen mode. #

Total comments: 8

Patch Set 4 : Comments addressed. #

Patch Set 5 : Fix browser test compilation after rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+227 lines, -31 lines) Patch
M apps/pref_names.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M apps/pref_names.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M apps/prefs.cc View 1 1 chunk +6 lines, -0 lines 0 comments Download
M apps/shell_window.cc View 1 2 chunks +15 lines, -0 lines 0 comments Download
M chrome/app/policy/policy_templates.json View 1 2 3 2 chunks +23 lines, -1 line 0 comments Download
M chrome/browser/chromeos/policy/device_local_account_browsertest.cc View 1 2 3 4 2 chunks +60 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/policy/device_local_account_policy_service_unittest.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/policy/device_local_account_policy_store.cc View 1 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/policy/configuration_policy_handler_list.cc View 1 2 3 2 chunks +13 lines, -0 lines 0 comments Download
M chrome/browser/policy/policy_browsertest.cc View 1 1 chunk +17 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser_command_controller.h View 1 2 chunks +1 line, -13 lines 0 comments Download
M chrome/browser/ui/browser_command_controller.cc View 1 2 3 7 chunks +40 lines, -17 lines 0 comments Download
M chrome/browser/ui/browser_ui_prefs.cc View 1 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/fullscreen/fullscreen_controller.cc View 1 2 3 2 chunks +13 lines, -0 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/test/data/policy/policy_test_cases.json View 1 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
bartfab (slow)
Hi Mattias, Could you take a look at this CL? Hi Scott, Could you take ...
7 years, 4 months ago (2013-08-19 12:42:34 UTC) #1
Mattias Nissler (ping if slow)
Code LGTM, but shouldn't we disable all the UI elements that allow the user to ...
7 years, 4 months ago (2013-08-19 13:29:49 UTC) #2
sky
Do you need to update the enabled state of IDC_FULLSCREEN appropriately too?
7 years, 4 months ago (2013-08-19 15:50:47 UTC) #3
scheib
https://codereview.chromium.org/22986010/diff/1/chrome/app/policy/policy_templates.json File chrome/app/policy/policy_templates.json (right): https://codereview.chromium.org/22986010/diff/1/chrome/app/policy/policy_templates.json#newcode4216 chrome/app/policy/policy_templates.json:4216: If this policy is set to true or not ...
7 years, 4 months ago (2013-08-19 16:24:07 UTC) #4
bartfab (slow)
Mattias, Scott, Vincent, Could you take another look at the CL? https://chromiumcodereview.appspot.com/22986010/diff/1/chrome/app/policy/policy_templates.json File chrome/app/policy/policy_templates.json (right): ...
7 years, 4 months ago (2013-08-22 20:21:13 UTC) #5
sky
I only looked at c/c and c/b/u (not c/b/u/f, I'm assuming scheib will do that). ...
7 years, 4 months ago (2013-08-22 21:33:55 UTC) #6
scheib
> Re Mac OS: I was not aware of the fullscreen button. Since the button ...
7 years, 4 months ago (2013-08-22 23:57:04 UTC) #7
scheib
https://chromiumcodereview.appspot.com/22986010/diff/11001/chrome/app/policy/policy_templates.json File chrome/app/policy/policy_templates.json (right): https://chromiumcodereview.appspot.com/22986010/diff/11001/chrome/app/policy/policy_templates.json#newcode4261 chrome/app/policy/policy_templates.json:4261: If this policy is set to false, neither the ...
7 years, 4 months ago (2013-08-22 23:57:26 UTC) #8
sky
https://chromiumcodereview.appspot.com/22986010/diff/11001/chrome/browser/ui/browser_command_controller.cc File chrome/browser/ui/browser_command_controller.cc (right): https://chromiumcodereview.appspot.com/22986010/diff/11001/chrome/browser/ui/browser_command_controller.cc#newcode65 chrome/browser/ui/browser_command_controller.cc:65: FULLSCREEN_DISABLED, On 2013/08/22 23:57:26, scheib wrote: > On 2013/08/22 ...
7 years, 4 months ago (2013-08-23 00:00:37 UTC) #9
bartfab (slow)
On 2013/08/22 23:57:04, scheib wrote: > > Re Mac OS: I was not aware of ...
7 years, 4 months ago (2013-08-23 11:30:21 UTC) #10
bartfab (slow)
https://codereview.chromium.org/22986010/diff/11001/chrome/app/policy/policy_templates.json File chrome/app/policy/policy_templates.json (right): https://codereview.chromium.org/22986010/diff/11001/chrome/app/policy/policy_templates.json#newcode4261 chrome/app/policy/policy_templates.json:4261: If this policy is set to false, neither the ...
7 years, 4 months ago (2013-08-23 11:54:21 UTC) #11
sky
LGTM
7 years, 4 months ago (2013-08-23 16:39:27 UTC) #12
scheib
lgtm
7 years, 4 months ago (2013-08-23 17:27:07 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bartfab@chromium.org/22986010/44001
7 years, 4 months ago (2013-08-25 12:42:38 UTC) #14
commit-bot: I haz the power
7 years, 4 months ago (2013-08-25 15:48:36 UTC) #15
Message was sent while issue was closed.
Change committed as 219482

Powered by Google App Engine
This is Rietveld 408576698