widget/nsClipboardHelper.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 236314 41c37790896e424e2743811d3d19be00068ce941
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++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
 *
 * 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 nsClipboardHelper_h__
#define nsClipboardHelper_h__

// interfaces
#include "nsIClipboardHelper.h"

// basics
#include "nsString.h"

/**
 * impl class for nsIClipboardHelper, a helper for common uses of nsIClipboard.
 */

class nsClipboardHelper : public nsIClipboardHelper
{
  virtual ~nsClipboardHelper();

public:

  NS_DECL_ISUPPORTS
  NS_DECL_NSICLIPBOARDHELPER

  nsClipboardHelper();
};

#endif // nsClipboardHelper_h__