MUIRootAccessible.h (856B)
1 /* clang-format off */ 2 /* -*- Mode: Objective-C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 3 /* clang-format on */ 4 /* This Source Code Form is subject to the terms of the Mozilla Public 5 * License, v. 2.0. If a copy of the MPL was not distributed with this 6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 7 8 #import "MUIAccessible.h" 9 10 // our protocol that we implement (so uikit widgets can talk to us) 11 #import "mozilla/a11y/MUIRootAccessibleProtocol.h" 12 13 /* 14 The root accessible. It acts as a delegate to the UIKit child view. 15 */ 16 @interface MUIRootAccessible : MUIAccessible <MUIRootAccessibleProtocol> { 17 id<MUIRootAccessibleProtocol> mParallelView; // weak ref 18 } 19 20 // override 21 - (id)initWithAccessible:(mozilla::a11y::Accessible*)aAcc; 22 23 // override 24 - (BOOL)hasRepresentedView; 25 26 // override 27 - (id)representedView; 28 29 @end