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

Side by Side Diff: Source/core/dom/AXObjectCache.h

Issue 1127283002: Revert of Fire AX notifications on list box options. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@menu_list_more
Patch Set: Created 5 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2003, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2003, 2006, 2007, 2008, 2009, 2010, 2011 Apple 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 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 16 matching lines...) Expand all
27 #define AXObjectCache_h 27 #define AXObjectCache_h
28 28
29 #include "core/CoreExport.h" 29 #include "core/CoreExport.h"
30 #include "core/dom/Document.h" 30 #include "core/dom/Document.h"
31 31
32 typedef unsigned AXID; 32 typedef unsigned AXID;
33 33
34 namespace blink { 34 namespace blink {
35 class AXObject; 35 class AXObject;
36 class FrameView; 36 class FrameView;
37 class HTMLOptionElement;
38 class HTMLSelectElement;
39 class LayoutMenuList; 37 class LayoutMenuList;
40 class Page; 38 class Page;
41 class Widget; 39 class Widget;
42 40
43 class CORE_EXPORT AXObjectCache { 41 class CORE_EXPORT AXObjectCache {
44 WTF_MAKE_NONCOPYABLE(AXObjectCache); WTF_MAKE_FAST_ALLOCATED(AXObjectCache); 42 WTF_MAKE_NONCOPYABLE(AXObjectCache); WTF_MAKE_FAST_ALLOCATED(AXObjectCache);
45 public: 43 public:
46 static AXObjectCache* create(Document&); 44 static AXObjectCache* create(Document&);
47 45
48 static AXObject* focusedUIElementForPage(const Page*); 46 static AXObject* focusedUIElementForPage(const Page*);
(...skipping 29 matching lines...) Expand all
78 AXTextChanged, 76 AXTextChanged,
79 AXTextInserted, 77 AXTextInserted,
80 AXTextRemoved, 78 AXTextRemoved,
81 AXValueChanged 79 AXValueChanged
82 }; 80 };
83 81
84 virtual void selectionChanged(Node*) = 0; 82 virtual void selectionChanged(Node*) = 0;
85 virtual void childrenChanged(Node*) = 0; 83 virtual void childrenChanged(Node*) = 0;
86 virtual void childrenChanged(LayoutObject*) = 0; 84 virtual void childrenChanged(LayoutObject*) = 0;
87 virtual void checkedStateChanged(Node*) = 0; 85 virtual void checkedStateChanged(Node*) = 0;
88 virtual void listboxOptionStateChanged(HTMLOptionElement*) = 0; 86 virtual void selectedChildrenChanged(Node*) = 0;
89 virtual void listboxSelectedChildrenChanged(HTMLSelectElement*) = 0;
90 virtual void listboxActiveIndexChanged(HTMLSelectElement*) = 0;
91 87
92 virtual void remove(LayoutObject*) = 0; 88 virtual void remove(LayoutObject*) = 0;
93 virtual void remove(Node*) = 0; 89 virtual void remove(Node*) = 0;
94 virtual void remove(Widget*) = 0; 90 virtual void remove(Widget*) = 0;
95 91
96 virtual const Element* rootAXEditableElement(const Node*) = 0; 92 virtual const Element* rootAXEditableElement(const Node*) = 0;
97 93
98 // Called by a node when text or a text equivalent (e.g. alt) attribute is c hanged. 94 // Called by a node when text or a text equivalent (e.g. alt) attribute is c hanged.
99 virtual void textChanged(LayoutObject*) = 0; 95 virtual void textChanged(LayoutObject*) = 0;
100 // Called when a node has just been attached, so we can make sure we have th e right subclass of AXObject. 96 // Called when a node has just been attached, so we can make sure we have th e right subclass of AXObject.
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 148
153 private: 149 private:
154 Document& m_document; 150 Document& m_document;
155 AXObjectCache* m_cache; 151 AXObjectCache* m_cache;
156 bool m_isScoped; 152 bool m_isScoped;
157 }; 153 };
158 154
159 } 155 }
160 156
161 #endif 157 #endif
OLDNEW
« no previous file with comments | « LayoutTests/accessibility/multiselect-list-reports-active-option-expected.txt ('k') | Source/core/html/HTMLOptionElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698