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

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

Issue 152473008: More or less implement RenderTextHarfBuzz (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge 252563003 Created 6 years, 7 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 <algorithm> 7 #include <algorithm>
8 #include <iterator> 8 #include <iterator>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 1851 matching lines...) Expand 10 before | Expand all | Expand 10 after
1862 #if defined(USE_AURA) 1862 #if defined(USE_AURA)
1863 { 1863 {
1864 "text-input-focus-manager", 1864 "text-input-focus-manager",
1865 IDS_FLAGS_TEXT_INPUT_FOCUS_MANAGER_NAME, 1865 IDS_FLAGS_TEXT_INPUT_FOCUS_MANAGER_NAME,
1866 IDS_FLAGS_TEXT_INPUT_FOCUS_MANAGER_DESCRIPTION, 1866 IDS_FLAGS_TEXT_INPUT_FOCUS_MANAGER_DESCRIPTION,
1867 kOsCrOS | kOsLinux | kOsWin, 1867 kOsCrOS | kOsLinux | kOsWin,
1868 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableTextInputFocusManager, 1868 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableTextInputFocusManager,
1869 switches::kDisableTextInputFocusManager) 1869 switches::kDisableTextInputFocusManager)
1870 }, 1870 },
1871 #endif 1871 #endif
1872 {
1873 "enable-harfbuzz-rendertext",
1874 IDS_FLAGS_ENABLE_HARFBUZZ_RENDERTEXT_NAME,
1875 IDS_FLAGS_ENABLE_HARFBUZZ_RENDERTEXT_DESCRIPTION,
1876 kOsDesktop,
1877 SINGLE_VALUE_TYPE(switches::kEnableHarfBuzzRenderText)
1878 },
1872 }; 1879 };
1873 1880
1874 const Experiment* experiments = kExperiments; 1881 const Experiment* experiments = kExperiments;
1875 size_t num_experiments = arraysize(kExperiments); 1882 size_t num_experiments = arraysize(kExperiments);
1876 1883
1877 // Stores and encapsulates the little state that about:flags has. 1884 // Stores and encapsulates the little state that about:flags has.
1878 class FlagsState { 1885 class FlagsState {
1879 public: 1886 public:
1880 FlagsState() : needs_restart_(false) {} 1887 FlagsState() : needs_restart_(false) {}
1881 void ConvertFlagsToSwitches(FlagsStorage* flags_storage, 1888 void ConvertFlagsToSwitches(FlagsStorage* flags_storage,
(...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after
2386 } 2393 }
2387 2394
2388 const Experiment* GetExperiments(size_t* count) { 2395 const Experiment* GetExperiments(size_t* count) {
2389 *count = num_experiments; 2396 *count = num_experiments;
2390 return experiments; 2397 return experiments;
2391 } 2398 }
2392 2399
2393 } // namespace testing 2400 } // namespace testing
2394 2401
2395 } // namespace about_flags 2402 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | ui/gfx/DEPS » ('j') | ui/gfx/render_text.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698