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

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

Issue 66383005: Remove the concept of user stylesheets. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix WebFrameCSSCallbackTest tests Created 7 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « Source/web/WebSettingsImpl.h ('k') | public/testing/WebPreferences.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 void WebSettingsImpl::setJavaEnabled(bool enabled) 283 void WebSettingsImpl::setJavaEnabled(bool enabled)
284 { 284 {
285 m_settings->setJavaEnabled(enabled); 285 m_settings->setJavaEnabled(enabled);
286 } 286 }
287 287
288 void WebSettingsImpl::setAllowScriptsToCloseWindows(bool allow) 288 void WebSettingsImpl::setAllowScriptsToCloseWindows(bool allow)
289 { 289 {
290 m_settings->setAllowScriptsToCloseWindows(allow); 290 m_settings->setAllowScriptsToCloseWindows(allow);
291 } 291 }
292 292
293 void WebSettingsImpl::setUserStyleSheetLocation(const WebURL& location)
294 {
295 m_settings->setUserStyleSheetLocation(location);
296 }
297
298 void WebSettingsImpl::setUseLegacyBackgroundSizeShorthandBehavior(bool useLegacy BackgroundSizeShorthandBehavior) 293 void WebSettingsImpl::setUseLegacyBackgroundSizeShorthandBehavior(bool useLegacy BackgroundSizeShorthandBehavior)
299 { 294 {
300 m_settings->setUseLegacyBackgroundSizeShorthandBehavior(useLegacyBackgroundS izeShorthandBehavior); 295 m_settings->setUseLegacyBackgroundSizeShorthandBehavior(useLegacyBackgroundS izeShorthandBehavior);
301 } 296 }
302 297
303 void WebSettingsImpl::setWideViewportQuirkEnabled(bool wideViewportQuirkEnabled) 298 void WebSettingsImpl::setWideViewportQuirkEnabled(bool wideViewportQuirkEnabled)
304 { 299 {
305 m_settings->setWideViewportQuirkEnabled(wideViewportQuirkEnabled); 300 m_settings->setWideViewportQuirkEnabled(wideViewportQuirkEnabled);
306 } 301 }
307 302
(...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after
771 { 766 {
772 m_settings->setUseSolidColorScrollbars(enabled); 767 m_settings->setUseSolidColorScrollbars(enabled);
773 } 768 }
774 769
775 void WebSettingsImpl::setMainFrameResizesAreOrientationChanges(bool enabled) 770 void WebSettingsImpl::setMainFrameResizesAreOrientationChanges(bool enabled)
776 { 771 {
777 m_mainFrameResizesAreOrientationChanges = enabled; 772 m_mainFrameResizesAreOrientationChanges = enabled;
778 } 773 }
779 774
780 } // namespace blink 775 } // namespace blink
OLDNEW
« no previous file with comments | « Source/web/WebSettingsImpl.h ('k') | public/testing/WebPreferences.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698