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

Unified Diff: chrome/browser/tab_contents/interstitial_page.cc

Issue 126137: Part 1 of merging Extensions and DOMUI (Closed)
Patch Set: add test and rebase Created 11 years, 6 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/tab_contents/interstitial_page.cc
diff --git a/chrome/browser/tab_contents/interstitial_page.cc b/chrome/browser/tab_contents/interstitial_page.cc
index b4e33d82adb44eb3497db77cc1b1ef42a14cf720..46832591cc41c7eb4eeed3c0f13750577e1b260b 100644
--- a/chrome/browser/tab_contents/interstitial_page.cc
+++ b/chrome/browser/tab_contents/interstitial_page.cc
@@ -16,6 +16,7 @@
#include "chrome/browser/tab_contents/navigation_entry.h"
#include "chrome/browser/tab_contents/tab_contents.h"
#include "chrome/browser/tab_contents/tab_contents_view.h"
+#include "chrome/common/bindings_policy.h"
#include "chrome/common/notification_service.h"
#include "grit/browser_resources.h"
#include "net/base/escape.h"
@@ -292,7 +293,7 @@ TabContentsView* InterstitialPage::CreateTabContentsView() {
RenderWidgetHostView* view =
tab_contents_view->CreateViewForWidget(render_view_host_);
render_view_host_->set_view(view);
- render_view_host_->AllowDomAutomationBindings();
+ render_view_host_->AllowBindings(BindingsPolicy::DOM_AUTOMATION);
render_view_host_->CreateRenderView();
view->SetSize(tab_contents_view->GetContainerSize());
// Don't show the interstitial until we have navigated to it.
« no previous file with comments | « chrome/browser/renderer_host/render_view_host_manager.cc ('k') | chrome/browser/tab_contents/tab_contents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698