gecko/dom/base/nsDOMWindowResizeEventDetail.h
Kan-Ru Chen (陳侃如) a7e64cb3fe Bug 891763 - Browser API: mozbrowserresize event. r=jlebar
--HG--
extra : rebase_source : ba426c66e1fb6f108107c44c64fd170ea384a6db
2013-08-16 19:16:20 +08:00

23 lines
587 B
C++

/* 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/. */
#include "nsIDOMDOMWindowResizeEventDetail.h"
#include "nsSize.h"
class nsDOMWindowResizeEventDetail : public nsIDOMDOMWindowResizeEventDetail
{
public:
nsDOMWindowResizeEventDetail(const nsIntSize& aSize)
: mSize(aSize)
{}
virtual ~nsDOMWindowResizeEventDetail() {}
NS_DECL_ISUPPORTS
NS_DECL_NSIDOMDOMWINDOWRESIZEEVENTDETAIL
private:
const nsIntSize mSize;
};