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

Side by Side Diff: Source/WebKit/chromium/src/WebSettingsImpl.cpp

Issue 14614007: Remove frame flattening from rendering code. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: better. Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 void WebSettingsImpl::setEditableLinkBehaviorNeverLive() 302 void WebSettingsImpl::setEditableLinkBehaviorNeverLive()
303 { 303 {
304 // FIXME: If you ever need more behaviors than this, then we should probably 304 // FIXME: If you ever need more behaviors than this, then we should probably
305 // define an enum in WebSettings.h and have a switch statement that 305 // define an enum in WebSettings.h and have a switch statement that
306 // translates. Until then, this is probably fine, though. 306 // translates. Until then, this is probably fine, though.
307 m_settings->setEditableLinkBehavior(WebCore::EditableLinkNeverLive); 307 m_settings->setEditableLinkBehavior(WebCore::EditableLinkNeverLive);
308 } 308 }
309 309
310 void WebSettingsImpl::setFrameFlatteningEnabled(bool enabled) 310 void WebSettingsImpl::setFrameFlatteningEnabled(bool enabled)
311 { 311 {
312 m_settings->setFrameFlatteningEnabled(enabled); 312 // FIXME: Remove this once Chromium no longer tries to call it. http://crbug .com/231898
313 } 313 }
314 314
315 void WebSettingsImpl::setFontRenderingModeNormal() 315 void WebSettingsImpl::setFontRenderingModeNormal()
316 { 316 {
317 // FIXME: If you ever need more behaviors than this, then we should probably 317 // FIXME: If you ever need more behaviors than this, then we should probably
318 // define an enum in WebSettings.h and have a switch statement that 318 // define an enum in WebSettings.h and have a switch statement that
319 // translates. Until then, this is probably fine, though. 319 // translates. Until then, this is probably fine, though.
320 m_settings->setFontRenderingMode(WebCore::NormalRenderingMode); 320 m_settings->setFontRenderingMode(WebCore::NormalRenderingMode);
321 } 321 }
322 322
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
684 { 684 {
685 m_settings->setSelectionIncludesAltImageText(enabled); 685 m_settings->setSelectionIncludesAltImageText(enabled);
686 } 686 }
687 687
688 void WebSettingsImpl::setSmartInsertDeleteEnabled(bool enabled) 688 void WebSettingsImpl::setSmartInsertDeleteEnabled(bool enabled)
689 { 689 {
690 m_settings->setSmartInsertDeleteEnabled(enabled); 690 m_settings->setSmartInsertDeleteEnabled(enabled);
691 } 691 }
692 692
693 } // namespace WebKit 693 } // namespace WebKit
OLDNEW
« no previous file with comments | « LayoutTests/fast/spatial-navigation/snav-iframe-flattening-simple-expected.txt ('k') | Source/core/page/FrameView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698