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

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

Issue 2235643002: Code cleanup related to unified text checker (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@EnableUnifiedTextCheckerByDefault
Patch Set: Rebased on removal of grammar-checking code Created 4 years, 4 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 564 matching lines...) Expand 10 before | Expand all | Expand 10 after
575 void WebSettingsImpl::setHyperlinkAuditingEnabled(bool enabled) 575 void WebSettingsImpl::setHyperlinkAuditingEnabled(bool enabled)
576 { 576 {
577 m_settings->setHyperlinkAuditingEnabled(enabled); 577 m_settings->setHyperlinkAuditingEnabled(enabled);
578 } 578 }
579 579
580 void WebSettingsImpl::setAutoplayExperimentMode(const WebString& mode) 580 void WebSettingsImpl::setAutoplayExperimentMode(const WebString& mode)
581 { 581 {
582 m_settings->setAutoplayExperimentMode(mode); 582 m_settings->setAutoplayExperimentMode(mode);
583 } 583 }
584 584
585 void WebSettingsImpl::setUnifiedTextCheckerEnabled(bool enabled)
586 {
587 m_settings->setUnifiedTextCheckerEnabled(enabled);
588 }
589
590 void WebSettingsImpl::setCaretBrowsingEnabled(bool enabled) 585 void WebSettingsImpl::setCaretBrowsingEnabled(bool enabled)
591 { 586 {
592 m_settings->setCaretBrowsingEnabled(enabled); 587 m_settings->setCaretBrowsingEnabled(enabled);
593 } 588 }
594 589
595 void WebSettingsImpl::setValidationMessageTimerMagnification(int newValue) 590 void WebSettingsImpl::setValidationMessageTimerMagnification(int newValue)
596 { 591 {
597 m_settings->setValidationMessageTimerMagnification(newValue); 592 m_settings->setValidationMessageTimerMagnification(newValue);
598 } 593 }
599 594
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
807 { 802 {
808 m_settings->setV8CacheStrategiesForCacheStorage(static_cast<blink::V8CacheSt rategiesForCacheStorage>(strategies)); 803 m_settings->setV8CacheStrategiesForCacheStorage(static_cast<blink::V8CacheSt rategiesForCacheStorage>(strategies));
809 } 804 }
810 805
811 void WebSettingsImpl::setViewportStyle(WebViewportStyle style) 806 void WebSettingsImpl::setViewportStyle(WebViewportStyle style)
812 { 807 {
813 m_devToolsEmulator->setViewportStyle(style); 808 m_devToolsEmulator->setViewportStyle(style);
814 } 809 }
815 810
816 } // namespace blink 811 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebSettingsImpl.h ('k') | third_party/WebKit/Source/web/tests/WebFrameTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698