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

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: address review comment Created 6 years, 6 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 | « Source/web/WebSettingsImpl.h ('k') | Source/web/WebViewImpl.h » ('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 407 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 { 418 {
419 m_settings->setEditingBehaviorType(static_cast<WebCore::EditingBehaviorType> (behavior)); 419 m_settings->setEditingBehaviorType(static_cast<WebCore::EditingBehaviorType> (behavior));
420 } 420 }
421 421
422 void WebSettingsImpl::setAcceleratedCompositingEnabled(bool enabled) 422 void WebSettingsImpl::setAcceleratedCompositingEnabled(bool enabled)
423 { 423 {
424 m_settings->setAcceleratedCompositingEnabled(enabled); 424 m_settings->setAcceleratedCompositingEnabled(enabled);
425 m_settings->setScrollingCoordinatorEnabled(enabled); 425 m_settings->setScrollingCoordinatorEnabled(enabled);
426 } 426 }
427 427
428 void WebSettingsImpl::setForceCompositingMode(bool enabled)
429 {
430 m_settings->setForceCompositingMode(enabled);
431 }
432
433 void WebSettingsImpl::setMockScrollbarsEnabled(bool enabled) 428 void WebSettingsImpl::setMockScrollbarsEnabled(bool enabled)
434 { 429 {
435 m_settings->setMockScrollbarsEnabled(enabled); 430 m_settings->setMockScrollbarsEnabled(enabled);
436 } 431 }
437 432
438 void WebSettingsImpl::setAcceleratedCompositingForFiltersEnabled(bool enabled) 433 void WebSettingsImpl::setAcceleratedCompositingForFiltersEnabled(bool enabled)
439 { 434 {
440 m_settings->setAcceleratedCompositingForFiltersEnabled(enabled); 435 m_settings->setAcceleratedCompositingForFiltersEnabled(enabled);
441 } 436 }
442 437
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
705 { 700 {
706 m_settings->setUseSolidColorScrollbars(enabled); 701 m_settings->setUseSolidColorScrollbars(enabled);
707 } 702 }
708 703
709 void WebSettingsImpl::setMainFrameResizesAreOrientationChanges(bool enabled) 704 void WebSettingsImpl::setMainFrameResizesAreOrientationChanges(bool enabled)
710 { 705 {
711 m_mainFrameResizesAreOrientationChanges = enabled; 706 m_mainFrameResizesAreOrientationChanges = enabled;
712 } 707 }
713 708
714 } // namespace blink 709 } // namespace blink
OLDNEW
« no previous file with comments | « Source/web/WebSettingsImpl.h ('k') | Source/web/WebViewImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698