|
|
|
Lines 175-197
protected:
|
Link Here
|
|---|
|
| 175 |
virtual bool GetValueFor(Accessible* aAccessible, T* aValue) = 0; |
175 |
virtual bool GetValueFor(Accessible* aAccessible, T* aValue) = 0; |
| 176 |
|
176 |
|
| 177 |
// Indicates if root value should be exposed. |
177 |
// Indicates if root value should be exposed. |
| 178 |
bool mGetRootValue; |
178 |
bool mGetRootValue; |
| 179 |
|
179 |
|
| 180 |
// Native value and flag indicating if the value is defined (initialized in |
180 |
// Native value and flag indicating if the value is defined (initialized in |
| 181 |
// derived classes). Note, undefined native value means it is inherited |
181 |
// derived classes). Note, undefined native value means it is inherited |
| 182 |
// from root. |
182 |
// from root. |
| 183 |
T mNativeValue; |
183 |
MOZ_INIT_OUTSIDE_CTOR T mNativeValue; |
| 184 |
bool mIsDefined; |
184 |
MOZ_INIT_OUTSIDE_CTOR bool mIsDefined; |
| 185 |
|
185 |
|
| 186 |
// Native root value and flag indicating if the value is defined (initialized |
186 |
// Native root value and flag indicating if the value is defined (initialized |
| 187 |
// in derived classes). |
187 |
// in derived classes). |
| 188 |
T mRootNativeValue; |
188 |
MOZ_INIT_OUTSIDE_CTOR T mRootNativeValue; |
| 189 |
bool mIsRootDefined; |
189 |
MOZ_INIT_OUTSIDE_CTOR bool mIsRootDefined; |
| 190 |
}; |
190 |
}; |
| 191 |
|
191 |
|
| 192 |
|
192 |
|
| 193 |
/** |
193 |
/** |
| 194 |
* Class is used for the work with 'language' text attribute. |
194 |
* Class is used for the work with 'language' text attribute. |
| 195 |
*/ |
195 |
*/ |
| 196 |
class LangTextAttr : public TTextAttr<nsString> |
196 |
class LangTextAttr : public TTextAttr<nsString> |
| 197 |
{ |
197 |
{ |
| 198 |
- |
|
|