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

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

Issue 14328031: Adding a minimize function for clicks on launcher items if only a single item (already active) is a… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added bounce animation in case of no minimize Created 7 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 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 "chrome/browser/about_flags.h" 5 #include "chrome/browser/about_flags.h"
6 6
7 #include <string.h> 7 #include <string.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <iterator> 10 #include <iterator>
(...skipping 941 matching lines...) Expand 10 before | Expand all | Expand 10 after
952 }, 952 },
953 #if defined(USE_ASH) 953 #if defined(USE_ASH)
954 { 954 {
955 "show-launcher-alignment-menu", 955 "show-launcher-alignment-menu",
956 IDS_FLAGS_SHOW_LAUNCHER_ALIGNMENT_MENU_NAME, 956 IDS_FLAGS_SHOW_LAUNCHER_ALIGNMENT_MENU_NAME,
957 IDS_FLAGS_SHOW_LAUNCHER_ALIGNMENT_MENU_DESCRIPTION, 957 IDS_FLAGS_SHOW_LAUNCHER_ALIGNMENT_MENU_DESCRIPTION,
958 kOsAll, 958 kOsAll,
959 SINGLE_VALUE_TYPE(switches::kShowLauncherAlignmentMenu) 959 SINGLE_VALUE_TYPE(switches::kShowLauncherAlignmentMenu)
960 }, 960 },
961 { 961 {
962 "disable-Minimize-on-second-launcher-item-click",
James Cook 2013/04/19 17:57:03 "Minimize" -> "minimize". I don't think it matter
963 IDS_FLAGS_DISABLE_MINIMIZE_ON_SECOND_LAUNCHER_ITEM_CLICK_NAME,
964 IDS_FLAGS_DISABLE_MINIMIZE_ON_SECOND_LAUNCHER_ITEM_CLICK_DESCRIPTION,
965 kOsAll,
966 SINGLE_VALUE_TYPE(switches::kDisableMinimizeOnSecondLauncherItemClick)
967 },
968 {
962 "show-touch-hud", 969 "show-touch-hud",
963 IDS_FLAGS_SHOW_TOUCH_HUD_NAME, 970 IDS_FLAGS_SHOW_TOUCH_HUD_NAME,
964 IDS_FLAGS_SHOW_TOUCH_HUD_DESCRIPTION, 971 IDS_FLAGS_SHOW_TOUCH_HUD_DESCRIPTION,
965 kOsAll, 972 kOsAll,
966 SINGLE_VALUE_TYPE(ash::switches::kAshTouchHud) 973 SINGLE_VALUE_TYPE(ash::switches::kAshTouchHud)
967 }, 974 },
968 { 975 {
969 "enable-pinch", 976 "enable-pinch",
970 IDS_FLAGS_ENABLE_PINCH_SCALE_NAME, 977 IDS_FLAGS_ENABLE_PINCH_SCALE_NAME,
971 IDS_FLAGS_ENABLE_PINCH_SCALE_DESCRIPTION, 978 IDS_FLAGS_ENABLE_PINCH_SCALE_DESCRIPTION,
(...skipping 887 matching lines...) Expand 10 before | Expand all | Expand 10 after
1859 } 1866 }
1860 1867
1861 const Experiment* GetExperiments(size_t* count) { 1868 const Experiment* GetExperiments(size_t* count) {
1862 *count = num_experiments; 1869 *count = num_experiments;
1863 return experiments; 1870 return experiments;
1864 } 1871 }
1865 1872
1866 } // namespace testing 1873 } // namespace testing
1867 1874
1868 } // namespace about_flags 1875 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698