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

Side by Side Diff: Source/WebCore/bindings/generic/RuntimeEnabledFeatures.h

Issue 9950115: Revert 111028 - Support W3C Full Screen API proposal (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1084/
Patch Set: Created 8 years, 8 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 | « LayoutTests/fullscreen/full-screen-test.js ('k') | Source/WebCore/dom/Document.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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 static bool webkitIDBDatabaseErrorEnabled() { return isIndexedDBEnabled; } 64 static bool webkitIDBDatabaseErrorEnabled() { return isIndexedDBEnabled; }
65 static bool webkitIDBDatabaseExceptionEnabled() { return isIndexedDBEnabled; } 65 static bool webkitIDBDatabaseExceptionEnabled() { return isIndexedDBEnabled; }
66 static bool webkitIDBFactoryEnabled() { return isIndexedDBEnabled; } 66 static bool webkitIDBFactoryEnabled() { return isIndexedDBEnabled; }
67 static bool webkitIDBIndexEnabled() { return isIndexedDBEnabled; } 67 static bool webkitIDBIndexEnabled() { return isIndexedDBEnabled; }
68 static bool webkitIDBKeyRangeEnabled() { return isIndexedDBEnabled; } 68 static bool webkitIDBKeyRangeEnabled() { return isIndexedDBEnabled; }
69 static bool webkitIDBObjectStoreEnabled() { return isIndexedDBEnabled; } 69 static bool webkitIDBObjectStoreEnabled() { return isIndexedDBEnabled; }
70 static bool webkitIDBRequestEnabled() { return isIndexedDBEnabled; } 70 static bool webkitIDBRequestEnabled() { return isIndexedDBEnabled; }
71 static bool webkitIDBTransactionEnabled() { return isIndexedDBEnabled; } 71 static bool webkitIDBTransactionEnabled() { return isIndexedDBEnabled; }
72 72
73 #if ENABLE(FULLSCREEN_API) 73 #if ENABLE(FULLSCREEN_API)
74 // Mozilla version
75 static bool webkitFullScreenAPIEnabled() { return isFullScreenAPIEnabled; } 74 static bool webkitFullScreenAPIEnabled() { return isFullScreenAPIEnabled; }
76 static void setWebkitFullScreenAPIEnabled(bool isEnabled) { isFullScreenAPIE nabled = isEnabled; } 75 static void setWebkitFullScreenAPIEnabled(bool isEnabled) { isFullScreenAPIE nabled = isEnabled; }
77 static bool webkitRequestFullScreenEnabled() { return isFullScreenAPIEnabled ; } 76 static bool webkitRequestFullScreenEnabled() { return isFullScreenAPIEnabled ; }
78 static bool webkitIsFullScreenEnabled() { return isFullScreenAPIEnabled; } 77 static bool webkitIsFullScreenEnabled() { return isFullScreenAPIEnabled; }
79 static bool webkitFullScreenKeyboardInputAllowedEnabled() { return isFullScr eenAPIEnabled; } 78 static bool webkitFullScreenKeyboardInputAllowedEnabled() { return isFullScr eenAPIEnabled; }
80 static bool webkitCurrentFullScreenElementEnabled() { return isFullScreenAPI Enabled; } 79 static bool webkitCurrentFullScreenElementEnabled() { return isFullScreenAPI Enabled; }
81 static bool webkitCancelFullScreenEnabled() { return isFullScreenAPIEnabled; } 80 static bool webkitCancelFullScreenEnabled() { return isFullScreenAPIEnabled; }
82
83 // W3C version
84 static bool webkitFullscreenEnabledEnabled() { return isFullScreenAPIEnabled ; }
85 static bool webkitFullscreenElementEnabled() { return isFullScreenAPIEnabled ; }
86 static bool webkitExitFullscreenEnabled() { return isFullScreenAPIEnabled; }
87 static bool webkitRequestFullscreenEnabled() { return isFullScreenAPIEnabled ; }
88 #endif 81 #endif
89 82
90 #if ENABLE(POINTER_LOCK) 83 #if ENABLE(POINTER_LOCK)
91 static bool webkitPointerLockEnabled() { return isPointerLockEnabled; } 84 static bool webkitPointerLockEnabled() { return isPointerLockEnabled; }
92 static void setWebkitPointerLockEnabled(bool isEnabled) { isPointerLockEnabl ed = isEnabled; } 85 static void setWebkitPointerLockEnabled(bool isEnabled) { isPointerLockEnabl ed = isEnabled; }
93 static bool webkitPointerEnabled() { return isPointerLockEnabled; } 86 static bool webkitPointerEnabled() { return isPointerLockEnabled; }
94 static bool webkitMovementXEnabled() { return isPointerLockEnabled; } 87 static bool webkitMovementXEnabled() { return isPointerLockEnabled; }
95 static bool webkitMovementYEnabled() { return isPointerLockEnabled; } 88 static bool webkitMovementYEnabled() { return isPointerLockEnabled; }
96 #endif 89 #endif
97 90
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 #endif 278 #endif
286 279
287 #if ENABLE(STYLE_SCOPED) 280 #if ENABLE(STYLE_SCOPED)
288 static bool isStyleScopedEnabled; 281 static bool isStyleScopedEnabled;
289 #endif 282 #endif
290 }; 283 };
291 284
292 } // namespace WebCore 285 } // namespace WebCore
293 286
294 #endif // RuntimeEnabledFeatures_h 287 #endif // RuntimeEnabledFeatures_h
OLDNEW
« no previous file with comments | « LayoutTests/fullscreen/full-screen-test.js ('k') | Source/WebCore/dom/Document.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698