Blame accessible/mac/mozDocAccessible.h

Packit f0b94e
/* -*- Mode: Objective-C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset:
Packit f0b94e
 * 2 -*- */
Packit f0b94e
/* This Source Code Form is subject to the terms of the Mozilla Public
Packit f0b94e
 * License, v. 2.0. If a copy of the MPL was not distributed with this
Packit f0b94e
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
Packit f0b94e
Packit f0b94e
#import <Cocoa/Cocoa.h>
Packit f0b94e
#import "mozAccessible.h"
Packit f0b94e
Packit f0b94e
// our protocol that we implement (so cocoa widgets can talk to us)
Packit f0b94e
#import "mozAccessibleProtocol.h"
Packit f0b94e
Packit f0b94e
/*
Packit f0b94e
  The root accessible. There is one per window.
Packit f0b94e
  Created by the RootAccessibleWrap.
Packit f0b94e
*/
Packit f0b94e
@interface mozRootAccessible : mozAccessible {
Packit f0b94e
  // the mozView that we're representing.
Packit f0b94e
  // all outside communication goes through the mozView.
Packit f0b94e
  // in reality, it's just piping all calls to us, and we're
Packit f0b94e
  // doing its dirty work!
Packit f0b94e
  //
Packit f0b94e
  // whenever someone asks who we are (e.g., a child asking
Packit f0b94e
  // for its parent, or our parent asking for its child), we'll
Packit f0b94e
  // respond the mozView. it is absolutely necessary for third-
Packit f0b94e
  // party tools that we do this!
Packit f0b94e
  //
Packit f0b94e
  // /hwaara
Packit f0b94e
  id<mozView, mozAccessible> mParallelView;  // weak ref
Packit f0b94e
}
Packit f0b94e
@end