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

Side by Side Diff: ash/metrics/user_metrics_recorder.cc

Issue 137993021: Add a11y on-screen keyboard to accessibility menu on system tray. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address reviewer feedback. Created 6 years, 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ash/metrics/user_metrics_recorder.h ('k') | ash/system/tray_accessibility.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ash/metrics/user_metrics_recorder.h" 5 #include "ash/metrics/user_metrics_recorder.h"
6 6
7 #include "ash/shelf/shelf_layout_manager.h" 7 #include "ash/shelf/shelf_layout_manager.h"
8 #include "ash/shelf/shelf_view.h" 8 #include "ash/shelf/shelf_view.h"
9 #include "ash/shelf/shelf_widget.h" 9 #include "ash/shelf/shelf_widget.h"
10 #include "ash/shell.h" 10 #include "ash/shell.h"
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 base::UserMetricsAction("StatusArea_LargeCursorDisabled")); 217 base::UserMetricsAction("StatusArea_LargeCursorDisabled"));
218 break; 218 break;
219 case ash::UMA_STATUS_AREA_DISABLE_MAGNIFIER: 219 case ash::UMA_STATUS_AREA_DISABLE_MAGNIFIER:
220 base::RecordAction( 220 base::RecordAction(
221 base::UserMetricsAction("StatusArea_MagnifierDisabled")); 221 base::UserMetricsAction("StatusArea_MagnifierDisabled"));
222 break; 222 break;
223 case ash::UMA_STATUS_AREA_DISABLE_SPOKEN_FEEDBACK: 223 case ash::UMA_STATUS_AREA_DISABLE_SPOKEN_FEEDBACK:
224 base::RecordAction( 224 base::RecordAction(
225 base::UserMetricsAction("StatusArea_SpokenFeedbackDisabled")); 225 base::UserMetricsAction("StatusArea_SpokenFeedbackDisabled"));
226 break; 226 break;
227 case ash::UMA_STATUS_AREA_DISABLE_VIRTUAL_KEYBOARD:
228 base::RecordAction(
229 base::UserMetricsAction("StatusArea_VirtualKeyboardDisabled"));
230 break;
227 case ash::UMA_STATUS_AREA_DISABLE_WIFI: 231 case ash::UMA_STATUS_AREA_DISABLE_WIFI:
228 base::RecordAction( 232 base::RecordAction(
229 base::UserMetricsAction("StatusArea_Network_WifiDisabled")); 233 base::UserMetricsAction("StatusArea_Network_WifiDisabled"));
230 break; 234 break;
231 case ash::UMA_STATUS_AREA_DRIVE_CANCEL_OPERATION: 235 case ash::UMA_STATUS_AREA_DRIVE_CANCEL_OPERATION:
232 base::RecordAction( 236 base::RecordAction(
233 base::UserMetricsAction("StatusArea_Drive_CancelOperation")); 237 base::UserMetricsAction("StatusArea_Drive_CancelOperation"));
234 break; 238 break;
235 case ash::UMA_STATUS_AREA_DRIVE_SETTINGS: 239 case ash::UMA_STATUS_AREA_DRIVE_SETTINGS:
236 base::RecordAction( 240 base::RecordAction(
(...skipping 12 matching lines...) Expand all
249 base::UserMetricsAction("StatusArea_LargeCursorEnabled")); 253 base::UserMetricsAction("StatusArea_LargeCursorEnabled"));
250 break; 254 break;
251 case ash::UMA_STATUS_AREA_ENABLE_MAGNIFIER: 255 case ash::UMA_STATUS_AREA_ENABLE_MAGNIFIER:
252 base::RecordAction( 256 base::RecordAction(
253 base::UserMetricsAction("StatusArea_MagnifierEnabled")); 257 base::UserMetricsAction("StatusArea_MagnifierEnabled"));
254 break; 258 break;
255 case ash::UMA_STATUS_AREA_ENABLE_SPOKEN_FEEDBACK: 259 case ash::UMA_STATUS_AREA_ENABLE_SPOKEN_FEEDBACK:
256 base::RecordAction( 260 base::RecordAction(
257 base::UserMetricsAction("StatusArea_SpokenFeedbackEnabled")); 261 base::UserMetricsAction("StatusArea_SpokenFeedbackEnabled"));
258 break; 262 break;
263 case ash::UMA_STATUS_AREA_ENABLE_VIRTUAL_KEYBOARD:
264 base::RecordAction(
265 base::UserMetricsAction("StatusArea_VirtualKeyboardEnabled"));
266 break;
259 case ash::UMA_STATUS_AREA_ENABLE_WIFI: 267 case ash::UMA_STATUS_AREA_ENABLE_WIFI:
260 base::RecordAction( 268 base::RecordAction(
261 base::UserMetricsAction("StatusArea_Network_WifiEnabled")); 269 base::UserMetricsAction("StatusArea_Network_WifiEnabled"));
262 break; 270 break;
263 case ash::UMA_STATUS_AREA_IME_SHOW_DETAILED: 271 case ash::UMA_STATUS_AREA_IME_SHOW_DETAILED:
264 base::RecordAction( 272 base::RecordAction(
265 base::UserMetricsAction("StatusArea_IME_Detailed")); 273 base::UserMetricsAction("StatusArea_IME_Detailed"));
266 break; 274 break;
267 case ash::UMA_STATUS_AREA_IME_SWITCH_MODE: 275 case ash::UMA_STATUS_AREA_IME_SWITCH_MODE:
268 base::RecordAction( 276 base::RecordAction(
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 active_window_show_type = ACTIVE_WINDOW_SHOW_TYPE_OTHER; 433 active_window_show_type = ACTIVE_WINDOW_SHOW_TYPE_OTHER;
426 break; 434 break;
427 } 435 }
428 } 436 }
429 UMA_HISTOGRAM_ENUMERATION("Ash.ActiveWindowShowTypeOverTime", 437 UMA_HISTOGRAM_ENUMERATION("Ash.ActiveWindowShowTypeOverTime",
430 active_window_show_type, 438 active_window_show_type,
431 ACTIVE_WINDOW_SHOW_TYPE_COUNT); 439 ACTIVE_WINDOW_SHOW_TYPE_COUNT);
432 } 440 }
433 441
434 } // namespace ash 442 } // namespace ash
OLDNEW
« no previous file with comments | « ash/metrics/user_metrics_recorder.h ('k') | ash/system/tray_accessibility.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698