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

Unified Diff: chrome/browser/automation/automation_provider_observers.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_provider_observers.cc
===================================================================
--- chrome/browser/automation/automation_provider_observers.cc (revision 191609)
+++ chrome/browser/automation/automation_provider_observers.cc (working copy)
@@ -71,7 +71,6 @@
#include "chrome/common/content_settings_types.h"
#include "chrome/common/extensions/extension.h"
#include "chrome/common/extensions/manifest.h"
-#include "chrome/common/view_type.h"
#include "content/public/browser/dom_operation_notification_details.h"
#include "content/public/browser/navigation_controller.h"
#include "content/public/browser/notification_service.h"
@@ -79,6 +78,7 @@
#include "content/public/browser/render_view_host.h"
#include "content/public/browser/web_contents.h"
#include "content/public/common/process_type.h"
+#include "extensions/common/view_type.h"
#include "googleurl/src/gurl.h"
#include "ui/gfx/codec/png_codec.h"
#include "ui/gfx/rect.h"
@@ -2772,7 +2772,7 @@
extensions::ExtensionHost* host =
content::Details<extensions::ExtensionHost>(details).ptr();
if (host->extension_id() == extension_id_ &&
- host->extension_host_type() == chrome::VIEW_TYPE_EXTENSION_POPUP) {
+ host->extension_host_type() == extensions::VIEW_TYPE_EXTENSION_POPUP) {
AutomationJSONReply(automation_, reply_message_.release())
.SendSuccess(NULL);
delete this;

Powered by Google App Engine
This is Rietveld 408576698