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

Unified Diff: chrome/browser/automation/automation_util.cc

Issue 13375017: Move the ViewType enum to extensions\common. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 9 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/browser/automation/automation_util.cc
===================================================================
--- chrome/browser/automation/automation_util.cc (revision 191609)
+++ chrome/browser/automation/automation_util.cc (working copy)
@@ -471,16 +471,16 @@
AutomationId::Type type;
WebContents* web_contents = WebContents::FromRenderViewHost(render_view_host);
switch (chrome::GetViewType(web_contents)) {
- case chrome::VIEW_TYPE_EXTENSION_POPUP:
+ case extensions::VIEW_TYPE_EXTENSION_POPUP:
type = AutomationId::kTypeExtensionPopup;
break;
- case chrome::VIEW_TYPE_EXTENSION_BACKGROUND_PAGE:
+ case extensions::VIEW_TYPE_EXTENSION_BACKGROUND_PAGE:
type = AutomationId::kTypeExtensionBgPage;
break;
- case chrome::VIEW_TYPE_EXTENSION_INFOBAR:
+ case extensions::VIEW_TYPE_EXTENSION_INFOBAR:
type = AutomationId::kTypeExtensionInfobar;
break;
- case chrome::VIEW_TYPE_APP_SHELL:
+ case extensions::VIEW_TYPE_APP_SHELL:
type = AutomationId::kTypeAppShell;
break;
default:

Powered by Google App Engine
This is Rietveld 408576698