xpfe/appshell/LiveResizeListener.h
author Boris Zbarsky <bzbarsky@mit.edu>
Fri, 03 Aug 2018 00:05:07 +0000
changeset 485029 cca51f08f1b557a68a7f5a6dcc51b8a8a9b54efb
parent 378659 37a01852d4205709e9a9bb079a41f429f360ef03
child 505383 6f3709b3878117466168c40affa7bca0b60cf75b
permissions -rw-r--r--
Bug 1479570. Get Add a getter to get a docshell from nsIWindowlessBrowser. r=kmag Differential Revision: https://phabricator.services.mozilla.com/D2669

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