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

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

Issue 302993003: Route selection bounds updates through WebLayerTreeView (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Attach to proper scrolling layer 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
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 433 matching lines...) Expand 10 before | Expand all | Expand 10 after
444 void WebSettingsImpl::setAcceleratedCompositingForVideoEnabled(bool enabled) 444 void WebSettingsImpl::setAcceleratedCompositingForVideoEnabled(bool enabled)
445 { 445 {
446 m_settings->setAcceleratedCompositingForVideoEnabled(enabled); 446 m_settings->setAcceleratedCompositingForVideoEnabled(enabled);
447 } 447 }
448 448
449 void WebSettingsImpl::setAcceleratedCompositingForOverflowScrollEnabled(bool ena bled) 449 void WebSettingsImpl::setAcceleratedCompositingForOverflowScrollEnabled(bool ena bled)
450 { 450 {
451 m_settings->setAcceleratedCompositingForOverflowScrollEnabled(enabled); 451 m_settings->setAcceleratedCompositingForOverflowScrollEnabled(enabled);
452 } 452 }
453 453
454 void WebSettingsImpl::setCompositedSelectionUpdatesEnabled(bool enabled)
455 {
456 m_settings->setCompositedSelectionUpdatesEnabled(enabled);
457 }
458
454 void WebSettingsImpl::setCompositorDrivenAcceleratedScrollingEnabled(bool enable d) 459 void WebSettingsImpl::setCompositorDrivenAcceleratedScrollingEnabled(bool enable d)
455 { 460 {
456 m_settings->setCompositorDrivenAcceleratedScrollingEnabled(enabled); 461 m_settings->setCompositorDrivenAcceleratedScrollingEnabled(enabled);
457 } 462 }
458 463
459 void WebSettingsImpl::setAcceleratedCompositingForFixedRootBackgroundEnabled(boo l enabled) 464 void WebSettingsImpl::setAcceleratedCompositingForFixedRootBackgroundEnabled(boo l enabled)
460 { 465 {
461 m_settings->setAcceleratedCompositingForFixedRootBackgroundEnabled(enabled); 466 m_settings->setAcceleratedCompositingForFixedRootBackgroundEnabled(enabled);
462 } 467 }
463 468
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
580 void WebSettingsImpl::setEnableScrollAnimator(bool enabled) 585 void WebSettingsImpl::setEnableScrollAnimator(bool enabled)
581 { 586 {
582 m_settings->setScrollAnimatorEnabled(enabled); 587 m_settings->setScrollAnimatorEnabled(enabled);
583 } 588 }
584 589
585 void WebSettingsImpl::setEnableTouchAdjustment(bool enabled) 590 void WebSettingsImpl::setEnableTouchAdjustment(bool enabled)
586 { 591 {
587 m_settings->setTouchAdjustmentEnabled(enabled); 592 m_settings->setTouchAdjustmentEnabled(enabled);
588 } 593 }
589 594
595 bool WebSettingsImpl::compositedSelectionUpdatesEnabled() const
596 {
597 return m_settings->compositedSelectionUpdatesEnabled();
598 }
599
590 bool WebSettingsImpl::scrollAnimatorEnabled() const 600 bool WebSettingsImpl::scrollAnimatorEnabled() const
591 { 601 {
592 return m_settings->scrollAnimatorEnabled(); 602 return m_settings->scrollAnimatorEnabled();
593 } 603 }
594 604
595 bool WebSettingsImpl::touchEditingEnabled() const 605 bool WebSettingsImpl::touchEditingEnabled() const
596 { 606 {
597 return m_settings->touchEditingEnabled(); 607 return m_settings->touchEditingEnabled();
598 } 608 }
599 609
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
706 { 716 {
707 m_settings->setUseSolidColorScrollbars(enabled); 717 m_settings->setUseSolidColorScrollbars(enabled);
708 } 718 }
709 719
710 void WebSettingsImpl::setMainFrameResizesAreOrientationChanges(bool enabled) 720 void WebSettingsImpl::setMainFrameResizesAreOrientationChanges(bool enabled)
711 { 721 {
712 m_mainFrameResizesAreOrientationChanges = enabled; 722 m_mainFrameResizesAreOrientationChanges = enabled;
713 } 723 }
714 724
715 } // namespace blink 725 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698