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

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

Issue 1589953005: Support InputMethodManager#updateCursorAnchorInfo for Android 5.0 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Findbugs warning / Simplify the state transition. Created 4 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
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 <iterator> 7 #include <iterator>
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <utility> 10 #include <utility>
(...skipping 1717 matching lines...) Expand 10 before | Expand all | Expand 10 after
1728 {"enable-site-per-process", 1728 {"enable-site-per-process",
1729 IDS_FLAGS_SITE_PER_PROCESS_NAME, 1729 IDS_FLAGS_SITE_PER_PROCESS_NAME,
1730 IDS_FLAGS_SITE_PER_PROCESS_DESCRIPTION, 1730 IDS_FLAGS_SITE_PER_PROCESS_DESCRIPTION,
1731 kOsAll, 1731 kOsAll,
1732 SINGLE_VALUE_TYPE(switches::kSitePerProcess)}, 1732 SINGLE_VALUE_TYPE(switches::kSitePerProcess)},
1733 {"enable-use-zoom-for-dsf", 1733 {"enable-use-zoom-for-dsf",
1734 IDS_FLAGS_ENABLE_USE_ZOOM_FOR_DSF_NAME, 1734 IDS_FLAGS_ENABLE_USE_ZOOM_FOR_DSF_NAME,
1735 IDS_FLAGS_ENABLE_USE_ZOOM_FOR_DSF_DESCRIPTION, 1735 IDS_FLAGS_ENABLE_USE_ZOOM_FOR_DSF_DESCRIPTION,
1736 kOsDesktop, 1736 kOsDesktop,
1737 MULTI_VALUE_TYPE(kEnableUseZoomForDSFChoices)}, 1737 MULTI_VALUE_TYPE(kEnableUseZoomForDSFChoices)},
1738 #if defined(OS_ANDROID)
1739 {"enable-cursor-anchor-info",
1740 IDS_FLAGS_ENABLE_CURSOR_ANCHOR_INFO_NAME,
1741 IDS_FLAGS_ENABLE_CURSOR_ANCHOR_INFO_DESCRIPTION,
1742 kOsAndroid,
1743 SINGLE_VALUE_TYPE(switches::kEnableCursorAnchorInfo)},
1744 #endif
1738 #if defined(OS_MACOSX) 1745 #if defined(OS_MACOSX)
1739 {"enable-harfbuzz-rendertext", 1746 {"enable-harfbuzz-rendertext",
1740 IDS_FLAGS_HARFBUZZ_RENDERTEXT_NAME, 1747 IDS_FLAGS_HARFBUZZ_RENDERTEXT_NAME,
1741 IDS_FLAGS_HARFBUZZ_RENDERTEXT_DESCRIPTION, 1748 IDS_FLAGS_HARFBUZZ_RENDERTEXT_DESCRIPTION,
1742 kOsMac, 1749 kOsMac,
1743 SINGLE_VALUE_TYPE(switches::kEnableHarfBuzzRenderText)}, 1750 SINGLE_VALUE_TYPE(switches::kEnableHarfBuzzRenderText)},
1744 #endif // defined(OS_MACOSX) 1751 #endif // defined(OS_MACOSX)
1745 #if defined(OS_CHROMEOS) 1752 #if defined(OS_CHROMEOS)
1746 {"disable-timezone-tracking", 1753 {"disable-timezone-tracking",
1747 IDS_FLAGS_RESOLVE_TIMEZONE_BY_GEOLOCATION_NAME, 1754 IDS_FLAGS_RESOLVE_TIMEZONE_BY_GEOLOCATION_NAME,
(...skipping 634 matching lines...) Expand 10 before | Expand all | Expand 10 after
2382 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2389 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2383 2390
2384 const FeatureEntry* GetFeatureEntries(size_t* count) { 2391 const FeatureEntry* GetFeatureEntries(size_t* count) {
2385 *count = arraysize(kFeatureEntries); 2392 *count = arraysize(kFeatureEntries);
2386 return kFeatureEntries; 2393 return kFeatureEntries;
2387 } 2394 }
2388 2395
2389 } // namespace testing 2396 } // namespace testing
2390 2397
2391 } // namespace about_flags 2398 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698