2006-09-11 19:44:00 +04:00
|
|
|
/* -*- Mode: Objective-C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2012-05-21 15:12:37 +04: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/. */
|
2003-04-02 02:18:29 +04:00
|
|
|
|
2006-09-11 19:44:00 +04:00
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
#import "mozAccessible.h"
|
2003-04-02 02:18:29 +04:00
|
|
|
|
2006-09-11 19:44:00 +04:00
|
|
|
// our protocol that we implement (so cocoa widgets can talk to us)
|
|
|
|
#import "mozAccessibleProtocol.h"
|
2003-04-02 02:18:29 +04:00
|
|
|
|
2015-06-08 17:59:19 +03:00
|
|
|
/*
|
2006-09-11 19:44:00 +04:00
|
|
|
The root accessible. There is one per window.
|
2012-05-04 10:09:22 +04:00
|
|
|
Created by the RootAccessibleWrap.
|
2006-09-11 19:44:00 +04:00
|
|
|
*/
|
2006-09-19 12:48:33 +04:00
|
|
|
@interface mozRootAccessible : mozAccessible {
|
2006-09-11 19:44:00 +04:00
|
|
|
// the mozView that we're representing.
|
|
|
|
// all outside communication goes through the mozView.
|
|
|
|
// in reality, it's just piping all calls to us, and we're
|
|
|
|
// doing its dirty work!
|
|
|
|
//
|
|
|
|
// whenever someone asks who we are (e.g., a child asking
|
|
|
|
// for its parent, or our parent asking for its child), we'll
|
|
|
|
// respond the mozView. it is absolutely necessary for third-
|
|
|
|
// party tools that we do this!
|
|
|
|
//
|
|
|
|
// /hwaara
|
2006-09-11 20:22:22 +04:00
|
|
|
id<mozView, mozAccessible> mParallelView; // weak ref
|
2003-04-02 02:18:29 +04:00
|
|
|
}
|
2006-09-11 19:44:00 +04:00
|
|
|
@end
|