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

Side by Side Diff: sky/engine/public/web/WebRuntimeFeatures.h

Issue 689373003: Remove most of the media stack. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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/WebMediaPlayerAction.h ('k') | sky/engine/public/web/WebView.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 26 matching lines...) Expand all
37 37
38 // This class is used to enable runtime features of Blink. 38 // This class is used to enable runtime features of Blink.
39 // Stable features are enabled by default. 39 // Stable features are enabled by default.
40 class WebRuntimeFeatures { 40 class WebRuntimeFeatures {
41 public: 41 public:
42 BLINK_EXPORT static void enableExperimentalFeatures(bool); 42 BLINK_EXPORT static void enableExperimentalFeatures(bool);
43 BLINK_EXPORT static void enableTestOnlyFeatures(bool); 43 BLINK_EXPORT static void enableTestOnlyFeatures(bool);
44 44
45 BLINK_EXPORT static void enableDatabase(bool); 45 BLINK_EXPORT static void enableDatabase(bool);
46 46
47 BLINK_EXPORT static void enableEncryptedMedia(bool);
48 BLINK_EXPORT static bool isEncryptedMediaEnabled();
49
50 BLINK_EXPORT static void enablePrefixedEncryptedMedia(bool);
51 BLINK_EXPORT static bool isPrefixedEncryptedMediaEnabled();
52
53 BLINK_EXPORT static void enableBleedingEdgeFastPaths(bool); 47 BLINK_EXPORT static void enableBleedingEdgeFastPaths(bool);
54 48
55 BLINK_EXPORT static void enableExperimentalCanvasFeatures(bool); 49 BLINK_EXPORT static void enableExperimentalCanvasFeatures(bool);
56 50
57 BLINK_EXPORT static void enableFastMobileScrolling(bool); 51 BLINK_EXPORT static void enableFastMobileScrolling(bool);
58 52
59 BLINK_EXPORT static void enableFileSystem(bool); 53 BLINK_EXPORT static void enableFileSystem(bool);
60 54
61 BLINK_EXPORT static void enableMediaPlayer(bool); 55 BLINK_EXPORT static void enableMediaPlayer(bool);
62 56
63 BLINK_EXPORT static void enableSubpixelFontScaling(bool); 57 BLINK_EXPORT static void enableSubpixelFontScaling(bool);
64 58
65 BLINK_EXPORT static void enableMediaCapture(bool); 59 BLINK_EXPORT static void enableMediaCapture(bool);
66 60
67 BLINK_EXPORT static void enableMediaSource(bool);
68
69 BLINK_EXPORT static void enableNotifications(bool); 61 BLINK_EXPORT static void enableNotifications(bool);
70 62
71 BLINK_EXPORT static void enableNavigatorContentUtils(bool); 63 BLINK_EXPORT static void enableNavigatorContentUtils(bool);
72 64
73 BLINK_EXPORT static void enableNavigationTransitions(bool); 65 BLINK_EXPORT static void enableNavigationTransitions(bool);
74 66
75 BLINK_EXPORT static void enableNetworkInformation(bool); 67 BLINK_EXPORT static void enableNetworkInformation(bool);
76 68
77 BLINK_EXPORT static void enableOrientationEvent(bool); 69 BLINK_EXPORT static void enableOrientationEvent(bool);
78 70
(...skipping 27 matching lines...) Expand all
106 98
107 BLINK_EXPORT static void enableLaxMixedContentChecking(bool); 99 BLINK_EXPORT static void enableLaxMixedContentChecking(bool);
108 100
109 private: 101 private:
110 WebRuntimeFeatures(); 102 WebRuntimeFeatures();
111 }; 103 };
112 104
113 } // namespace blink 105 } // namespace blink
114 106
115 #endif 107 #endif
OLDNEW
« no previous file with comments | « sky/engine/public/web/WebMediaPlayerAction.h ('k') | sky/engine/public/web/WebView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698