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

Side by Side Diff: third_party/WebKit/public/web/WebRuntimeFeatures.h

Issue 1752083003: mac: Use IOSurfaces in Canvas2DLayerBridge. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@temp36_canvas2d_refactor
Patch Set: Rebase. Group macros. Created 4 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
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 // RuntimeEnabledFeatures.in. 52 // RuntimeEnabledFeatures.in.
53 // Note: We use std::string instead of WebString because this API can 53 // Note: We use std::string instead of WebString because this API can
54 // be called before blink::initalize(). We can't create WebString objects 54 // be called before blink::initalize(). We can't create WebString objects
55 // before blink::initialize(). 55 // before blink::initialize().
56 BLINK_EXPORT static void enableFeatureFromString(const std::string& name, bo ol enable); 56 BLINK_EXPORT static void enableFeatureFromString(const std::string& name, bo ol enable);
57 57
58 BLINK_EXPORT static void enableApplicationCache(bool); 58 BLINK_EXPORT static void enableApplicationCache(bool);
59 59
60 BLINK_EXPORT static void enableAudioOutputDevices(bool); 60 BLINK_EXPORT static void enableAudioOutputDevices(bool);
61 61
62 BLINK_EXPORT static void enableCanvas2dImageChromium(bool);
63
62 BLINK_EXPORT static void enableDatabase(bool); 64 BLINK_EXPORT static void enableDatabase(bool);
63 65
64 BLINK_EXPORT static void enableCompositedSelectionUpdate(bool); 66 BLINK_EXPORT static void enableCompositedSelectionUpdate(bool);
65 BLINK_EXPORT static bool isCompositedSelectionUpdateEnabled(); 67 BLINK_EXPORT static bool isCompositedSelectionUpdateEnabled();
66 68
67 BLINK_EXPORT static void enableDecodeToYUV(bool); 69 BLINK_EXPORT static void enableDecodeToYUV(bool);
68 70
69 BLINK_EXPORT static void enableDisplayList2dCanvas(bool); 71 BLINK_EXPORT static void enableDisplayList2dCanvas(bool);
70 BLINK_EXPORT static void forceDisplayList2dCanvas(bool); 72 BLINK_EXPORT static void forceDisplayList2dCanvas(bool);
71 BLINK_EXPORT static void forceDisable2dCanvasCopyOnWrite(bool); 73 BLINK_EXPORT static void forceDisable2dCanvasCopyOnWrite(bool);
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 // (crbug.com/543198). 165 // (crbug.com/543198).
164 BLINK_EXPORT static bool isServiceWorkerExtendableMessageEventEnabled(); 166 BLINK_EXPORT static bool isServiceWorkerExtendableMessageEventEnabled();
165 167
166 private: 168 private:
167 WebRuntimeFeatures(); 169 WebRuntimeFeatures();
168 }; 170 };
169 171
170 } // namespace blink 172 } // namespace blink
171 173
172 #endif 174 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698