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

Side by Side Diff: Source/core/accessibility/AXObject.h

Issue 286143008: Make AX update layout on all frames (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: More strict assert Created 6 years, 7 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
« no previous file with comments | « no previous file | Source/core/accessibility/AXObject.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008, 2009, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2008, 2009, 2011 Apple Inc. All rights reserved.
3 * Copyright (C) 2008 Nuanti Ltd. 3 * Copyright (C) 2008 Nuanti Ltd.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 286
287 // When the corresponding WebCore object that this AXObject 287 // When the corresponding WebCore object that this AXObject
288 // wraps is deleted, it must be detached. 288 // wraps is deleted, it must be detached.
289 virtual void detach(); 289 virtual void detach();
290 virtual bool isDetached() const; 290 virtual bool isDetached() const;
291 291
292 // The AXObjectCache that owns this object, and its unique ID within this ca che. 292 // The AXObjectCache that owns this object, and its unique ID within this ca che.
293 AXObjectCache* axObjectCache() const; 293 AXObjectCache* axObjectCache() const;
294 AXID axObjectID() const { return m_id; } 294 AXID axObjectID() const { return m_id; }
295 295
296 // Lays out the page so that the accessibility tree is based on up-to-date i nformation.
297 void updateBackingStore();
298
299 // Determine subclass type. 296 // Determine subclass type.
300 virtual bool isAXNodeObject() const { return false; } 297 virtual bool isAXNodeObject() const { return false; }
301 virtual bool isAXRenderObject() const { return false; } 298 virtual bool isAXRenderObject() const { return false; }
302 virtual bool isAXScrollbar() const { return false; } 299 virtual bool isAXScrollbar() const { return false; }
303 virtual bool isAXScrollView() const { return false; } 300 virtual bool isAXScrollView() const { return false; }
304 virtual bool isAXSVGRoot() const { return false; } 301 virtual bool isAXSVGRoot() const { return false; }
305 302
306 // Check object role or purpose. 303 // Check object role or purpose.
307 virtual AccessibilityRole roleValue() const { return m_role; } 304 virtual AccessibilityRole roleValue() const { return m_role; }
308 bool isARIATextControl() const; 305 bool isARIATextControl() const;
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
576 573
577 bool m_detached; 574 bool m_detached;
578 }; 575 };
579 576
580 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ 577 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \
581 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred icate) 578 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred icate)
582 579
583 } // namespace WebCore 580 } // namespace WebCore
584 581
585 #endif // AXObject_h 582 #endif // AXObject_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/accessibility/AXObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698