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

Side by Side Diff: Source/web/WebRuntimeFeatures.cpp

Issue 1018863002: compositor-worker: Introduce CompositorWorker. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: . Created 5 years, 9 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 /* 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 void WebRuntimeFeatures::enableCompositedSelectionUpdate(bool enable) 71 void WebRuntimeFeatures::enableCompositedSelectionUpdate(bool enable)
72 { 72 {
73 RuntimeEnabledFeatures::setCompositedSelectionUpdateEnabled(enable); 73 RuntimeEnabledFeatures::setCompositedSelectionUpdateEnabled(enable);
74 } 74 }
75 75
76 bool WebRuntimeFeatures::isCompositedSelectionUpdateEnabled() 76 bool WebRuntimeFeatures::isCompositedSelectionUpdateEnabled()
77 { 77 {
78 return RuntimeEnabledFeatures::compositedSelectionUpdateEnabled(); 78 return RuntimeEnabledFeatures::compositedSelectionUpdateEnabled();
79 } 79 }
80 80
81 void WebRuntimeFeatures::enableCompositorWorker(bool enable)
82 {
83 RuntimeEnabledFeatures::setCompositorWorkerEnabled(enable);
84 }
85
86 bool WebRuntimeFeatures::isCompositorWorkerEnabled()
87 {
88 return RuntimeEnabledFeatures::compositorWorkerEnabled();
89 }
90
81 void WebRuntimeFeatures::enableDatabase(bool enable) 91 void WebRuntimeFeatures::enableDatabase(bool enable)
82 { 92 {
83 RuntimeEnabledFeatures::setDatabaseEnabled(enable); 93 RuntimeEnabledFeatures::setDatabaseEnabled(enable);
84 } 94 }
85 95
86 void WebRuntimeFeatures::enableDecodeToYUV(bool enable) 96 void WebRuntimeFeatures::enableDecodeToYUV(bool enable)
87 { 97 {
88 RuntimeEnabledFeatures::setDecodeToYUVEnabled(enable); 98 RuntimeEnabledFeatures::setDecodeToYUVEnabled(enable);
89 } 99 }
90 100
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 { 337 {
328 RuntimeEnabledFeatures::setUnsafeES3APIsEnabled(enable); 338 RuntimeEnabledFeatures::setUnsafeES3APIsEnabled(enable);
329 } 339 }
330 340
331 void WebRuntimeFeatures::enableVRDevice(bool enable) 341 void WebRuntimeFeatures::enableVRDevice(bool enable)
332 { 342 {
333 RuntimeEnabledFeatures::setVRDeviceEnabled(enable); 343 RuntimeEnabledFeatures::setVRDeviceEnabled(enable);
334 } 344 }
335 345
336 } // namespace blink 346 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698