mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-07-20 22:19:49 +00:00
import changes from `dev' branch of rmottola/Arctic-Fox:
- Bug 1102048 (Part 20, imgLoader) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth (0a8270ba4) - Bug 1102048 (Part 23, encoders) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth (6625ca535) - Bug 1102048 (Part 39, decoders/icon) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth (55956f847) - Bug 1102048 (Part 24, decoders) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth (cf2b002a7) - Bug 1102048 (Part 04, ClippedImage) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth (c9f1451ad) - Bug 1102048 (Part 30, imgTools) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth (2e3378d34) - Bug 1082837 - Track insecure redirects on imgRequest. r=? (466a14e22) - Bug 1139225 (Part 3) - Make OnDataAvailable threadsafe. r=tn (d10208a8b) - Bug 1139225 (Part 1) - Remove unused imgRequest::mBlockingOnload flag. r=tn (c0d80facd) - Bug 1102048 (Part 11, imgRequest) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth (63ee15eb8) - Bug 1102048 (Part 38, ShutdownTracker) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth (a58d515ed) - Bug 1102048 (Part 37, ProgressTracker) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth (04b07cb06) - Bug 1102048 (Part 14, NotificationObserver) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth (ca32242a4) - Bug 1102048 (Part 13, RasterImage) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth (8f3931f31) - Bug 1102048 (Part 10, imgFrame) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth (2f2b22e70) - Bug 1102048 (Part 36, DynamicImage) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth (2cce04d2b) - Bug 1102048 (Part 09, Image) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth (2f3743d2e) - Bug 1102048 (Part 29, imgRequestProxy) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth (bf2824c08) - Bug 1102048 (Part 31, SurfaceCache) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth (c6849f4d9) - Bug 1102048 (Part 25, header guards) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth (bde0a4979) - Bug 1102048 (Part 33, SVGDocument) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth (71f5f960c) - Bug 1102048 (Part 05, Decoder) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth (48b1d5a80) - Bug 1102048 (Part 34, Multipart) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth (fb65aa069) - Bug 1102048 (Part 35, Downscaler) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth (2eb0be1f7) - Bug 1102048 (Part 19, ImageMetadata) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth (749305ddd) - Bug 1102048 (Part 32, FrameAnimator) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth (1df4850d6) - Bug 1102048 (Part 26) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth (52550fb88) - Bug 1102048 (Part 03) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth (438e52a57)
This commit is contained in:
@@ -24,30 +24,37 @@ NS_IMPL_CYCLE_COLLECTING_RELEASE(ScriptedNotificationObserver)
|
||||
ScriptedNotificationObserver::ScriptedNotificationObserver(
|
||||
imgIScriptedNotificationObserver* aInner)
|
||||
: mInner(aInner)
|
||||
{
|
||||
}
|
||||
{ }
|
||||
|
||||
NS_IMETHODIMP
|
||||
ScriptedNotificationObserver::Notify(imgIRequest* aRequest,
|
||||
int32_t aType,
|
||||
const nsIntRect* /*aUnused*/)
|
||||
{
|
||||
if (aType == imgINotificationObserver::SIZE_AVAILABLE)
|
||||
if (aType == imgINotificationObserver::SIZE_AVAILABLE) {
|
||||
return mInner->SizeAvailable(aRequest);
|
||||
if (aType == imgINotificationObserver::FRAME_UPDATE)
|
||||
}
|
||||
if (aType == imgINotificationObserver::FRAME_UPDATE) {
|
||||
return mInner->FrameUpdate(aRequest);
|
||||
if (aType == imgINotificationObserver::FRAME_COMPLETE)
|
||||
}
|
||||
if (aType == imgINotificationObserver::FRAME_COMPLETE) {
|
||||
return mInner->FrameComplete(aRequest);
|
||||
if (aType == imgINotificationObserver::DECODE_COMPLETE)
|
||||
}
|
||||
if (aType == imgINotificationObserver::DECODE_COMPLETE) {
|
||||
return mInner->DecodeComplete(aRequest);
|
||||
if (aType == imgINotificationObserver::LOAD_COMPLETE)
|
||||
}
|
||||
if (aType == imgINotificationObserver::LOAD_COMPLETE) {
|
||||
return mInner->LoadComplete(aRequest);
|
||||
if (aType == imgINotificationObserver::DISCARD)
|
||||
}
|
||||
if (aType == imgINotificationObserver::DISCARD) {
|
||||
return mInner->Discard(aRequest);
|
||||
if (aType == imgINotificationObserver::IS_ANIMATED)
|
||||
}
|
||||
if (aType == imgINotificationObserver::IS_ANIMATED) {
|
||||
return mInner->IsAnimated(aRequest);
|
||||
if (aType == imgINotificationObserver::HAS_TRANSPARENCY)
|
||||
}
|
||||
if (aType == imgINotificationObserver::HAS_TRANSPARENCY) {
|
||||
return mInner->HasTransparency(aRequest);
|
||||
}
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user