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

Side by Side Diff: Source/core/page/RuntimeEnabledFeatures.cpp

Issue 14298018: This CL implements the first draft of Canvas 2D Context Attributes, aka getContext('2d', { alpha: f… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased to ToT; test cleanup Created 7 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
« no previous file with comments | « Source/core/page/RuntimeEnabledFeatures.h ('k') | Source/core/platform/graphics/ImageBuffer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 bool RuntimeEnabledFeatures::isDialogElementEnabled = false; 92 bool RuntimeEnabledFeatures::isDialogElementEnabled = false;
93 bool RuntimeEnabledFeatures::isLazyLayoutEnabled = false; 93 bool RuntimeEnabledFeatures::isLazyLayoutEnabled = false;
94 bool RuntimeEnabledFeatures::isExperimentalContentSecurityPolicyFeaturesEnabled = false; 94 bool RuntimeEnabledFeatures::isExperimentalContentSecurityPolicyFeaturesEnabled = false;
95 bool RuntimeEnabledFeatures::isSeamlessIFramesEnabled = false; 95 bool RuntimeEnabledFeatures::isSeamlessIFramesEnabled = false;
96 bool RuntimeEnabledFeatures::isLangAttributeAwareFormControlUIEnabled = false; 96 bool RuntimeEnabledFeatures::isLangAttributeAwareFormControlUIEnabled = false;
97 bool RuntimeEnabledFeatures::isRequestAutocompleteEnabled = false; 97 bool RuntimeEnabledFeatures::isRequestAutocompleteEnabled = false;
98 bool RuntimeEnabledFeatures::isWebPInAcceptHeaderEnabled = false; 98 bool RuntimeEnabledFeatures::isWebPInAcceptHeaderEnabled = false;
99 bool RuntimeEnabledFeatures::isDirectoryUploadEnabled = true; 99 bool RuntimeEnabledFeatures::isDirectoryUploadEnabled = true;
100 bool RuntimeEnabledFeatures::isExperimentalWebSocketEnabled = false; 100 bool RuntimeEnabledFeatures::isExperimentalWebSocketEnabled = false;
101 bool RuntimeEnabledFeatures::isIMEAPIEnabled = false; 101 bool RuntimeEnabledFeatures::isIMEAPIEnabled = false;
102 bool RuntimeEnabledFeatures::areExperimentalCanvasFeaturesEnabled = false;
102 103
103 bool RuntimeEnabledFeatures::mediaEnabled() 104 bool RuntimeEnabledFeatures::mediaEnabled()
104 { 105 {
105 return MediaPlayer::isAvailable(); 106 return MediaPlayer::isAvailable();
106 } 107 }
107 108
108 bool RuntimeEnabledFeatures::sharedWorkerEnabled() 109 bool RuntimeEnabledFeatures::sharedWorkerEnabled()
109 { 110 {
110 return SharedWorkerRepository::isAvailable(); 111 return SharedWorkerRepository::isAvailable();
111 } 112 }
112 113
113 } // namespace WebCore 114 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/page/RuntimeEnabledFeatures.h ('k') | Source/core/platform/graphics/ImageBuffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698