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

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: Missing file. Created 5 years, 8 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 738 matching lines...) Expand 10 before | Expand all | Expand 10 after
749 void WebSettingsImpl::setSelectTrailingWhitespaceEnabled(bool enabled) 749 void WebSettingsImpl::setSelectTrailingWhitespaceEnabled(bool enabled)
750 { 750 {
751 m_settings->setSelectTrailingWhitespaceEnabled(enabled); 751 m_settings->setSelectTrailingWhitespaceEnabled(enabled);
752 } 752 }
753 753
754 void WebSettingsImpl::setSelectionIncludesAltImageText(bool enabled) 754 void WebSettingsImpl::setSelectionIncludesAltImageText(bool enabled)
755 { 755 {
756 m_settings->setSelectionIncludesAltImageText(enabled); 756 m_settings->setSelectionIncludesAltImageText(enabled);
757 } 757 }
758 758
759 void WebSettingsImpl::setSelectionStrategy(SelectionStrategyType strategy)
760 {
761 m_settings->setSelectionStrategy(static_cast<SelectionStrategy>(strategy));
762 }
763
764
759 void WebSettingsImpl::setSmartInsertDeleteEnabled(bool enabled) 765 void WebSettingsImpl::setSmartInsertDeleteEnabled(bool enabled)
760 { 766 {
761 m_settings->setSmartInsertDeleteEnabled(enabled); 767 m_settings->setSmartInsertDeleteEnabled(enabled);
762 } 768 }
763 769
764 void WebSettingsImpl::setPinchOverlayScrollbarThickness(int thickness) 770 void WebSettingsImpl::setPinchOverlayScrollbarThickness(int thickness)
765 { 771 {
766 m_settings->setPinchOverlayScrollbarThickness(thickness); 772 m_settings->setPinchOverlayScrollbarThickness(thickness);
767 } 773 }
768 774
(...skipping 11 matching lines...) Expand all
780 { 786 {
781 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options)); 787 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options));
782 } 788 }
783 789
784 void WebSettingsImpl::setUseMobileViewportStyle(bool enabled) 790 void WebSettingsImpl::setUseMobileViewportStyle(bool enabled)
785 { 791 {
786 m_devToolsEmulator->setUseMobileViewportStyle(enabled); 792 m_devToolsEmulator->setUseMobileViewportStyle(enabled);
787 } 793 }
788 794
789 } // namespace blink 795 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698