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

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

Issue 2930493002: Add CompositorTouchAction to RuntimeEnabledFeatures. (Closed)
Patch Set: Rebase - all the set functions are now capitalized Created 3 years, 6 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 | « third_party/WebKit/Source/platform/exported/WebRuntimeFeatures.cpp ('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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 // Note: We use std::string instead of WebString because this API can 54 // Note: We use std::string instead of WebString because this API can
55 // be called before blink::initalize(). We can't create WebString objects 55 // be called before blink::initalize(). We can't create WebString objects
56 // before blink::initialize(). 56 // before blink::initialize().
57 BLINK_PLATFORM_EXPORT static void EnableFeatureFromString( 57 BLINK_PLATFORM_EXPORT static void EnableFeatureFromString(
58 const std::string& name, 58 const std::string& name,
59 bool enable); 59 bool enable);
60 60
61 BLINK_PLATFORM_EXPORT static void EnableCompositedSelectionUpdate(bool); 61 BLINK_PLATFORM_EXPORT static void EnableCompositedSelectionUpdate(bool);
62 BLINK_PLATFORM_EXPORT static bool IsCompositedSelectionUpdateEnabled(); 62 BLINK_PLATFORM_EXPORT static bool IsCompositedSelectionUpdateEnabled();
63 63
64 BLINK_PLATFORM_EXPORT static void EnableCompositorTouchAction(bool);
65
64 BLINK_PLATFORM_EXPORT static void EnableDisplayList2dCanvas(bool); 66 BLINK_PLATFORM_EXPORT static void EnableDisplayList2dCanvas(bool);
65 BLINK_PLATFORM_EXPORT static void ForceDisplayList2dCanvas(bool); 67 BLINK_PLATFORM_EXPORT static void ForceDisplayList2dCanvas(bool);
66 BLINK_PLATFORM_EXPORT static void ForceDisable2dCanvasCopyOnWrite(bool); 68 BLINK_PLATFORM_EXPORT static void ForceDisable2dCanvasCopyOnWrite(bool);
67 69
68 BLINK_PLATFORM_EXPORT static void EnableOriginTrials(bool); 70 BLINK_PLATFORM_EXPORT static void EnableOriginTrials(bool);
69 BLINK_PLATFORM_EXPORT static bool IsOriginTrialsEnabled(); 71 BLINK_PLATFORM_EXPORT static bool IsOriginTrialsEnabled();
70 72
71 BLINK_PLATFORM_EXPORT static void EnableAccelerated2dCanvas(bool); 73 BLINK_PLATFORM_EXPORT static void EnableAccelerated2dCanvas(bool);
72 BLINK_PLATFORM_EXPORT static void EnableAudioOutputDevices(bool); 74 BLINK_PLATFORM_EXPORT static void EnableAudioOutputDevices(bool);
73 BLINK_PLATFORM_EXPORT static void EnableCanvas2dImageChromium(bool); 75 BLINK_PLATFORM_EXPORT static void EnableCanvas2dImageChromium(bool);
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 BLINK_PLATFORM_EXPORT static void EnableRemotePlaybackBackend(bool); 161 BLINK_PLATFORM_EXPORT static void EnableRemotePlaybackBackend(bool);
160 BLINK_PLATFORM_EXPORT static void EnableMediaCastOverlayButton(bool); 162 BLINK_PLATFORM_EXPORT static void EnableMediaCastOverlayButton(bool);
161 163
162 private: 164 private:
163 WebRuntimeFeatures(); 165 WebRuntimeFeatures();
164 }; 166 };
165 167
166 } // namespace blink 168 } // namespace blink
167 169
168 #endif 170 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/exported/WebRuntimeFeatures.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698