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

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

Issue 13963006: Remove frame flattening support as Chromium has no intention of using it (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
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
« no previous file with comments | « Source/WebKit/chromium/src/WebSettingsImpl.h ('k') | 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
329 void WebSettingsImpl::setFontRenderingModeNormal() 324 void WebSettingsImpl::setFontRenderingModeNormal()
330 { 325 {
331 // FIXME: If you ever need more behaviors than this, then we should probably 326 // FIXME: If you ever need more behaviors than this, then we should probably
332 // define an enum in WebSettings.h and have a switch statement that 327 // define an enum in WebSettings.h and have a switch statement that
333 // translates. Until then, this is probably fine, though. 328 // translates. Until then, this is probably fine, though.
334 m_settings->setFontRenderingMode(WebCore::NormalRenderingMode); 329 m_settings->setFontRenderingMode(WebCore::NormalRenderingMode);
335 } 330 }
336 331
337 void WebSettingsImpl::setAllowUniversalAccessFromFileURLs(bool allow) 332 void WebSettingsImpl::setAllowUniversalAccessFromFileURLs(bool allow)
338 { 333 {
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after
695 { 690 {
696 m_settings->setSelectionIncludesAltImageText(enabled); 691 m_settings->setSelectionIncludesAltImageText(enabled);
697 } 692 }
698 693
699 void WebSettingsImpl::setSmartInsertDeleteEnabled(bool enabled) 694 void WebSettingsImpl::setSmartInsertDeleteEnabled(bool enabled)
700 { 695 {
701 m_settings->setSmartInsertDeleteEnabled(enabled); 696 m_settings->setSmartInsertDeleteEnabled(enabled);
702 } 697 }
703 698
704 } // namespace WebKit 699 } // namespace WebKit
OLDNEW
« no previous file with comments | « Source/WebKit/chromium/src/WebSettingsImpl.h ('k') | Source/core/core.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698