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

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

Issue 2339873002: Replace hide-scrollbars flag with a web setting. (Closed)
Patch Set: check for presence of settings using DCHECK + sync. Created 4 years, 2 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 BLINK_EXPORT static void enableMediaCapture(bool); 84 BLINK_EXPORT static void enableMediaCapture(bool);
85 BLINK_EXPORT static void enableMediaDocumentDownloadButton(bool); 85 BLINK_EXPORT static void enableMediaDocumentDownloadButton(bool);
86 BLINK_EXPORT static void enableMiddleClickAutoscroll(bool); 86 BLINK_EXPORT static void enableMiddleClickAutoscroll(bool);
87 BLINK_EXPORT static void enableNavigatorContentUtils(bool); 87 BLINK_EXPORT static void enableNavigatorContentUtils(bool);
88 BLINK_EXPORT static void enableNetworkInformation(bool); 88 BLINK_EXPORT static void enableNetworkInformation(bool);
89 BLINK_EXPORT static void enableNewMediaPlaybackUi(bool); 89 BLINK_EXPORT static void enableNewMediaPlaybackUi(bool);
90 BLINK_EXPORT static void enableNotificationConstructor(bool); 90 BLINK_EXPORT static void enableNotificationConstructor(bool);
91 BLINK_EXPORT static void enableNotifications(bool); 91 BLINK_EXPORT static void enableNotifications(bool);
92 BLINK_EXPORT static void enableOrientationEvent(bool); 92 BLINK_EXPORT static void enableOrientationEvent(bool);
93 BLINK_EXPORT static void enableOverlayScrollbars(bool); 93 BLINK_EXPORT static void enableOverlayScrollbars(bool);
94 BLINK_EXPORT static void enableHideScrollbars(bool);
95 BLINK_EXPORT static void enablePagePopup(bool); 94 BLINK_EXPORT static void enablePagePopup(bool);
96 BLINK_EXPORT static void enableParseHTMLOnMainThread(bool); 95 BLINK_EXPORT static void enableParseHTMLOnMainThread(bool);
97 BLINK_EXPORT static void enablePassiveDocumentEventListeners(bool); 96 BLINK_EXPORT static void enablePassiveDocumentEventListeners(bool);
98 BLINK_EXPORT static void enablePassiveEventListenersDueToFling(bool); 97 BLINK_EXPORT static void enablePassiveEventListenersDueToFling(bool);
99 BLINK_EXPORT static void enablePaymentRequest(bool); 98 BLINK_EXPORT static void enablePaymentRequest(bool);
100 BLINK_EXPORT static void enablePermissionsAPI(bool); 99 BLINK_EXPORT static void enablePermissionsAPI(bool);
101 BLINK_EXPORT static void enablePointerEvent(bool); 100 BLINK_EXPORT static void enablePointerEvent(bool);
102 BLINK_EXPORT static void enablePointerEventV1SpecCapturing(bool); 101 BLINK_EXPORT static void enablePointerEventV1SpecCapturing(bool);
103 BLINK_EXPORT static void enablePreciseMemoryInfo(bool); 102 BLINK_EXPORT static void enablePreciseMemoryInfo(bool);
104 BLINK_EXPORT static void enablePresentationAPI(bool); 103 BLINK_EXPORT static void enablePresentationAPI(bool);
(...skipping 27 matching lines...) Expand all
132 BLINK_EXPORT static void enableTimerThrottlingForHiddenFrames(bool); 131 BLINK_EXPORT static void enableTimerThrottlingForHiddenFrames(bool);
133 BLINK_EXPORT static void enableCanvas2dDynamicRenderingModeSwitching(bool); 132 BLINK_EXPORT static void enableCanvas2dDynamicRenderingModeSwitching(bool);
134 BLINK_EXPORT static void enableSendBeaconThrowForBlobWithNonSimpleType(bool) ; 133 BLINK_EXPORT static void enableSendBeaconThrowForBlobWithNonSimpleType(bool) ;
135 private: 134 private:
136 WebRuntimeFeatures(); 135 WebRuntimeFeatures();
137 }; 136 };
138 137
139 } // namespace blink 138 } // namespace blink
140 139
141 #endif 140 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/tests/VisualViewportTest.cpp ('k') | third_party/WebKit/public/web/WebSettings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698