#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/renderer_preferences_util.h"
#include "chrome/browser/tab_contents/tab_util.h"
+#include "chrome/browser/ui/zoom/zoom_controller.h"
#include "chrome/common/extensions/extension_constants.h"
#include "chrome/common/url_constants.h"
#include "chrome/grit/browser_resources.h"
bool rtl = base::i18n::IsRTL();
strings.SetString("textdirection", rtl ? "rtl" : "ltr");
- webui::UseVersion2 version2;
base::StringPiece html(
ResourceBundle::GetSharedInstance().GetRawDataResource(
IDR_MERGE_SESSION_LOAD_HTML));
content::RendererPreferences* prefs) {
Profile* profile = Profile::FromBrowserContext(
web_contents_->GetBrowserContext());
- renderer_preferences_util::UpdateFromSystemSettings(prefs, profile);
+ renderer_preferences_util::UpdateFromSystemSettings(
+ prefs, profile, web_contents_);
}
void MergeSessionLoadPage::OnProceed() {