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

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

Issue 203603007: remove BLINK_EXPORT for motion/orientation (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
« no previous file with comments | « no previous file | public/web/WebRuntimeFeatures.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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 void WebRuntimeFeatures::enableApplicationCache(bool enable) 65 void WebRuntimeFeatures::enableApplicationCache(bool enable)
66 { 66 {
67 RuntimeEnabledFeatures::setApplicationCacheEnabled(enable); 67 RuntimeEnabledFeatures::setApplicationCacheEnabled(enable);
68 } 68 }
69 69
70 void WebRuntimeFeatures::enableDatabase(bool enable) 70 void WebRuntimeFeatures::enableDatabase(bool enable)
71 { 71 {
72 RuntimeEnabledFeatures::setDatabaseEnabled(enable); 72 RuntimeEnabledFeatures::setDatabaseEnabled(enable);
73 } 73 }
74 74
75 void WebRuntimeFeatures::enableDeviceMotion(bool enable)
76 {
77 RuntimeEnabledFeatures::setDeviceMotionEnabled(enable);
78 }
79
80 void WebRuntimeFeatures::enableDeviceOrientation(bool enable)
81 {
82 RuntimeEnabledFeatures::setDeviceOrientationEnabled(enable);
83 }
84
85 void WebRuntimeFeatures::enableDialogElement(bool enable) 75 void WebRuntimeFeatures::enableDialogElement(bool enable)
86 { 76 {
87 RuntimeEnabledFeatures::setDialogElementEnabled(enable); 77 RuntimeEnabledFeatures::setDialogElementEnabled(enable);
88 } 78 }
89 79
90 void WebRuntimeFeatures::enableEncryptedMedia(bool enable) 80 void WebRuntimeFeatures::enableEncryptedMedia(bool enable)
91 { 81 {
92 RuntimeEnabledFeatures::setEncryptedMediaEnabled(enable); 82 RuntimeEnabledFeatures::setEncryptedMediaEnabled(enable);
93 // FIXME: Hack to allow MediaKeyError to be enabled for either version. 83 // FIXME: Hack to allow MediaKeyError to be enabled for either version.
94 RuntimeEnabledFeatures::setEncryptedMediaAnyVersionEnabled( 84 RuntimeEnabledFeatures::setEncryptedMediaAnyVersionEnabled(
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 { 286 {
297 RuntimeEnabledFeatures::setExperimentalWebSocketEnabled(enable); 287 RuntimeEnabledFeatures::setExperimentalWebSocketEnabled(enable);
298 } 288 }
299 289
300 void WebRuntimeFeatures::enableTargetedStyleRecalc(bool enable) 290 void WebRuntimeFeatures::enableTargetedStyleRecalc(bool enable)
301 { 291 {
302 RuntimeEnabledFeatures::setTargetedStyleRecalcEnabled(enable); 292 RuntimeEnabledFeatures::setTargetedStyleRecalcEnabled(enable);
303 } 293 }
304 294
305 } // namespace blink 295 } // namespace blink
OLDNEW
« no previous file with comments | « no previous file | public/web/WebRuntimeFeatures.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698