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

Unified Diff: chrome/browser/about_flags.cc

Issue 2828183002: Manual revert of "Convert the overlay scrollbar flag to use FeatureList" (Closed)
Patch Set: Created 3 years, 8 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 | « no previous file | chrome/renderer/autofill/form_classifier_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 6d1fa045f4515813cc2e9f3d325cd50159d21daf..7e3b7ad9ae4050ef6e0766ecc19dc4ed75333d8d 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -97,7 +97,7 @@
#include "ui/gl/gl_features.h"
#include "ui/gl/gl_switches.h"
#include "ui/keyboard/keyboard_switches.h"
-#include "ui/native_theme/native_theme_features.h"
+#include "ui/native_theme/native_theme_switches.h"
#include "ui/views/views_switches.h"
#if defined(OS_ANDROID)
@@ -1067,7 +1067,9 @@ const FeatureEntry kFeatureEntries[] = {
flag_descriptions::kOverlayScrollbarsDescription,
// Uses the system preference on Mac (a different implementation).
// On Android, this is always enabled.
- kOsAura, FEATURE_VALUE_TYPE(features::kOverlayScrollbar)},
+ kOsAura,
+ ENABLE_DISABLE_VALUE_TYPE(switches::kEnableOverlayScrollbar,
+ switches::kDisableOverlayScrollbar)},
#endif // USE_AURA
{ // See http://crbug.com/120416 for how to remove this flag.
"save-page-as-mhtml", flag_descriptions::kSavePageAsMhtmlName,
« no previous file with comments | « no previous file | chrome/renderer/autofill/form_classifier_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698