From 1cc4b7f6fea2ff900abe66e43a3ee7bf3c3e16f6 Mon Sep 17 00:00:00 2001 From: "bzbarsky%mit.edu" Date: Wed, 19 Mar 2003 01:11:23 +0000 Subject: [PATCH] Error defs for bug 83774. r=pavlov, sr=jst --- content/base/public/nsContentErrors.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/content/base/public/nsContentErrors.h b/content/base/public/nsContentErrors.h index 44fbc9880fe..8cf49e774d0 100644 --- a/content/base/public/nsContentErrors.h +++ b/content/base/public/nsContentErrors.h @@ -72,4 +72,11 @@ #define NS_CONTENT_SCRIPT_IS_EVENTHANDLER \ NS_ERROR_GENERATE_SUCCESS(NS_ERROR_MODULE_CONTENT, 7) +/** Error codes for image loading */ +#define NS_ERROR_IMAGE_SRC_CHANGED \ + NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_CONTENT, 8) + +#define NS_ERROR_IMAGE_BLOCKED \ + NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_CONTENT, 9) + #endif // nsContentErrors_h___