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

Unified Diff: public/platform/WebIDBKeyType.h

Issue 19316002: Separate WebIDBKey type into separate header (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 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 side-by-side diff with in-line comments
Download patch
« public/platform/WebIDBKey.h ('K') | « public/platform/WebIDBKey.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebIDBKeyType.h
diff --git a/Source/core/html/canvas/EXTFragDepth.idl b/public/platform/WebIDBKeyType.h
similarity index 81%
copy from Source/core/html/canvas/EXTFragDepth.idl
copy to public/platform/WebIDBKeyType.h
index 52a6f932c30eb3d04b60fc0e9ae33e996ea9de04..41b36832186f5759d2f3f9f0a7a9e807763a3f48 100644
--- a/Source/core/html/canvas/EXTFragDepth.idl
+++ b/public/platform/WebIDBKeyType.h
@@ -23,7 +23,21 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-[
- NoInterfaceObject
-] interface EXTFragDepth {
+#ifndef WebIDBKeyType_h
+#define WebIDBKeyType_h
+
+namespace WebKit {
+
+enum WebIDBKeyType {
+ WebIDBKeyTypeInvalid = 0,
+ WebIDBKeyTypeArray,
+ WebIDBKeyTypeString,
+ WebIDBKeyTypeDate,
+ WebIDBKeyTypeNumber,
+ WebIDBKeyTypeNull,
+ WebIDBKeyTypeMin,
};
+
+} // namespace WebKit
+
+#endif // WebIDBKeyType_h
« public/platform/WebIDBKey.h ('K') | « public/platform/WebIDBKey.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698