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

Unified Diff: chrome/browser/ui/exclusive_access/fullscreen_controller_interactive_browsertest.cc

Issue 1763653002: Android: Remove the prompt when entering fullscreen mode (behind flag). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fullscreen-two-words
Patch Set: Fix interactive ui tests. Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/exclusive_access/exclusive_access_manager.cc ('k') | chrome/common/chrome_features.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/exclusive_access/fullscreen_controller_interactive_browsertest.cc
diff --git a/chrome/browser/ui/exclusive_access/fullscreen_controller_interactive_browsertest.cc b/chrome/browser/ui/exclusive_access/fullscreen_controller_interactive_browsertest.cc
index 58658d8ac0e33d08d69591e4196809c11bcce79b..96691c2d7a453312463836c6dca5e800793a7e2c 100644
--- a/chrome/browser/ui/exclusive_access/fullscreen_controller_interactive_browsertest.cc
+++ b/chrome/browser/ui/exclusive_access/fullscreen_controller_interactive_browsertest.cc
@@ -13,6 +13,7 @@
#include "chrome/browser/ui/exclusive_access/exclusive_access_context.h"
#include "chrome/browser/ui/exclusive_access/fullscreen_controller_test.h"
#include "chrome/browser/ui/tabs/tab_strip_model.h"
+#include "chrome/common/chrome_features.h"
#include "chrome/test/base/interactive_test_utils.h"
#include "chrome/test/base/ui_test_utils.h"
#include "components/content_settings/core/browser/host_content_settings_map.h"
@@ -90,14 +91,12 @@ class ParamaterizedFullscreenControllerInteractiveTest
void SetUpCommandLine(base::CommandLine* command_line) override {
switch (GetParam()) {
case PROMPTING:
- command_line->AppendSwitchASCII(
- switches::kDisableFeatures,
- ExclusiveAccessManager::kSimplifiedUIFeature.name);
+ command_line->AppendSwitchASCII(switches::kDisableFeatures,
+ features::kSimplifiedFullscreenUI.name);
break;
case SIMPLIFIED:
- command_line->AppendSwitchASCII(
- switches::kEnableFeatures,
- ExclusiveAccessManager::kSimplifiedUIFeature.name);
+ command_line->AppendSwitchASCII(switches::kEnableFeatures,
+ features::kSimplifiedFullscreenUI.name);
break;
default:
NOTREACHED();
« no previous file with comments | « chrome/browser/ui/exclusive_access/exclusive_access_manager.cc ('k') | chrome/common/chrome_features.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698