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

Side by Side Diff: third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.h

Issue 2169273004: Switch all LayoutTests to use new accessibility relative bounding box API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix absolute bounds in AXInlineTextBox::elementRect Created 4 years, 4 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2014, Google Inc. All rights reserved. 2 * Copyright (C) 2014, Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 void handleTextFormControlChanged(Node*) override; 84 void handleTextFormControlChanged(Node*) override;
85 void handleEditableTextContentChanged(Node*) override; 85 void handleEditableTextContentChanged(Node*) override;
86 void handleValueChanged(Node*) override; 86 void handleValueChanged(Node*) override;
87 void handleUpdateActiveMenuOption(LayoutMenuList*, int optionIndex) override ; 87 void handleUpdateActiveMenuOption(LayoutMenuList*, int optionIndex) override ;
88 void didShowMenuListPopup(LayoutMenuList*) override; 88 void didShowMenuListPopup(LayoutMenuList*) override;
89 void didHideMenuListPopup(LayoutMenuList*) override; 89 void didHideMenuListPopup(LayoutMenuList*) override;
90 void handleLoadComplete(Document*) override; 90 void handleLoadComplete(Document*) override;
91 void handleLayoutComplete(Document*) override; 91 void handleLayoutComplete(Document*) override;
92 void handleClicked(Node*) override; 92 void handleClicked(Node*) override;
93 93
94 void setCanvasObjectBounds(Element*, const LayoutRect&) override; 94 void setCanvasObjectBounds(HTMLCanvasElement*, Element*, const LayoutRect&) override;
95 95
96 void inlineTextBoxesUpdated(LineLayoutItem) override; 96 void inlineTextBoxesUpdated(LineLayoutItem) override;
97 97
98 // Called when the scroll offset changes. 98 // Called when the scroll offset changes.
99 void handleScrollPositionChanged(FrameView*) override; 99 void handleScrollPositionChanged(FrameView*) override;
100 void handleScrollPositionChanged(LayoutObject*) override; 100 void handleScrollPositionChanged(LayoutObject*) override;
101 101
102 // Called when scroll bars are added / removed (as the view resizes). 102 // Called when scroll bars are added / removed (as the view resizes).
103 void handleLayoutComplete(LayoutObject*) override; 103 void handleLayoutComplete(LayoutObject*) override;
104 void handleScrolledToAnchor(const Node* anchorNode) override; 104 void handleScrolledToAnchor(const Node* anchorNode) override;
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 // This is the only subclass of AXObjectCache. 247 // This is the only subclass of AXObjectCache.
248 DEFINE_TYPE_CASTS(AXObjectCacheImpl, AXObjectCache, cache, true, true); 248 DEFINE_TYPE_CASTS(AXObjectCacheImpl, AXObjectCache, cache, true, true);
249 249
250 bool nodeHasRole(Node*, const String& role); 250 bool nodeHasRole(Node*, const String& role);
251 // This will let you know if aria-hidden was explicitly set to false. 251 // This will let you know if aria-hidden was explicitly set to false.
252 bool isNodeAriaVisible(Node*); 252 bool isNodeAriaVisible(Node*);
253 253
254 } // namespace blink 254 } // namespace blink
255 255
256 #endif 256 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698