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

Unified Diff: chrome/browser/ui/gtk/extensions/extension_view_gtk.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/gtk/extensions/extension_view_gtk.cc
===================================================================
--- chrome/browser/ui/gtk/extensions/extension_view_gtk.cc (revision 138369)
+++ chrome/browser/ui/gtk/extensions/extension_view_gtk.cc (working copy)
@@ -6,7 +6,7 @@
#include "chrome/browser/extensions/extension_host.h"
#include "chrome/browser/ui/gtk/extensions/extension_popup_gtk.h"
-#include "chrome/common/chrome_view_type.h"
+#include "chrome/common/view_type.h"
#include "content/public/browser/render_view_host.h"
#include "content/public/browser/render_widget_host_view.h"
#include "content/public/browser/web_contents.h"
@@ -54,7 +54,7 @@
pending_background_.reset();
}
- content::ViewType host_type = extension_host_->extension_host_type();
+ chrome::ViewType host_type = extension_host_->extension_host_type();
if (host_type == chrome::VIEW_TYPE_EXTENSION_POPUP) {
gfx::Size min_size(ExtensionPopupGtk::kMinWidth,
ExtensionPopupGtk::kMinHeight);

Powered by Google App Engine
This is Rietveld 408576698