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

Unified Diff: chrome/renderer/extensions/extension_custom_bindings.cc

Issue 10387110: Remove VIEW_TYPE_WEB_CONTENTS and make default view type INVALID. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: blah 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
« no previous file with comments | « chrome/common/chrome_view_type.h ('k') | content/browser/web_contents/web_contents_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/extensions/extension_custom_bindings.cc
diff --git a/chrome/renderer/extensions/extension_custom_bindings.cc b/chrome/renderer/extensions/extension_custom_bindings.cc
index 047588caeddeaf96605858f78a59b319098a1317..f60a497d9f6d77b15cab3d7824a72a5847480fc3 100644
--- a/chrome/renderer/extensions/extension_custom_bindings.cc
+++ b/chrome/renderer/extensions/extension_custom_bindings.cc
@@ -58,7 +58,7 @@ v8::Handle<v8::Value> ExtensionCustomBindings::GetExtensionViews(
} else if (view_type_string == chrome::kViewTypeNotification) {
view_type = chrome::VIEW_TYPE_NOTIFICATION;
} else if (view_type_string == chrome::kViewTypeTabContents) {
- view_type = content::VIEW_TYPE_WEB_CONTENTS;
+ view_type = chrome::VIEW_TYPE_TAB_CONTENTS;
} else if (view_type_string == chrome::kViewTypePopup) {
view_type = chrome::VIEW_TYPE_EXTENSION_POPUP;
} else if (view_type_string == chrome::kViewTypeExtensionDialog) {
« no previous file with comments | « chrome/common/chrome_view_type.h ('k') | content/browser/web_contents/web_contents_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698