| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_ | 5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_ |
| 6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_ | 6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 #endif | 39 #endif |
| 40 | 40 |
| 41 #if defined(OS_LINUX) && defined(USE_X11) && !defined(OS_CHROMEOS) | 41 #if defined(OS_LINUX) && defined(USE_X11) && !defined(OS_CHROMEOS) |
| 42 #define PLATFORM_HAS_NATIVE_ACCESSIBILITY_IMPL 1 | 42 #define PLATFORM_HAS_NATIVE_ACCESSIBILITY_IMPL 1 |
| 43 #endif | 43 #endif |
| 44 | 44 |
| 45 #if defined(OS_MACOSX) && __OBJC__ | 45 #if defined(OS_MACOSX) && __OBJC__ |
| 46 @class BrowserAccessibilityCocoa; | 46 @class BrowserAccessibilityCocoa; |
| 47 #endif | 47 #endif |
| 48 | 48 |
| 49 namespace ui { |
| 50 enum AXIntAttribute : int; |
| 51 enum AXRole : int; |
| 52 enum AXState : int; |
| 53 } |
| 54 |
| 49 namespace content { | 55 namespace content { |
| 50 class BrowserAccessibilityManager; | 56 class BrowserAccessibilityManager; |
| 51 #if defined(OS_WIN) | 57 #if defined(OS_WIN) |
| 52 class BrowserAccessibilityWin; | 58 class BrowserAccessibilityWin; |
| 53 #elif defined(OS_LINUX) && !defined(OS_CHROMEOS) && defined(USE_X11) | 59 #elif defined(OS_LINUX) && !defined(OS_CHROMEOS) && defined(USE_X11) |
| 54 class BrowserAccessibilityAuraLinux; | 60 class BrowserAccessibilityAuraLinux; |
| 55 #endif | 61 #endif |
| 56 | 62 |
| 57 //////////////////////////////////////////////////////////////////////////////// | 63 //////////////////////////////////////////////////////////////////////////////// |
| 58 // | 64 // |
| (...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 369 // its nearest scrollable ancestor) to local bounds (which are relative | 375 // its nearest scrollable ancestor) to local bounds (which are relative |
| 370 // to the top of the web accessibility tree). | 376 // to the top of the web accessibility tree). |
| 371 gfx::Rect ElementBoundsToLocalBounds(gfx::Rect bounds) const; | 377 gfx::Rect ElementBoundsToLocalBounds(gfx::Rect bounds) const; |
| 372 | 378 |
| 373 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibility); | 379 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibility); |
| 374 }; | 380 }; |
| 375 | 381 |
| 376 } // namespace content | 382 } // namespace content |
| 377 | 383 |
| 378 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_ | 384 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_ |
| OLD | NEW |