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

Side by Side Diff: ash/accelerators/accelerator_table.cc

Issue 12505005: Store rotation/ui scale to local state. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/accelerators/accelerator_table.h" 5 #include "ash/accelerators/accelerator_table.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 8
9 namespace ash { 9 namespace ash {
10 10
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 SWITCH_IME, // Switch to another IME depending on the accelerator. 234 SWITCH_IME, // Switch to another IME depending on the accelerator.
235 TAKE_SCREENSHOT, 235 TAKE_SCREENSHOT,
236 TAKE_PARTIAL_SCREENSHOT, 236 TAKE_PARTIAL_SCREENSHOT,
237 TOGGLE_CAPS_LOCK, 237 TOGGLE_CAPS_LOCK,
238 TOGGLE_SPOKEN_FEEDBACK, 238 TOGGLE_SPOKEN_FEEDBACK,
239 TOGGLE_WIFI, 239 TOGGLE_WIFI,
240 TOUCH_HUD_CLEAR, 240 TOUCH_HUD_CLEAR,
241 VOLUME_DOWN, 241 VOLUME_DOWN,
242 VOLUME_MUTE, 242 VOLUME_MUTE,
243 VOLUME_UP, 243 VOLUME_UP,
244 ROTATE_SCREEN,
245 ROTATE_WINDOW, 244 ROTATE_WINDOW,
246 SCALE_UI_UP,
247 SCALE_UI_DOWN,
248 #if !defined(NDEBUG) 245 #if !defined(NDEBUG)
249 PRINT_LAYER_HIERARCHY, 246 PRINT_LAYER_HIERARCHY,
250 PRINT_VIEW_HIERARCHY, 247 PRINT_VIEW_HIERARCHY,
251 PRINT_WINDOW_HIERARCHY, 248 PRINT_WINDOW_HIERARCHY,
252 #endif 249 #endif
253 #if defined(OS_CHROMEOS) && !defined(NDEBUG) 250 #if defined(OS_CHROMEOS) && !defined(NDEBUG)
254 POWER_PRESSED, 251 POWER_PRESSED,
255 POWER_RELEASED, 252 POWER_RELEASED,
256 #endif 253 #endif
257 }; 254 };
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 PRINT_LAYER_HIERARCHY, 355 PRINT_LAYER_HIERARCHY,
359 PRINT_VIEW_HIERARCHY, 356 PRINT_VIEW_HIERARCHY,
360 PRINT_WINDOW_HIERARCHY, 357 PRINT_WINDOW_HIERARCHY,
361 #endif 358 #endif
362 }; 359 };
363 360
364 const size_t kActionsAllowedInAppModeLength = 361 const size_t kActionsAllowedInAppModeLength =
365 arraysize(kActionsAllowedInAppMode); 362 arraysize(kActionsAllowedInAppMode);
366 363
367 } // namespace ash 364 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698