| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_RENDERER_ACCESSIBILITY_H_ | 5 #ifndef CONTENT_RENDERER_RENDERER_ACCESSIBILITY_H_ |
| 6 #define CONTENT_RENDERER_RENDERER_ACCESSIBILITY_H_ | 6 #define CONTENT_RENDERER_RENDERER_ACCESSIBILITY_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 // Notifications from WebKit are collected until they are ready to be | 99 // Notifications from WebKit are collected until they are ready to be |
| 100 // sent to the browser. | 100 // sent to the browser. |
| 101 std::vector<Notification> pending_notifications_; | 101 std::vector<Notification> pending_notifications_; |
| 102 | 102 |
| 103 // Our representation of the browser tree. | 103 // Our representation of the browser tree. |
| 104 BrowserTreeNode* browser_root_; | 104 BrowserTreeNode* browser_root_; |
| 105 | 105 |
| 106 // A map from IDs to nodes in the browser tree. | 106 // A map from IDs to nodes in the browser tree. |
| 107 base::hash_map<int32, BrowserTreeNode*> browser_id_map_; | 107 base::hash_map<int32, BrowserTreeNode*> browser_id_map_; |
| 108 | 108 |
| 109 // The most recently observed scroll offset of the root document element. |
| 110 // TODO(dmazzoni): remove once https://bugs.webkit.org/show_bug.cgi?id=73460 |
| 111 // is fixed. |
| 112 gfx::Size last_scroll_offset_; |
| 113 |
| 109 // Set if we are waiting for an accessibility notification ack. | 114 // Set if we are waiting for an accessibility notification ack. |
| 110 bool ack_pending_; | 115 bool ack_pending_; |
| 111 | 116 |
| 112 // True if verbose logging of accessibility events is on. | 117 // True if verbose logging of accessibility events is on. |
| 113 bool logging_; | 118 bool logging_; |
| 114 | 119 |
| 115 // True if we've sent a load complete notification for this page already. | 120 // True if we've sent a load complete notification for this page already. |
| 116 bool sent_load_complete_; | 121 bool sent_load_complete_; |
| 117 | 122 |
| 118 DISALLOW_COPY_AND_ASSIGN(RendererAccessibility); | 123 DISALLOW_COPY_AND_ASSIGN(RendererAccessibility); |
| 119 }; | 124 }; |
| 120 | 125 |
| 121 #endif // CONTENT_RENDERER_RENDERER_ACCESSIBILITY_H_ | 126 #endif // CONTENT_RENDERER_RENDERER_ACCESSIBILITY_H_ |
| OLD | NEW |