diff options
author | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
---|---|---|
committer | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
commit | 5f8de423f190bbb79a62f804151bc24824fa32d8 (patch) | |
tree | 10027f336435511475e392454359edea8e25895d /layout/xul/nsPIListBoxObject.h | |
parent | 49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff) | |
download | UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip |
Add m-esr52 at 52.6.0
Diffstat (limited to 'layout/xul/nsPIListBoxObject.h')
-rw-r--r-- | layout/xul/nsPIListBoxObject.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/layout/xul/nsPIListBoxObject.h b/layout/xul/nsPIListBoxObject.h new file mode 100644 index 000000000..c7b9928f0 --- /dev/null +++ b/layout/xul/nsPIListBoxObject.h @@ -0,0 +1,30 @@ +/* -*- 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 nsPIListBoxObject_h__ +#define nsPIListBoxObject_h__ + +class nsListBoxBodyFrame; + +// fa9549f7-ee09-48fc-89f7-30cceee21c15 +#define NS_PILISTBOXOBJECT_IID \ +{ 0xfa9549f7, 0xee09, 0x48fc, \ + { 0x89, 0xf7, 0x30, 0xcc, 0xee, 0xe2, 0x1c, 0x15 } } + +#include "nsIListBoxObject.h" + +class nsPIListBoxObject : public nsIListBoxObject { + public: + NS_DECLARE_STATIC_IID_ACCESSOR(NS_PILISTBOXOBJECT_IID) + /** + * Get the list box body. This will search for it as needed. + * If aFlush is false we don't Flush_Frames though. + */ + virtual nsListBoxBodyFrame* GetListBoxBody(bool aFlush) = 0; +}; + +NS_DEFINE_STATIC_IID_ACCESSOR(nsPIListBoxObject, NS_PILISTBOXOBJECT_IID) + +#endif // nsPIListBoxObject_h__ |