Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(74)

Side by Side Diff: content/browser/accessibility/browser_accessibility.h

Issue 2473003002: content: Cleanup class/struct forward declarations (Closed)
Patch Set: Another missing forward declaration Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 30 matching lines...) Expand all
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 content { 49 namespace content {
50 class BrowserAccessibilityManager; 50 class BrowserAccessibilityManager;
51 #if defined(OS_WIN)
52 class BrowserAccessibilityWin;
53 #elif defined(OS_LINUX) && !defined(OS_CHROMEOS) && defined(USE_X11)
54 class BrowserAccessibilityAuraLinux;
55 #endif
56 51
57 //////////////////////////////////////////////////////////////////////////////// 52 ////////////////////////////////////////////////////////////////////////////////
58 // 53 //
59 // BrowserAccessibility 54 // BrowserAccessibility
60 // 55 //
61 // A BrowserAccessibility object represents one node in the accessibility 56 // A BrowserAccessibility object represents one node in the accessibility
62 // tree on the browser side. It exactly corresponds to one WebAXObject from 57 // tree on the browser side. It exactly corresponds to one WebAXObject from
63 // Blink. It's owned by a BrowserAccessibilityManager. 58 // Blink. It's owned by a BrowserAccessibilityManager.
64 // 59 //
65 // There are subclasses of BrowserAccessibility for each platform where 60 // There are subclasses of BrowserAccessibility for each platform where
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 // bounds, but "virtual" elements in the accessibility tree that don't 376 // bounds, but "virtual" elements in the accessibility tree that don't
382 // correspond to a layed-out element sometimes don't have bounds. 377 // correspond to a layed-out element sometimes don't have bounds.
383 void FixEmptyBounds(gfx::RectF* bounds) const; 378 void FixEmptyBounds(gfx::RectF* bounds) const;
384 379
385 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibility); 380 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibility);
386 }; 381 };
387 382
388 } // namespace content 383 } // namespace content
389 384
390 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_ 385 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698