summaryrefslogtreecommitdiffstats
path: root/chrome/browser/automation/testing_automation_provider.cc
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-12 15:53:56 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-12 15:53:56 +0000
commitda4dfc470626ec77c6eb3ace17e0ef009bb7f32f (patch)
tree67889a0b4921c28adcb5f7389240379351bac80f /chrome/browser/automation/testing_automation_provider.cc
parent03e09864d6b5738fab87b3d1e5aaeca35b0d08b6 (diff)
downloadchromium_src-da4dfc470626ec77c6eb3ace17e0ef009bb7f32f.zip
chromium_src-da4dfc470626ec77c6eb3ace17e0ef009bb7f32f.tar.gz
chromium_src-da4dfc470626ec77c6eb3ace17e0ef009bb7f32f.tar.bz2
Move view_types to content\public\common. Also update the enum values to match the convention that we're using for the Content API.
BUG=98716 Review URL: http://codereview.chromium.org/8232024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105083 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/automation/testing_automation_provider.cc')
-rw-r--r--chrome/browser/automation/testing_automation_provider.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/automation/testing_automation_provider.cc b/chrome/browser/automation/testing_automation_provider.cc
index 288275f..3a4b637 100644
--- a/chrome/browser/automation/testing_automation_provider.cc
+++ b/chrome/browser/automation/testing_automation_provider.cc
@@ -2916,16 +2916,16 @@ void TestingAutomationProvider::GetBrowserInfo(
item->Set("view", view);
std::string type;
switch (ex_host->extension_host_type()) {
- case chrome::ViewType::EXTENSION_BACKGROUND_PAGE:
+ case chrome::VIEW_TYPE_EXTENSION_BACKGROUND_PAGE:
type = "EXTENSION_BACKGROUND_PAGE";
break;
- case chrome::ViewType::EXTENSION_POPUP:
+ case chrome::VIEW_TYPE_EXTENSION_POPUP:
type = "EXTENSION_POPUP";
break;
- case chrome::ViewType::EXTENSION_INFOBAR:
+ case chrome::VIEW_TYPE_EXTENSION_INFOBAR:
type = "EXTENSION_INFOBAR";
break;
- case chrome::ViewType::EXTENSION_DIALOG:
+ case chrome::VIEW_TYPE_EXTENSION_DIALOG:
type = "EXTENSION_DIALOG";
break;
default: