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

Side by Side Diff: sky/engine/web/WebRuntimeFeatures.cpp

Issue 678483002: Remove RecordingImageBufferSurface (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « sky/engine/public/web/WebRuntimeFeatures.h ('k') | no next file » | 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 void WebRuntimeFeatures::enableTestOnlyFeatures(bool enable) 52 void WebRuntimeFeatures::enableTestOnlyFeatures(bool enable)
53 { 53 {
54 RuntimeEnabledFeatures::setTestFeaturesEnabled(enable); 54 RuntimeEnabledFeatures::setTestFeaturesEnabled(enable);
55 } 55 }
56 56
57 void WebRuntimeFeatures::enableDatabase(bool enable) 57 void WebRuntimeFeatures::enableDatabase(bool enable)
58 { 58 {
59 RuntimeEnabledFeatures::setDatabaseEnabled(enable); 59 RuntimeEnabledFeatures::setDatabaseEnabled(enable);
60 } 60 }
61 61
62 void WebRuntimeFeatures::enableDisplayList2dCanvas(bool enable)
63 {
64 RuntimeEnabledFeatures::setDisplayList2dCanvasEnabled(enable);
65 }
66
67 void WebRuntimeFeatures::enableEncryptedMedia(bool enable) 62 void WebRuntimeFeatures::enableEncryptedMedia(bool enable)
68 { 63 {
69 RuntimeEnabledFeatures::setEncryptedMediaEnabled(enable); 64 RuntimeEnabledFeatures::setEncryptedMediaEnabled(enable);
70 // FIXME: Hack to allow MediaKeyError to be enabled for either version. 65 // FIXME: Hack to allow MediaKeyError to be enabled for either version.
71 RuntimeEnabledFeatures::setEncryptedMediaAnyVersionEnabled( 66 RuntimeEnabledFeatures::setEncryptedMediaAnyVersionEnabled(
72 RuntimeEnabledFeatures::encryptedMediaEnabled() 67 RuntimeEnabledFeatures::encryptedMediaEnabled()
73 || RuntimeEnabledFeatures::prefixedEncryptedMediaEnabled()); 68 || RuntimeEnabledFeatures::prefixedEncryptedMediaEnabled());
74 } 69 }
75 70
76 bool WebRuntimeFeatures::isEncryptedMediaEnabled() 71 bool WebRuntimeFeatures::isEncryptedMediaEnabled()
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 { 219 {
225 RuntimeEnabledFeatures::setLayerSquashingEnabled(enable); 220 RuntimeEnabledFeatures::setLayerSquashingEnabled(enable);
226 } 221 }
227 222
228 void WebRuntimeFeatures::enableLaxMixedContentChecking(bool enable) 223 void WebRuntimeFeatures::enableLaxMixedContentChecking(bool enable)
229 { 224 {
230 RuntimeEnabledFeatures::setLaxMixedContentCheckingEnabled(enable); 225 RuntimeEnabledFeatures::setLaxMixedContentCheckingEnabled(enable);
231 } 226 }
232 227
233 } // namespace blink 228 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/public/web/WebRuntimeFeatures.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698