OLD | NEW |
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_RENDER_ACCESSIBILITY_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_ACCESSIBILITY_RENDER_ACCESSIBILITY_IMPL_H_ |
6 #define CONTENT_RENDERER_ACCESSIBILITY_RENDER_ACCESSIBILITY_IMPL_H_ | 6 #define CONTENT_RENDERER_ACCESSIBILITY_RENDER_ACCESSIBILITY_IMPL_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/containers/hash_tables.h" | 10 #include "base/containers/hash_tables.h" |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 // is fixed. | 161 // is fixed. |
162 gfx::Size last_scroll_offset_; | 162 gfx::Size last_scroll_offset_; |
163 | 163 |
164 // Set if we are waiting for an accessibility event ack. | 164 // Set if we are waiting for an accessibility event ack. |
165 bool ack_pending_; | 165 bool ack_pending_; |
166 | 166 |
167 // Nonzero if the browser requested we reset the accessibility state. | 167 // Nonzero if the browser requested we reset the accessibility state. |
168 // We need to return this token in the next IPC. | 168 // We need to return this token in the next IPC. |
169 int reset_token_; | 169 int reset_token_; |
170 | 170 |
| 171 // Whether we are processing a client-initiated action. |
| 172 bool during_action_; |
| 173 |
171 // So we can queue up tasks to be executed later. | 174 // So we can queue up tasks to be executed later. |
172 base::WeakPtrFactory<RenderAccessibilityImpl> weak_factory_; | 175 base::WeakPtrFactory<RenderAccessibilityImpl> weak_factory_; |
173 | 176 |
174 DISALLOW_COPY_AND_ASSIGN(RenderAccessibilityImpl); | 177 DISALLOW_COPY_AND_ASSIGN(RenderAccessibilityImpl); |
175 }; | 178 }; |
176 | 179 |
177 } // namespace content | 180 } // namespace content |
178 | 181 |
179 #endif // CONTENT_RENDERER_ACCESSIBILITY_RENDERER_ACCESSIBILITY_H_ | 182 #endif // CONTENT_RENDERER_ACCESSIBILITY_RENDERER_ACCESSIBILITY_H_ |
OLD | NEW |