xpfe/appshell/LiveResizeListener.h
author Jeff Muizelaar <jmuizelaar@mozilla.com>
Thu, 30 Aug 2018 21:31:07 -0400
changeset 491952 82efdb13962c299f4501c9f4ee3a4608a4fef85a
parent 380994 37a01852d4205709e9a9bb079a41f429f360ef03
child 508163 6f3709b3878117466168c40affa7bca0b60cf75b
permissions -rw-r--r--
Bug 1487429. Update tests for WebRender changes.

/* -*- 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 mozilla_LiveResizeListener_h
#define mozilla_LiveResizeListener_h

#include "nsISupportsImpl.h"

namespace mozilla {

class LiveResizeListener {
public:
  virtual void LiveResizeStarted() = 0;
  virtual void LiveResizeStopped() = 0;

  NS_INLINE_DECL_PURE_VIRTUAL_REFCOUNTING

protected:
  virtual ~LiveResizeListener() {}
};

} // namespace mozilla

#endif // mozilla_LiveResizeListener_h