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

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

Issue 132203007: First set of changes to remove ENABLE_ORIENTATION_EVENT compile time flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix build error Created 6 years, 11 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 | « Source/platform/RuntimeEnabledFeatures.in ('k') | 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 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 void WebRuntimeFeatures::enableNavigatorContentUtils(bool enable) 273 void WebRuntimeFeatures::enableNavigatorContentUtils(bool enable)
274 { 274 {
275 RuntimeEnabledFeatures::setNavigatorContentUtilsEnabled(enable); 275 RuntimeEnabledFeatures::setNavigatorContentUtilsEnabled(enable);
276 } 276 }
277 277
278 bool WebRuntimeFeatures::isNavigatorContentUtilsEnabled() 278 bool WebRuntimeFeatures::isNavigatorContentUtilsEnabled()
279 { 279 {
280 return RuntimeEnabledFeatures::navigatorContentUtilsEnabled(); 280 return RuntimeEnabledFeatures::navigatorContentUtilsEnabled();
281 } 281 }
282 282
283 void WebRuntimeFeatures::enableOrientationEvent(bool enable)
284 {
285 RuntimeEnabledFeatures::setOrientationEventEnabled(enable);
286 }
287
288 bool WebRuntimeFeatures::isOrientationEventEnabled()
289 {
290 return RuntimeEnabledFeatures::orientationEventEnabled();
291 }
292
283 void WebRuntimeFeatures::enablePagePopup(bool enable) 293 void WebRuntimeFeatures::enablePagePopup(bool enable)
284 { 294 {
285 RuntimeEnabledFeatures::setPagePopupEnabled(enable); 295 RuntimeEnabledFeatures::setPagePopupEnabled(enable);
286 } 296 }
287 297
288 bool WebRuntimeFeatures::isPagePopupEnabled() 298 bool WebRuntimeFeatures::isPagePopupEnabled()
289 { 299 {
290 return RuntimeEnabledFeatures::pagePopupEnabled(); 300 return RuntimeEnabledFeatures::pagePopupEnabled();
291 } 301 }
292 302
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
459 { 469 {
460 RuntimeEnabledFeatures::setSharedWorkerEnabled(enable); 470 RuntimeEnabledFeatures::setSharedWorkerEnabled(enable);
461 } 471 }
462 472
463 void WebRuntimeFeatures::enableRepaintAfterLayout(bool enable) 473 void WebRuntimeFeatures::enableRepaintAfterLayout(bool enable)
464 { 474 {
465 RuntimeEnabledFeatures::setRepaintAfterLayoutEnabled(enable); 475 RuntimeEnabledFeatures::setRepaintAfterLayoutEnabled(enable);
466 } 476 }
467 477
468 } // namespace blink 478 } // namespace blink
OLDNEW
« no previous file with comments | « Source/platform/RuntimeEnabledFeatures.in ('k') | public/web/WebRuntimeFeatures.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698