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

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

Issue 2293373002: Remove unused prefs/api/resource for setPageEncoding (Closed)
Patch Set: It's September! Created 4 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 319 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 void WebSettingsImpl::setShrinksViewportContentToFit(bool shrinkViewportContent) 330 void WebSettingsImpl::setShrinksViewportContentToFit(bool shrinkViewportContent)
331 { 331 {
332 m_shrinksViewportContentToFit = shrinkViewportContent; 332 m_shrinksViewportContentToFit = shrinkViewportContent;
333 } 333 }
334 334
335 void WebSettingsImpl::setSpatialNavigationEnabled(bool enabled) 335 void WebSettingsImpl::setSpatialNavigationEnabled(bool enabled)
336 { 336 {
337 m_settings->setSpatialNavigationEnabled(enabled); 337 m_settings->setSpatialNavigationEnabled(enabled);
338 } 338 }
339 339
340 void WebSettingsImpl::setUsesEncodingDetector(bool usesDetector)
341 {
342 m_settings->setUsesEncodingDetector(usesDetector);
343 }
344
345 void WebSettingsImpl::setTextAreasAreResizable(bool areResizable) 340 void WebSettingsImpl::setTextAreasAreResizable(bool areResizable)
346 { 341 {
347 m_settings->setTextAreasAreResizable(areResizable); 342 m_settings->setTextAreasAreResizable(areResizable);
348 } 343 }
349 344
350 void WebSettingsImpl::setAllowScriptsToCloseWindows(bool allow) 345 void WebSettingsImpl::setAllowScriptsToCloseWindows(bool allow)
351 { 346 {
352 m_settings->setAllowScriptsToCloseWindows(allow); 347 m_settings->setAllowScriptsToCloseWindows(allow);
353 } 348 }
354 349
(...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after
797 { 792 {
798 m_settings->setV8CacheStrategiesForCacheStorage(static_cast<blink::V8CacheSt rategiesForCacheStorage>(strategies)); 793 m_settings->setV8CacheStrategiesForCacheStorage(static_cast<blink::V8CacheSt rategiesForCacheStorage>(strategies));
799 } 794 }
800 795
801 void WebSettingsImpl::setViewportStyle(WebViewportStyle style) 796 void WebSettingsImpl::setViewportStyle(WebViewportStyle style)
802 { 797 {
803 m_devToolsEmulator->setViewportStyle(style); 798 m_devToolsEmulator->setViewportStyle(style);
804 } 799 }
805 800
806 } // namespace blink 801 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebSettingsImpl.h ('k') | third_party/WebKit/Source/web/WebViewImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698