Chromium Code Reviews| Index: chrome/browser/ui/exclusive_access/fullscreen_controller.cc |
| diff --git a/chrome/browser/ui/exclusive_access/fullscreen_controller.cc b/chrome/browser/ui/exclusive_access/fullscreen_controller.cc |
| index fd2b2b89822ebb81e355a39e3b171fc429636da7..62df9c1357bca78d18c3ede81a78ab56868c1358 100644 |
| --- a/chrome/browser/ui/exclusive_access/fullscreen_controller.cc |
| +++ b/chrome/browser/ui/exclusive_access/fullscreen_controller.cc |
| @@ -509,6 +509,10 @@ void FullscreenController::ExitFullscreenModeInternal() { |
| ContentSetting FullscreenController::GetFullscreenSetting() const { |
| DCHECK(exclusive_access_tab()); |
| + // If simplified UI is enabled, never ask the user, just auto-allow. |
|
scheib
2015/07/30 18:32:27
I must be rusty on this, but, woah, why doesn't fu
Matt Giuca
2015/07/31 03:12:50
Interesting. Well I just filed http://crbug.com/51
|
| + if (ExclusiveAccessManager::IsSimplifiedFullscreenUIEnabled()) |
| + return CONTENT_SETTING_ALLOW; |
| + |
| GURL url = GetRequestingOrigin(); |
| // Always ask on file:// URLs, since we can't meaningfully make the |