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

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

Issue 2867103005: Merge to M59: Revert "Fix computation of Automation API location offsets in WebViews." (Closed)
Patch Set: Created 3 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 // 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 12 matching lines...) Expand all
23 class ExtensionBindingsSystem; 23 class ExtensionBindingsSystem;
24 24
25 struct TreeCache { 25 struct TreeCache {
26 TreeCache(); 26 TreeCache();
27 ~TreeCache(); 27 ~TreeCache();
28 28
29 int tab_id; 29 int tab_id;
30 int tree_id; 30 int tree_id;
31 int parent_node_id_from_parent_tree; 31 int parent_node_id_from_parent_tree;
32 32
33 gfx::Vector2d location_offset;
33 ui::AXTree tree; 34 ui::AXTree tree;
34 AutomationInternalCustomBindings* owner; 35 AutomationInternalCustomBindings* owner;
35 }; 36 };
36 37
37 struct TreeChangeObserver { 38 struct TreeChangeObserver {
38 int id; 39 int id;
39 api::automation::TreeChangeObserverFilter filter; 40 api::automation::TreeChangeObserverFilter filter;
40 }; 41 };
41 42
42 // The native component of custom bindings for the chrome.automationInternal 43 // The native component of custom bindings for the chrome.automationInternal
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 std::vector<int> text_changed_node_ids_; 186 std::vector<int> text_changed_node_ids_;
186 ExtensionBindingsSystem* bindings_system_; 187 ExtensionBindingsSystem* bindings_system_;
187 bool should_ignore_context_; 188 bool should_ignore_context_;
188 189
189 DISALLOW_COPY_AND_ASSIGN(AutomationInternalCustomBindings); 190 DISALLOW_COPY_AND_ASSIGN(AutomationInternalCustomBindings);
190 }; 191 };
191 192
192 } // namespace extensions 193 } // namespace extensions
193 194
194 #endif // CHROME_RENDERER_EXTENSIONS_AUTOMATION_INTERNAL_CUSTOM_BINDINGS_H_ 195 #endif // CHROME_RENDERER_EXTENSIONS_AUTOMATION_INTERNAL_CUSTOM_BINDINGS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698