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

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

Issue 564043003: Add a setting to disable threaded scrolling (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 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
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 448 matching lines...) Expand 10 before | Expand all | Expand 10 after
459 void WebSettingsImpl::setEditingBehavior(EditingBehavior behavior) 459 void WebSettingsImpl::setEditingBehavior(EditingBehavior behavior)
460 { 460 {
461 m_settings->setEditingBehaviorType(static_cast<EditingBehaviorType>(behavior )); 461 m_settings->setEditingBehaviorType(static_cast<EditingBehaviorType>(behavior ));
462 } 462 }
463 463
464 void WebSettingsImpl::setAcceleratedCompositingEnabled(bool enabled) 464 void WebSettingsImpl::setAcceleratedCompositingEnabled(bool enabled)
465 { 465 {
466 m_settings->setAcceleratedCompositingEnabled(enabled); 466 m_settings->setAcceleratedCompositingEnabled(enabled);
467 } 467 }
468 468
469 void WebSettingsImpl::setAcceleratedScrollingEnabled(bool enabled)
470 {
471 m_settings->setAcceleratedScrollingEnabled(enabled);
472 }
473
469 void WebSettingsImpl::setMockScrollbarsEnabled(bool enabled) 474 void WebSettingsImpl::setMockScrollbarsEnabled(bool enabled)
470 { 475 {
471 m_settings->setMockScrollbarsEnabled(enabled); 476 m_settings->setMockScrollbarsEnabled(enabled);
472 } 477 }
473 478
474 void WebSettingsImpl::setMockGestureTapHighlightsEnabled(bool enabled) 479 void WebSettingsImpl::setMockGestureTapHighlightsEnabled(bool enabled)
475 { 480 {
476 m_settings->setMockGestureTapHighlightsEnabled(enabled); 481 m_settings->setMockGestureTapHighlightsEnabled(enabled);
477 } 482 }
478 483
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
721 { 726 {
722 m_settings->setDisallowFullscreenForNonMediaElements(enabled); 727 m_settings->setDisallowFullscreenForNonMediaElements(enabled);
723 } 728 }
724 729
725 void WebSettingsImpl::setV8CacheOptions(V8CacheOptions options) 730 void WebSettingsImpl::setV8CacheOptions(V8CacheOptions options)
726 { 731 {
727 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options)); 732 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options));
728 } 733 }
729 734
730 } // namespace blink 735 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698