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

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

Issue 25943003: Support accessible inline text boxes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 months 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 | Annotate | Revision Log
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 <map> 8 #include <map>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 // Perform platform-specific initialization. This can be called multiple times 55 // Perform platform-specific initialization. This can be called multiple times
56 // during the lifetime of this instance after the members of this base object 56 // during the lifetime of this instance after the members of this base object
57 // have been reset with new values from the renderer process. 57 // have been reset with new values from the renderer process.
58 // Child dependent initialization can be done here. 58 // Child dependent initialization can be done here.
59 virtual void PostInitialize() {} 59 virtual void PostInitialize() {}
60 60
61 // Returns true if this is a native platform-specific object, vs a 61 // Returns true if this is a native platform-specific object, vs a
62 // cross-platform generic object. 62 // cross-platform generic object.
63 virtual bool IsNative() const; 63 virtual bool IsNative() const;
64 64
65 // Returns true if this is a leaf node on this platform, meaning any
66 // children should not be exposed to this platform's native accessibility
67 // layer.
68 virtual bool IsLeaf() const;
69
65 // Initialize the tree structure of this object. 70 // Initialize the tree structure of this object.
66 void InitializeTreeStructure( 71 void InitializeTreeStructure(
67 BrowserAccessibilityManager* manager, 72 BrowserAccessibilityManager* manager,
68 BrowserAccessibility* parent, 73 BrowserAccessibility* parent,
69 int32 renderer_id, 74 int32 renderer_id,
70 int32 index_in_parent); 75 int32 index_in_parent);
71 76
72 // Initialize this object's data. 77 // Initialize this object's data.
73 void InitializeData(const AccessibilityNodeData& src); 78 void InitializeData(const AccessibilityNodeData& src);
74 79
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 // immediately return failure. 296 // immediately return failure.
292 bool instance_active_; 297 bool instance_active_;
293 298
294 private: 299 private:
295 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibility); 300 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibility);
296 }; 301 };
297 302
298 } // namespace content 303 } // namespace content
299 304
300 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_ 305 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698