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

Unified Diff: chrome/browser/ui/views/ash/panel_view_aura.cc

Issue 10409088: Get rid of the RenderViewType concept in content, since it was only used by Chrome. Store the enum… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: review comments Created 8 years, 7 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/views/ash/panel_view_aura.cc
===================================================================
--- chrome/browser/ui/views/ash/panel_view_aura.cc (revision 138369)
+++ chrome/browser/ui/views/ash/panel_view_aura.cc (working copy)
@@ -17,7 +17,7 @@
#include "chrome/browser/sessions/session_id.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_finder.h"
-#include "chrome/common/chrome_view_type.h"
+#include "chrome/browser/view_type_utils.h"
#include "chrome/common/extensions/extension.h"
#include "chrome/common/extensions/extension_messages.h"
#include "content/public/browser/site_instance.h"
@@ -107,7 +107,7 @@
web_contents_.reset(content::WebContents::Create(
profile_, site_instance_.get(), MSG_ROUTING_NONE, NULL, NULL));
- web_contents_->SetViewType(chrome::VIEW_TYPE_PANEL);
+ chrome::SetViewType(web_contents_.get(), chrome::VIEW_TYPE_PANEL);
web_contents_->SetDelegate(this);
Observe(web_contents_.get());

Powered by Google App Engine
This is Rietveld 408576698