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

Unified Diff: chrome/renderer/extensions/extension_custom_bindings.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/renderer/extensions/extension_custom_bindings.cc
===================================================================
--- chrome/renderer/extensions/extension_custom_bindings.cc (revision 138369)
+++ chrome/renderer/extensions/extension_custom_bindings.cc (working copy)
@@ -7,11 +7,11 @@
#include <string>
#include "base/string_util.h"
-#include "chrome/common/chrome_view_type.h"
#include "chrome/common/extensions/extension.h"
#include "chrome/common/extensions/extension_action.h"
#include "chrome/common/extensions/extension_messages.h"
#include "chrome/common/url_constants.h"
+#include "chrome/common/view_type.h"
#include "chrome/renderer/extensions/extension_dispatcher.h"
#include "chrome/renderer/extensions/extension_helper.h"
#include "content/public/renderer/render_view.h"
@@ -49,9 +49,9 @@
std::string view_type_string = *v8::String::Utf8Value(args[1]->ToString());
StringToUpperASCII(&view_type_string);
- // |view_type| == content::VIEW_TYPE_INVALID means getting any type of
+ // |view_type| == chrome::VIEW_TYPE_INVALID means getting any type of
// views.
- content::ViewType view_type = content::VIEW_TYPE_INVALID;
+ chrome::ViewType view_type = chrome::VIEW_TYPE_INVALID;
if (view_type_string == chrome::kViewTypeBackgroundPage) {
view_type = chrome::VIEW_TYPE_EXTENSION_BACKGROUND_PAGE;
} else if (view_type_string == chrome::kViewTypeInfobar) {

Powered by Google App Engine
This is Rietveld 408576698