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

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

Issue 988023005: Implementing directional selection strategy in Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Expanded a couple of comments. Created 5 years, 9 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 699 matching lines...) Expand 10 before | Expand all | Expand 10 after
710 void WebSettingsImpl::setSelectTrailingWhitespaceEnabled(bool enabled) 710 void WebSettingsImpl::setSelectTrailingWhitespaceEnabled(bool enabled)
711 { 711 {
712 m_settings->setSelectTrailingWhitespaceEnabled(enabled); 712 m_settings->setSelectTrailingWhitespaceEnabled(enabled);
713 } 713 }
714 714
715 void WebSettingsImpl::setSelectionIncludesAltImageText(bool enabled) 715 void WebSettingsImpl::setSelectionIncludesAltImageText(bool enabled)
716 { 716 {
717 m_settings->setSelectionIncludesAltImageText(enabled); 717 m_settings->setSelectionIncludesAltImageText(enabled);
718 } 718 }
719 719
720 void WebSettingsImpl::setSelectionStrategy(SelectionStrategyType strategy)
721 {
722 m_settings->setSelectionStrategy(static_cast<SelectionStrategy>(strategy));
723 }
724
725
720 void WebSettingsImpl::setSmartInsertDeleteEnabled(bool enabled) 726 void WebSettingsImpl::setSmartInsertDeleteEnabled(bool enabled)
721 { 727 {
722 m_settings->setSmartInsertDeleteEnabled(enabled); 728 m_settings->setSmartInsertDeleteEnabled(enabled);
723 } 729 }
724 730
725 void WebSettingsImpl::setPinchOverlayScrollbarThickness(int thickness) 731 void WebSettingsImpl::setPinchOverlayScrollbarThickness(int thickness)
726 { 732 {
727 m_settings->setPinchOverlayScrollbarThickness(thickness); 733 m_settings->setPinchOverlayScrollbarThickness(thickness);
728 } 734 }
729 735
(...skipping 11 matching lines...) Expand all
741 { 747 {
742 m_mainFrameResizesAreOrientationChanges = enabled; 748 m_mainFrameResizesAreOrientationChanges = enabled;
743 } 749 }
744 750
745 void WebSettingsImpl::setV8CacheOptions(V8CacheOptions options) 751 void WebSettingsImpl::setV8CacheOptions(V8CacheOptions options)
746 { 752 {
747 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options)); 753 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options));
748 } 754 }
749 755
750 } // namespace blink 756 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698