Bug 1890793: Assert CallArgs::newTarget is not gray. r=spidermonkey-reviewers,sfink...
[gecko.git] / xpfe / appshell / LiveResizeListener.h
blobe878ad7d350429f5ded13d445d4a5fc76b1145ca
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
3 * This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #ifndef mozilla_LiveResizeListener_h
8 #define mozilla_LiveResizeListener_h
10 #include "nsISupportsImpl.h"
12 namespace mozilla {
14 class LiveResizeListener {
15 public:
16 virtual void LiveResizeStarted() = 0;
17 virtual void LiveResizeStopped() = 0;
19 NS_INLINE_DECL_PURE_VIRTUAL_REFCOUNTING
21 protected:
22 virtual ~LiveResizeListener() = default;
25 } // namespace mozilla
27 #endif // mozilla_LiveResizeListener_h