зеркало из https://github.com/mozilla/gecko-dev.git
inherits from Repeater
This commit is contained in:
Родитель
7432f07556
Коммит
fb6c105126
|
@ -22,13 +22,16 @@
|
|||
#include "nsWindow.h"
|
||||
#include "nsITextAreaWidget.h"
|
||||
#include "WASTE.h"
|
||||
#include "nsRepeater.h"
|
||||
|
||||
/**
|
||||
* Native Mac single line edit control wrapper.
|
||||
*/
|
||||
|
||||
class nsTextAreaWidget : public nsWindow, public nsITextAreaWidget
|
||||
class nsTextAreaWidget : public nsWindow, public nsITextAreaWidget, public Repeater
|
||||
{
|
||||
private:
|
||||
typedef nsWindow Inherited;
|
||||
|
||||
public:
|
||||
nsTextAreaWidget();
|
||||
|
@ -70,6 +73,9 @@ public:
|
|||
virtual PRBool DispatchMouseEvent(nsMouseEvent &aEvent);
|
||||
virtual PRBool DispatchWindowEvent(nsGUIEvent& event);
|
||||
|
||||
// Repeater interface
|
||||
virtual void RepeatAction(const EventRecord& inMacEvent);
|
||||
|
||||
void PrimitiveKeyDown(PRInt16 aKey,PRInt16 aModifiers);
|
||||
|
||||
protected:
|
||||
|
|
Загрузка…
Ссылка в новой задаче