OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 switches::kEnableVerticalTabs | 69 switches::kEnableVerticalTabs |
70 }, | 70 }, |
71 { | 71 { |
72 "tabbed-options", // Do not change; see above. | 72 "tabbed-options", // Do not change; see above. |
73 IDS_FLAGS_TABBED_OPTIONS_NAME, | 73 IDS_FLAGS_TABBED_OPTIONS_NAME, |
74 IDS_FLAGS_TABBED_OPTIONS_DESCRIPTION, | 74 IDS_FLAGS_TABBED_OPTIONS_DESCRIPTION, |
75 kOsAll, | 75 kOsAll, |
76 switches::kEnableTabbedOptions | 76 switches::kEnableTabbedOptions |
77 }, | 77 }, |
78 { | 78 { |
| 79 "match-preview", // Do not change; see above. |
| 80 IDS_FLAGS_INSTANT_NAME, |
| 81 IDS_FLAGS_INSTANT_DESCRIPTION, |
| 82 kOsWin, |
| 83 switches::kEnableMatchPreview |
| 84 }, |
| 85 { |
79 "remoting", // Do not change; see above. | 86 "remoting", // Do not change; see above. |
80 IDS_FLAGS_REMOTING_NAME, | 87 IDS_FLAGS_REMOTING_NAME, |
81 #if defined(OS_WIN) | 88 #if defined(OS_WIN) |
82 // Windows only supports host functionality at the moment. | 89 // Windows only supports host functionality at the moment. |
83 IDS_FLAGS_REMOTING_HOST_DESCRIPTION, | 90 IDS_FLAGS_REMOTING_HOST_DESCRIPTION, |
84 #elif defined(OS_LINUX) | 91 #elif defined(OS_LINUX) |
85 // Linux only supports client functionality at the moment. | 92 // Linux only supports client functionality at the moment. |
86 IDS_FLAGS_REMOTING_CLIENT_DESCRIPTION, | 93 IDS_FLAGS_REMOTING_CLIENT_DESCRIPTION, |
87 #else | 94 #else |
88 // On other platforms, this lab isn't available at all. | 95 // On other platforms, this lab isn't available at all. |
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
388 | 395 |
389 } // namespace | 396 } // namespace |
390 | 397 |
391 namespace testing { | 398 namespace testing { |
392 void ClearState() { | 399 void ClearState() { |
393 FlagsState::instance()->reset(); | 400 FlagsState::instance()->reset(); |
394 } | 401 } |
395 } // namespace testing | 402 } // namespace testing |
396 | 403 |
397 } // namespace about_flags | 404 } // namespace about_flags |
OLD | NEW |