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

Side by Side Diff: chrome/browser/about_flags.cc

Issue 8536003: Pointer Lock (was Mouse Lock) added to about:flags and passed to WebKit runtime flags (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase TOT Created 9 years, 1 month 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "chrome/browser/about_flags.h" 5 #include "chrome/browser/about_flags.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <iterator> 8 #include <iterator>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 SINGLE_VALUE_TYPE(switches::kEnablePhotoEditor) 425 SINGLE_VALUE_TYPE(switches::kEnablePhotoEditor)
426 }, 426 },
427 #endif 427 #endif
428 { 428 {
429 "enable-media-source", 429 "enable-media-source",
430 IDS_FLAGS_ENABLE_MEDIA_SOURCE_NAME, 430 IDS_FLAGS_ENABLE_MEDIA_SOURCE_NAME,
431 IDS_FLAGS_ENABLE_MEDIA_SOURCE_DESCRIPTION, 431 IDS_FLAGS_ENABLE_MEDIA_SOURCE_DESCRIPTION,
432 kOsAll, 432 kOsAll,
433 SINGLE_VALUE_TYPE(switches::kEnableMediaSource) 433 SINGLE_VALUE_TYPE(switches::kEnableMediaSource)
434 }, 434 },
435 {
436 "enable-pointer-lock",
437 IDS_FLAGS_ENABLE_POINTER_LOCK_NAME,
438 IDS_FLAGS_ENABLE_POINTER_LOCK_DESCRIPTION,
439 kOsAll,
440 SINGLE_VALUE_TYPE(switches::kEnablePointerLock)
441 },
435 #if defined(USE_AURA) 442 #if defined(USE_AURA)
436 { 443 {
437 "aura-windows", 444 "aura-windows",
438 IDS_FLAGS_AURA_WINDOWS_NAME, 445 IDS_FLAGS_AURA_WINDOWS_NAME,
439 IDS_FLAGS_AURA_WINDOWS_DESCRIPTION, 446 IDS_FLAGS_AURA_WINDOWS_DESCRIPTION,
440 kOsWin | kOsLinux | kOsCrOS, 447 kOsWin | kOsLinux | kOsCrOS,
441 SINGLE_VALUE_TYPE(switches::kAuraWindows) 448 SINGLE_VALUE_TYPE(switches::kAuraWindows)
442 }, 449 },
443 #endif 450 #endif
444 }; 451 };
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after
863 } 870 }
864 871
865 const Experiment* GetExperiments(size_t* count) { 872 const Experiment* GetExperiments(size_t* count) {
866 *count = num_experiments; 873 *count = num_experiments;
867 return experiments; 874 return experiments;
868 } 875 }
869 876
870 } // namespace testing 877 } // namespace testing
871 878
872 } // namespace about_flags 879 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698