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

Side by Side Diff: chrome/renderer/extensions/automation_internal_custom_bindings.h

Issue 2762373002: Fix computation of Automation API location offsets in WebViews. (Closed)
Patch Set: Only run new test on chromeos because of required perms Created 3 years, 8 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CHROME_RENDERER_EXTENSIONS_AUTOMATION_INTERNAL_CUSTOM_BINDINGS_H_ 5 #ifndef CHROME_RENDERER_EXTENSIONS_AUTOMATION_INTERNAL_CUSTOM_BINDINGS_H_
6 #define CHROME_RENDERER_EXTENSIONS_AUTOMATION_INTERNAL_CUSTOM_BINDINGS_H_ 6 #define CHROME_RENDERER_EXTENSIONS_AUTOMATION_INTERNAL_CUSTOM_BINDINGS_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "chrome/common/extensions/api/automation.h" 10 #include "chrome/common/extensions/api/automation.h"
(...skipping 11 matching lines...) Expand all
22 class AutomationMessageFilter; 22 class AutomationMessageFilter;
23 23
24 struct TreeCache { 24 struct TreeCache {
25 TreeCache(); 25 TreeCache();
26 ~TreeCache(); 26 ~TreeCache();
27 27
28 int tab_id; 28 int tab_id;
29 int tree_id; 29 int tree_id;
30 int parent_node_id_from_parent_tree; 30 int parent_node_id_from_parent_tree;
31 31
32 gfx::Vector2d location_offset;
33 ui::AXTree tree; 32 ui::AXTree tree;
34 AutomationInternalCustomBindings* owner; 33 AutomationInternalCustomBindings* owner;
35 }; 34 };
36 35
37 struct TreeChangeObserver { 36 struct TreeChangeObserver {
38 int id; 37 int id;
39 api::automation::TreeChangeObserverFilter filter; 38 api::automation::TreeChangeObserverFilter filter;
40 }; 39 };
41 40
42 // The native component of custom bindings for the chrome.automationInternal 41 // The native component of custom bindings for the chrome.automationInternal
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 int tree_change_observer_overall_filter_; 181 int tree_change_observer_overall_filter_;
183 std::vector<int> deleted_node_ids_; 182 std::vector<int> deleted_node_ids_;
184 std::vector<int> text_changed_node_ids_; 183 std::vector<int> text_changed_node_ids_;
185 184
186 DISALLOW_COPY_AND_ASSIGN(AutomationInternalCustomBindings); 185 DISALLOW_COPY_AND_ASSIGN(AutomationInternalCustomBindings);
187 }; 186 };
188 187
189 } // namespace extensions 188 } // namespace extensions
190 189
191 #endif // CHROME_RENDERER_EXTENSIONS_AUTOMATION_INTERNAL_CUSTOM_BINDINGS_H_ 190 #endif // CHROME_RENDERER_EXTENSIONS_AUTOMATION_INTERNAL_CUSTOM_BINDINGS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698