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

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

Issue 66333016: Add DirectWrite flag and plumb it through to Blink (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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) 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 402 matching lines...) Expand 10 before | Expand all | Expand 10 after
413 switches::kDisableUniversalAcceleratedOverflowScroll) 413 switches::kDisableUniversalAcceleratedOverflowScroll)
414 }, 414 },
415 { 415 {
416 "present-with-GDI", 416 "present-with-GDI",
417 IDS_FLAGS_PRESENT_WITH_GDI_NAME, 417 IDS_FLAGS_PRESENT_WITH_GDI_NAME,
418 IDS_FLAGS_PRESENT_WITH_GDI_DESCRIPTION, 418 IDS_FLAGS_PRESENT_WITH_GDI_DESCRIPTION,
419 kOsWin, 419 kOsWin,
420 MULTI_VALUE_TYPE(kGDIPresentChoices) 420 MULTI_VALUE_TYPE(kGDIPresentChoices)
421 }, 421 },
422 { 422 {
423 "enable-direct-write",
424 IDS_FLAGS_ENABLE_DIRECT_WRITE_NAME,
425 IDS_FLAGS_ENABLE_DIRECT_WRITE_DESCRIPTION,
426 kOsAll,
Avi (use Gerrit) 2013/11/16 06:26:51 kOsWin
427 SINGLE_VALUE_TYPE(switches::kEnableDirectWrite)
428 },
429 {
423 "enable-experimental-canvas-features", 430 "enable-experimental-canvas-features",
424 IDS_FLAGS_ENABLE_EXPERIMENTAL_CANVAS_FEATURES_NAME, 431 IDS_FLAGS_ENABLE_EXPERIMENTAL_CANVAS_FEATURES_NAME,
425 IDS_FLAGS_ENABLE_EXPERIMENTAL_CANVAS_FEATURES_DESCRIPTION, 432 IDS_FLAGS_ENABLE_EXPERIMENTAL_CANVAS_FEATURES_DESCRIPTION,
426 kOsAll, 433 kOsAll,
427 SINGLE_VALUE_TYPE(switches::kEnableExperimentalCanvasFeatures) 434 SINGLE_VALUE_TYPE(switches::kEnableExperimentalCanvasFeatures)
428 }, 435 },
429 { 436 {
430 "disable-accelerated-2d-canvas", 437 "disable-accelerated-2d-canvas",
431 IDS_FLAGS_DISABLE_ACCELERATED_2D_CANVAS_NAME, 438 IDS_FLAGS_DISABLE_ACCELERATED_2D_CANVAS_NAME,
432 IDS_FLAGS_DISABLE_ACCELERATED_2D_CANVAS_DESCRIPTION, 439 IDS_FLAGS_DISABLE_ACCELERATED_2D_CANVAS_DESCRIPTION,
(...skipping 1900 matching lines...) Expand 10 before | Expand all | Expand 10 after
2333 } 2340 }
2334 2341
2335 const Experiment* GetExperiments(size_t* count) { 2342 const Experiment* GetExperiments(size_t* count) {
2336 *count = num_experiments; 2343 *count = num_experiments;
2337 return experiments; 2344 return experiments;
2338 } 2345 }
2339 2346
2340 } // namespace testing 2347 } // namespace testing
2341 2348
2342 } // namespace about_flags 2349 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698