2007-03-22 10:30:00 -07:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2012-05-21 04:12:37 -07:00
|
|
|
/* 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/. */
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
#ifndef nsIPrivateTextEvent_h__
|
|
|
|
#define nsIPrivateTextEvent_h__
|
|
|
|
|
|
|
|
#include "nsEvent.h"
|
|
|
|
#include "nsISupports.h"
|
|
|
|
#include "nsIPrivateTextRange.h"
|
|
|
|
|
|
|
|
#define NS_IPRIVATETEXTEVENT_IID \
|
2010-04-10 02:24:35 -07:00
|
|
|
{ 0xb6840e02, 0x9e56, 0x49d8, \
|
|
|
|
{ 0x84, 0xd, 0x5f, 0xc1, 0xcb, 0x6c, 0xff, 0xb3 } }
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
class nsIPrivateTextEvent : public nsISupports {
|
|
|
|
|
|
|
|
public:
|
|
|
|
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IPRIVATETEXTEVENT_IID)
|
|
|
|
|
|
|
|
NS_IMETHOD GetText(nsString& aText) = 0;
|
2008-10-09 16:31:19 -07:00
|
|
|
NS_IMETHOD_(already_AddRefed<nsIPrivateTextRangeList>) GetInputRange() = 0;
|
2007-03-22 10:30:00 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
NS_DEFINE_STATIC_IID_ACCESSOR(nsIPrivateTextEvent, NS_IPRIVATETEXTEVENT_IID)
|
|
|
|
|
|
|
|
#endif // nsIPrivateTextEvent_h__
|
|
|
|
|