| Index: chrome/browser/automation/automation_util.cc
|
| diff --git a/chrome/browser/automation/automation_util.cc b/chrome/browser/automation/automation_util.cc
|
| index 233799307f9ab9eac4902bae4cdaf2614f722904..c92735901b093b1e2c8b5580e74368839e8f22ae 100644
|
| --- a/chrome/browser/automation/automation_util.cc
|
| +++ b/chrome/browser/automation/automation_util.cc
|
| @@ -428,6 +428,9 @@ AutomationId GetIdForExtensionView(
|
| case chrome::VIEW_TYPE_EXTENSION_INFOBAR:
|
| type = AutomationId::kTypeExtensionInfobar;
|
| break;
|
| + case chrome::VIEW_TYPE_APP_SHELL:
|
| + type = AutomationId::kTypeAppShell;
|
| + break;
|
| default:
|
| type = AutomationId::kTypeInvalid;
|
| break;
|
| @@ -517,6 +520,7 @@ bool GetRenderViewForId(
|
| case AutomationId::kTypeExtensionPopup:
|
| case AutomationId::kTypeExtensionBgPage:
|
| case AutomationId::kTypeExtensionInfobar:
|
| + case AutomationId::kTypeAppShell:
|
| if (!GetExtensionRenderViewForId(id, profile, rvh))
|
| return false;
|
| break;
|
| @@ -548,7 +552,8 @@ bool DoesObjectWithIdExist(const AutomationId& id, Profile* profile) {
|
| }
|
| case AutomationId::kTypeExtensionPopup:
|
| case AutomationId::kTypeExtensionBgPage:
|
| - case AutomationId::kTypeExtensionInfobar: {
|
| + case AutomationId::kTypeExtensionInfobar:
|
| + case AutomationId::kTypeAppShell: {
|
| RenderViewHost* rvh;
|
| return GetExtensionRenderViewForId(id, profile, &rvh);
|
| }
|
|
|