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

Unified Diff: chrome/browser/ui/browser_tab_contents.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/ui/browser_tab_contents.cc
===================================================================
--- chrome/browser/ui/browser_tab_contents.cc (revision 191609)
+++ chrome/browser/ui/browser_tab_contents.cc (working copy)
@@ -42,11 +42,11 @@
#include "chrome/browser/ui/tab_contents/core_tab_helper.h"
#include "chrome/browser/ui/web_contents_modal_dialog_manager.h"
#include "chrome/browser/ui/zoom/zoom_controller.h"
-#include "chrome/browser/view_type_utils.h"
#include "chrome/common/chrome_switches.h"
#include "components/autofill/browser/autofill_external_delegate.h"
#include "components/autofill/browser/autofill_manager.h"
#include "content/public/browser/web_contents.h"
+#include "extensions/browser/view_type_utils.h"
#if defined(ENABLE_AUTOMATION)
#include "chrome/browser/automation/automation_tab_helper.h"
@@ -91,7 +91,7 @@
new base::SupportsUserData::Data());
// Set the view type.
- chrome::SetViewType(web_contents, chrome::VIEW_TYPE_TAB_CONTENTS);
+ extensions::SetViewType(web_contents, extensions::VIEW_TYPE_TAB_CONTENTS);
// Create all the tab helpers.

Powered by Google App Engine
This is Rietveld 408576698