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

Side by Side Diff: Source/web/WebSettingsImpl.cpp

Issue 295383008: Remove the forceCompositingMode setting. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 412 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 { 423 {
424 m_settings->setEditingBehaviorType(static_cast<WebCore::EditingBehaviorType> (behavior)); 424 m_settings->setEditingBehaviorType(static_cast<WebCore::EditingBehaviorType> (behavior));
425 } 425 }
426 426
427 void WebSettingsImpl::setAcceleratedCompositingEnabled(bool enabled) 427 void WebSettingsImpl::setAcceleratedCompositingEnabled(bool enabled)
428 { 428 {
429 m_settings->setAcceleratedCompositingEnabled(enabled); 429 m_settings->setAcceleratedCompositingEnabled(enabled);
430 m_settings->setScrollingCoordinatorEnabled(enabled); 430 m_settings->setScrollingCoordinatorEnabled(enabled);
431 } 431 }
432 432
433 void WebSettingsImpl::setForceCompositingMode(bool enabled)
434 {
435 m_settings->setForceCompositingMode(enabled);
436 }
437
438 void WebSettingsImpl::setMockScrollbarsEnabled(bool enabled) 433 void WebSettingsImpl::setMockScrollbarsEnabled(bool enabled)
439 { 434 {
440 m_settings->setMockScrollbarsEnabled(enabled); 435 m_settings->setMockScrollbarsEnabled(enabled);
441 } 436 }
442 437
443 void WebSettingsImpl::setAcceleratedCompositingForFiltersEnabled(bool enabled) 438 void WebSettingsImpl::setAcceleratedCompositingForFiltersEnabled(bool enabled)
444 { 439 {
445 m_settings->setAcceleratedCompositingForFiltersEnabled(enabled); 440 m_settings->setAcceleratedCompositingForFiltersEnabled(enabled);
446 } 441 }
447 442
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
710 { 705 {
711 m_settings->setUseSolidColorScrollbars(enabled); 706 m_settings->setUseSolidColorScrollbars(enabled);
712 } 707 }
713 708
714 void WebSettingsImpl::setMainFrameResizesAreOrientationChanges(bool enabled) 709 void WebSettingsImpl::setMainFrameResizesAreOrientationChanges(bool enabled)
715 { 710 {
716 m_mainFrameResizesAreOrientationChanges = enabled; 711 m_mainFrameResizesAreOrientationChanges = enabled;
717 } 712 }
718 713
719 } // namespace blink 714 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698