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

Unified Diff: chrome/renderer/resources/extensions/automation/automation_node.js

Issue 1232643003: Give automation API access to browser plugin objects. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compile error Created 5 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/renderer/resources/extensions/automation/automation_node.js
diff --git a/chrome/renderer/resources/extensions/automation/automation_node.js b/chrome/renderer/resources/extensions/automation/automation_node.js
index 11ac8d8a3b065b5e292df2df259d81716aa3c95f..5dc6b9b527ff8c4687616bb2910614a9048dace1 100644
--- a/chrome/renderer/resources/extensions/automation/automation_node.js
+++ b/chrome/renderer/resources/extensions/automation/automation_node.js
@@ -779,7 +779,8 @@ AutomationRootNodeImpl.prototype = {
var nodeImpl = privates(node).impl;
// TODO(dtseng): Make into set listing all hosting node roles.
- if (nodeData.role == schema.RoleType.webView) {
+ if (nodeData.role == schema.RoleType.webView ||
+ nodeData.role == schema.RoleType.embeddedObject) {
if (nodeImpl.childTreeID !== nodeData.intAttributes.childTreeId)
nodeImpl.pendingChildFrame = true;
« no previous file with comments | « chrome/browser/ui/aura/accessibility/automation_manager_aura.cc ('k') | content/browser/frame_host/render_frame_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698