xpfe/appshell/LiveResizeListener.h
author Michael Froman <mfroman@mozilla.com>
Fri, 30 Nov 2018 00:46:17 +0000
changeset 448889 2e6cbbc4c53e3c0cc762b8c716d5e6370a11bd17
parent 332017 37a01852d4205709e9a9bb079a41f429f360ef03
child 448947 6f3709b3878117466168c40affa7bca0b60cf75b
permissions -rw-r--r--
Bug 1452146 - flip av1 and rdd on for OSX and Win. r=drno Differential Revision: https://phabricator.services.mozilla.com/D13482

/* -*- 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