summaryrefslogtreecommitdiffstats
path: root/content/browser/accessibility/browser_accessibility_cocoa.h
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-24 21:22:40 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-24 21:22:40 +0000
commitd72dc0441d9bd4575d1cca121cfe22a7dea86ade (patch)
treee436cce1817a75daf7b4d29403adc24aa0c7beea /content/browser/accessibility/browser_accessibility_cocoa.h
parent47d2fb25ee2c3fda74aa6992512bc63825fb88e3 (diff)
downloadchromium_src-d72dc0441d9bd4575d1cca121cfe22a7dea86ade.zip
chromium_src-d72dc0441d9bd4575d1cca121cfe22a7dea86ade.tar.gz
chromium_src-d72dc0441d9bd4575d1cca121cfe22a7dea86ade.tar.bz2
Revert 90435 - Re-land: Move browser accessibility code from chrome to content.
This caused a legitimate check deps failure er/accessibility/browser_accessibility_cocoa.mm depending on ui/base/l10n BUG=85932 TEST=none Review URL: http://codereview.chromium.org/7233022 TBR=dmazzoni@chromium.org Review URL: http://codereview.chromium.org/7235008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90438 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/accessibility/browser_accessibility_cocoa.h')
-rw-r--r--content/browser/accessibility/browser_accessibility_cocoa.h76
1 files changed, 0 insertions, 76 deletions
diff --git a/content/browser/accessibility/browser_accessibility_cocoa.h b/content/browser/accessibility/browser_accessibility_cocoa.h
deleted file mode 100644
index ab4044f..0000000
--- a/content/browser/accessibility/browser_accessibility_cocoa.h
+++ /dev/null
@@ -1,76 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_COCOA_H_
-#define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_COCOA_H_
-#pragma once
-
-#import <Cocoa/Cocoa.h>
-
-#import "base/memory/scoped_nsobject.h"
-#import "content/browser/accessibility/browser_accessibility_delegate_mac.h"
-#include "content/browser/accessibility/browser_accessibility.h"
-
-// BrowserAccessibilityCocoa is a cocoa wrapper around the BrowserAccessibility
-// object. The renderer converts webkit's accessibility tree into a
-// WebAccessibility tree and passes it to the browser process over IPC.
-// This class converts it into a format Cocoa can query.
-// Inheriting from NSView rather than NSObject as clients cannot add
-// observers to pure NSObject derived classes.
-@interface BrowserAccessibilityCocoa : NSView {
- @private
- BrowserAccessibility* browserAccessibility_;
- scoped_nsobject<NSMutableArray> children_;
- id<BrowserAccessibilityDelegateCocoa> delegate_;
-}
-
-// This creates a cocoa browser accessibility object around
-// the cross platform BrowserAccessibility object. The delegate is
-// used to communicate with the host renderer. None of these
-// parameters can be null.
-- (id)initWithObject:(BrowserAccessibility*)accessibility
- delegate:(id<BrowserAccessibilityDelegateCocoa>)delegate;
-
-// Invalidate children for a non-ignored ancestor (including self).
-- (void)childrenChanged;
-
-// Children is an array of BrowserAccessibility objects, representing
-// the accessibility children of this object.
-@property(nonatomic, readonly) NSArray* children;
-@property(nonatomic, readonly) NSArray* columns;
-@property(nonatomic, readonly) NSString* description;
-@property(nonatomic, readonly) NSNumber* enabled;
-@property(nonatomic, readonly) NSNumber* focused;
-@property(nonatomic, readonly) NSString* help;
-// isIgnored returns whether or not the accessibility object
-// should be ignored by the accessibility hierarchy.
-@property(nonatomic, readonly, getter=isIgnored) BOOL ignored;
-// The origin of this object in the page's document.
-// This is relative to webkit's top-left origin, not Cocoa's
-// bottom-left origin.
-@property(nonatomic, readonly) NSPoint origin;
-@property(nonatomic, readonly) NSNumber* numberOfCharacters;
-@property(nonatomic, readonly) id parent;
-@property(nonatomic, readonly) NSValue* position;
-// A string indicating the role of this object as far as accessibility
-// is concerned.
-@property(nonatomic, readonly) NSString* role;
-@property(nonatomic, readonly) NSString* roleDescription;
-@property(nonatomic, readonly) NSArray* rows;
-// The size of this object.
-@property(nonatomic, readonly) NSValue* size;
-// A string indicating the subrole of this object as far as accessibility
-// is concerned.
-@property(nonatomic, readonly) NSString* subrole;
-// The tabs owned by a tablist.
-@property(nonatomic, readonly) NSArray* tabs;
-@property(nonatomic, readonly) NSString* title;
-@property(nonatomic, readonly) NSString* url;
-@property(nonatomic, readonly) NSString* value;
-@property(nonatomic, readonly) NSValue* visibleCharacterRange;
-@property(nonatomic, readonly) NSNumber* visited;
-@property(nonatomic, readonly) id window;
-@end
-
-#endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_COCOA_H_