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

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: Added if(WIN) checks Created 7 years 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 425 matching lines...) Expand 10 before | Expand all | Expand 10 after
436 switches::kEnableLayerSquashing, 436 switches::kEnableLayerSquashing,
437 switches::kDisableLayerSquashing) 437 switches::kDisableLayerSquashing)
438 }, 438 },
439 { 439 {
440 "present-with-GDI", 440 "present-with-GDI",
441 IDS_FLAGS_PRESENT_WITH_GDI_NAME, 441 IDS_FLAGS_PRESENT_WITH_GDI_NAME,
442 IDS_FLAGS_PRESENT_WITH_GDI_DESCRIPTION, 442 IDS_FLAGS_PRESENT_WITH_GDI_DESCRIPTION,
443 kOsWin, 443 kOsWin,
444 MULTI_VALUE_TYPE(kGDIPresentChoices) 444 MULTI_VALUE_TYPE(kGDIPresentChoices)
445 }, 445 },
446 #if defined(OS_WIN)
447 {
448 "enable-direct-write",
449 IDS_FLAGS_ENABLE_DIRECT_WRITE_NAME,
450 IDS_FLAGS_ENABLE_DIRECT_WRITE_DESCRIPTION,
451 kOsWin,
452 SINGLE_VALUE_TYPE(switches::kEnableDirectWrite)
453 },
454 #endif
446 { 455 {
447 "enable-experimental-canvas-features", 456 "enable-experimental-canvas-features",
448 IDS_FLAGS_ENABLE_EXPERIMENTAL_CANVAS_FEATURES_NAME, 457 IDS_FLAGS_ENABLE_EXPERIMENTAL_CANVAS_FEATURES_NAME,
449 IDS_FLAGS_ENABLE_EXPERIMENTAL_CANVAS_FEATURES_DESCRIPTION, 458 IDS_FLAGS_ENABLE_EXPERIMENTAL_CANVAS_FEATURES_DESCRIPTION,
450 kOsAll, 459 kOsAll,
451 SINGLE_VALUE_TYPE(switches::kEnableExperimentalCanvasFeatures) 460 SINGLE_VALUE_TYPE(switches::kEnableExperimentalCanvasFeatures)
452 }, 461 },
453 { 462 {
454 "disable-accelerated-2d-canvas", 463 "disable-accelerated-2d-canvas",
455 IDS_FLAGS_DISABLE_ACCELERATED_2D_CANVAS_NAME, 464 IDS_FLAGS_DISABLE_ACCELERATED_2D_CANVAS_NAME,
(...skipping 1926 matching lines...) Expand 10 before | Expand all | Expand 10 after
2382 } 2391 }
2383 2392
2384 const Experiment* GetExperiments(size_t* count) { 2393 const Experiment* GetExperiments(size_t* count) {
2385 *count = num_experiments; 2394 *count = num_experiments;
2386 return experiments; 2395 return experiments;
2387 } 2396 }
2388 2397
2389 } // namespace testing 2398 } // namespace testing
2390 2399
2391 } // namespace about_flags 2400 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698