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

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

Issue 14057012: Revert 148647 "Remove frame flattening support as Chromium has n..." (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: Created 7 years, 8 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
« no previous file with comments | « trunk/Source/WebKit/chromium/src/WebSettingsImpl.h ('k') | trunk/Source/core/core.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 } 314 }
315 315
316 void WebSettingsImpl::setEditableLinkBehaviorNeverLive() 316 void WebSettingsImpl::setEditableLinkBehaviorNeverLive()
317 { 317 {
318 // FIXME: If you ever need more behaviors than this, then we should probably 318 // FIXME: If you ever need more behaviors than this, then we should probably
319 // define an enum in WebSettings.h and have a switch statement that 319 // define an enum in WebSettings.h and have a switch statement that
320 // translates. Until then, this is probably fine, though. 320 // translates. Until then, this is probably fine, though.
321 m_settings->setEditableLinkBehavior(WebCore::EditableLinkNeverLive); 321 m_settings->setEditableLinkBehavior(WebCore::EditableLinkNeverLive);
322 } 322 }
323 323
324 void WebSettingsImpl::setFrameFlatteningEnabled(bool enabled)
325 {
326 m_settings->setFrameFlatteningEnabled(enabled);
327 }
328
324 void WebSettingsImpl::setFontRenderingModeNormal() 329 void WebSettingsImpl::setFontRenderingModeNormal()
325 { 330 {
326 // FIXME: If you ever need more behaviors than this, then we should probably 331 // FIXME: If you ever need more behaviors than this, then we should probably
327 // define an enum in WebSettings.h and have a switch statement that 332 // define an enum in WebSettings.h and have a switch statement that
328 // translates. Until then, this is probably fine, though. 333 // translates. Until then, this is probably fine, though.
329 m_settings->setFontRenderingMode(WebCore::NormalRenderingMode); 334 m_settings->setFontRenderingMode(WebCore::NormalRenderingMode);
330 } 335 }
331 336
332 void WebSettingsImpl::setAllowUniversalAccessFromFileURLs(bool allow) 337 void WebSettingsImpl::setAllowUniversalAccessFromFileURLs(bool allow)
333 { 338 {
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after
690 { 695 {
691 m_settings->setSelectionIncludesAltImageText(enabled); 696 m_settings->setSelectionIncludesAltImageText(enabled);
692 } 697 }
693 698
694 void WebSettingsImpl::setSmartInsertDeleteEnabled(bool enabled) 699 void WebSettingsImpl::setSmartInsertDeleteEnabled(bool enabled)
695 { 700 {
696 m_settings->setSmartInsertDeleteEnabled(enabled); 701 m_settings->setSmartInsertDeleteEnabled(enabled);
697 } 702 }
698 703
699 } // namespace WebKit 704 } // namespace WebKit
OLDNEW
« no previous file with comments | « trunk/Source/WebKit/chromium/src/WebSettingsImpl.h ('k') | trunk/Source/core/core.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698