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

Side by Side Diff: content/renderer/accessibility/renderer_accessibility_complete.h

Issue 145283003: Switch AccessibilityMode to be a bitmap (Closed) Base URL: https://chromium.googlesource.com/chromium/src@enable
Patch Set: Tweak AccessibilityModeHelperTest Created 6 years, 10 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 // 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_RENDERER_ACCESSIBILITY_RENDERER_ACCESSIBILITY_COMPLETE_H_ 5 #ifndef CONTENT_RENDERER_ACCESSIBILITY_RENDERER_ACCESSIBILITY_COMPLETE_H_
6 #define CONTENT_RENDERER_ACCESSIBILITY_RENDERER_ACCESSIBILITY_COMPLETE_H_ 6 #define CONTENT_RENDERER_ACCESSIBILITY_RENDERER_ACCESSIBILITY_COMPLETE_H_
7 7
8 #include <set> 8 #include <set>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 BrowserTreeNode* browser_root_; 124 BrowserTreeNode* browser_root_;
125 125
126 // A map from IDs to nodes in the browser tree. 126 // A map from IDs to nodes in the browser tree.
127 base::hash_map<int32, BrowserTreeNode*> browser_id_map_; 127 base::hash_map<int32, BrowserTreeNode*> browser_id_map_;
128 128
129 // The most recently observed scroll offset of the root document element. 129 // The most recently observed scroll offset of the root document element.
130 // TODO(dmazzoni): remove once https://bugs.webkit.org/show_bug.cgi?id=73460 130 // TODO(dmazzoni): remove once https://bugs.webkit.org/show_bug.cgi?id=73460
131 // is fixed. 131 // is fixed.
132 gfx::Size last_scroll_offset_; 132 gfx::Size last_scroll_offset_;
133 133
134 // The current accessibility mode.
135 AccessibilityMode mode_;
136
137 // Set if we are waiting for an accessibility event ack. 134 // Set if we are waiting for an accessibility event ack.
138 bool ack_pending_; 135 bool ack_pending_;
139 136
140 DISALLOW_COPY_AND_ASSIGN(RendererAccessibilityComplete); 137 DISALLOW_COPY_AND_ASSIGN(RendererAccessibilityComplete);
141 }; 138 };
142 139
143 #endif // CONTENT_RENDERER_ACCESSIBILITY_RENDERER_ACCESSIBILITY_COMPLETE_H_ 140 #endif // CONTENT_RENDERER_ACCESSIBILITY_RENDERER_ACCESSIBILITY_COMPLETE_H_
144 141
145 } // namespace content 142 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698