widget/nsSoundProxy.h
author Ting-Yu Lin <aethanyc@gmail.com>, Brad Werth <bwerth@mozilla.com>
Thu, 25 Jan 2018 14:56:43 +0800
changeset 464913 f6b9096da915f52a3b34e194beb9121e517bc823
parent 450913 19af171d77189ac5a35fd2d471b78884d764bc6a
child 505383 6f3709b3878117466168c40affa7bca0b60cf75b
permissions -rw-r--r--
Bug 1404222 Part 3: Block onload when shape-outside images are requested for a frame, and keep it blocked until the frame is removed or reflow is complete. r=dbaron,dholbert When we finish decoding an image frame, we need to trigger reflow for the frame containing a float with shape-outside: <image>, and delay the firing of the document's onload event until that reflow is complete.

/* -*- Mode: c++; c-basic-offset: 4; tab-width: 20; indent-tabs-mode: nil; -*-
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#ifndef NS_SOUND_PROXY_H
#define NS_SOUND_PROXY_H

#include "nsISound.h"

class nsSoundProxy final : public nsISound
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSISOUND

  nsSoundProxy() = default;

private:
  ~nsSoundProxy() = default;
};

#endif