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

Side by Side Diff: third_party/WebKit/Source/core/dom/ExceptionCode.h

Issue 1576283003: Have HTMLMediaElement::play() return a Promise. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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) 2006, 2007 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved.
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public 5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 PathExistsError, 77 PathExistsError,
78 78
79 // SQL 79 // SQL
80 SQLDatabaseError, // Naming conflict with DatabaseError class. 80 SQLDatabaseError, // Naming conflict with DatabaseError class.
81 81
82 // Web Crypto 82 // Web Crypto
83 OperationError, 83 OperationError,
84 84
85 // Push API 85 // Push API
86 PermissionDeniedError, 86 PermissionDeniedError,
87
88 NotAllowedError,
89
90 // Please add new enums at the end of this list to guarantee any ordering
91 // expectations.
87 }; 92 };
88 93
89 enum V8ErrorType { 94 enum V8ErrorType {
90 V8GeneralError = 1000, 95 V8GeneralError = 1000,
91 V8TypeError, 96 V8TypeError,
92 V8RangeError, 97 V8RangeError,
93 V8SyntaxError, 98 V8SyntaxError,
94 V8ReferenceError, 99 V8ReferenceError,
95 }; 100 };
96 101
97 } // namespace blink 102 } // namespace blink
98 103
99 #endif // ExceptionCode_h 104 #endif // ExceptionCode_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698