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

Unified Diff: chrome/browser/chromeos/accessibility/accessibility_manager.cc

Issue 2814743009: Make adjustable large cursor enabled by default (Closed)
Patch Set: Rebase. 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 | « chrome/browser/about_flags.cc ('k') | chrome/browser/flag_descriptions.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/accessibility/accessibility_manager.cc
diff --git a/chrome/browser/chromeos/accessibility/accessibility_manager.cc b/chrome/browser/chromeos/accessibility/accessibility_manager.cc
index d0fb7a22fdc7ea7f4a1160fd86afcb04214e6117..e7af4a292fe226a5948afd3302adcfd602b4164f 100644
--- a/chrome/browser/chromeos/accessibility/accessibility_manager.cc
+++ b/chrome/browser/chromeos/accessibility/accessibility_manager.cc
@@ -11,7 +11,6 @@
#include <utility>
#include "ash/ash_constants.h"
-#include "ash/ash_switches.h"
#include "ash/autoclick/autoclick_controller.h"
#include "ash/autoclick/mus/public/interfaces/autoclick.mojom.h"
#include "ash/high_contrast/high_contrast_controller.h"
@@ -1333,9 +1332,7 @@ void AccessibilityManager::UpdateChromeOSAccessibilityHistograms() {
prefs->GetBoolean(prefs::kAccessibilityLargeCursorEnabled);
UMA_HISTOGRAM_BOOLEAN("Accessibility.CrosLargeCursor",
large_cursor_enabled);
- if (large_cursor_enabled &&
- base::CommandLine::ForCurrentProcess()->HasSwitch(
- ash::switches::kAshAdjustableLargeCursor)) {
+ if (large_cursor_enabled) {
UMA_HISTOGRAM_COUNTS_100(
"Accessibility.CrosLargeCursorSize",
prefs->GetInteger(prefs::kAccessibilityLargeCursorDipSize));
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/browser/flag_descriptions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698