Commit 71b5e703 authored by ojan@chromium.org's avatar ojan@chromium.org

Remove frame flattening calls from Chromium as it is being removed from Blink

Chromium does not use the frame flattening code on any platform, though it used
to use it for frameset flattening on Android, but that is no longer the case.

As there is no intention of ever using it, it should be removed. This change
basically removed the code related to the WebCore setting.

Committed on behalf of Kenneth Rohde Christiansen <kenneth.r.christiansen@intel.com>.

TBR=darin@chromium.org

BUG=231898

Review URL: https://codereview.chromium.org/14293008

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194745 0039d316-1c4b-4281-b951-d872f2087c98
parent 2f0d6985
......@@ -233,3 +233,4 @@ Sam Larison <qufighter@gmail.com>
Jun Jiang <jun.a.jiang@intel.com>
Bobby Powers <bobbypowers@gmail.com>
Patrick Riordan <patrickriordan177@gmail.com>
Kenneth Rohde Christiansen <kenneth.r.christiansen@intel.com>
......@@ -136,7 +136,6 @@ IPC_STRUCT_TRAITS_BEGIN(webkit_glue::WebPreferences)
IPC_STRUCT_TRAITS_MEMBER(user_style_sheet_enabled)
IPC_STRUCT_TRAITS_MEMBER(user_style_sheet_location)
IPC_STRUCT_TRAITS_MEMBER(author_and_user_styles_enabled)
IPC_STRUCT_TRAITS_MEMBER(frame_flattening_enabled)
IPC_STRUCT_TRAITS_MEMBER(allow_universal_access_from_file_urls)
IPC_STRUCT_TRAITS_MEMBER(allow_file_access_from_file_urls)
IPC_STRUCT_TRAITS_MEMBER(webaudio_enabled)
......
......@@ -67,7 +67,6 @@ WebPreferences::WebPreferences()
is_online(true),
user_style_sheet_enabled(false),
author_and_user_styles_enabled(true),
frame_flattening_enabled(false),
allow_universal_access_from_file_urls(false),
allow_file_access_from_file_urls(false),
webaudio_enabled(false),
......@@ -314,8 +313,6 @@ void WebPreferences::Apply(WebView* web_view) const {
// change this, since it would break existing rich text editors.
settings->setEditableLinkBehaviorNeverLive();
settings->setFrameFlatteningEnabled(frame_flattening_enabled);
settings->setFontRenderingModeNormal();
settings->setJavaEnabled(java_enabled);
......
......@@ -91,7 +91,6 @@ struct WEBKIT_GLUE_EXPORT WebPreferences {
bool user_style_sheet_enabled;
GURL user_style_sheet_location;
bool author_and_user_styles_enabled;
bool frame_flattening_enabled;
bool allow_universal_access_from_file_urls;
bool allow_file_access_from_file_urls;
bool webaudio_enabled;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment