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

Unified Diff: Source/bindings/v8/ExceptionMessages.h

Issue 22608004: Improve 'Selection' exception messages. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ugh. Created 7 years, 4 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
« no previous file with comments | « Source/bindings/bindings.gypi ('k') | Source/bindings/v8/ExceptionMessages.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/v8/ExceptionMessages.h
diff --git a/Source/modules/mediastream/URLMediaStream.h b/Source/bindings/v8/ExceptionMessages.h
similarity index 86%
copy from Source/modules/mediastream/URLMediaStream.h
copy to Source/bindings/v8/ExceptionMessages.h
index 781eeca749e1266889f94d39a58eef8e157c9f67..0bd249bf46b37946a47378297bcd2f828d5c5019 100644
--- a/Source/modules/mediastream/URLMediaStream.h
+++ b/Source/bindings/v8/ExceptionMessages.h
@@ -28,21 +28,18 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef URLMediaStream_h
-#define URLMediaStream_h
+#ifndef ExceptionMessages_h
+#define ExceptionMessages_h
-#include "wtf/Forward.h"
+#include "wtf/text/WTFString.h"
namespace WebCore {
-class MediaStream;
-class ScriptExecutionContext;
-
-class URLMediaStream {
+class ExceptionMessages {
public:
- static String createObjectURL(ScriptExecutionContext*, MediaStream*);
+ static String failedToExecute(const String& method, const String& type, const String& detail);
};
} // namespace WebCore
-#endif
+#endif // ExceptionMessages_h
« no previous file with comments | « Source/bindings/bindings.gypi ('k') | Source/bindings/v8/ExceptionMessages.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698