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

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: 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
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::setAuthorAndUserStylesEnabled(bool enabled) 293 void WebSettingsImpl::setAuthorAndUserStylesEnabled(bool enabled)
299 { 294 {
300 m_settings->setAuthorAndUserStylesEnabled(enabled); 295 m_settings->setAuthorAndUserStylesEnabled(enabled);
301 } 296 }
302 297
303 void WebSettingsImpl::setUseLegacyBackgroundSizeShorthandBehavior(bool useLegacy BackgroundSizeShorthandBehavior) 298 void WebSettingsImpl::setUseLegacyBackgroundSizeShorthandBehavior(bool useLegacy BackgroundSizeShorthandBehavior)
304 { 299 {
305 m_settings->setUseLegacyBackgroundSizeShorthandBehavior(useLegacyBackgroundS izeShorthandBehavior); 300 m_settings->setUseLegacyBackgroundSizeShorthandBehavior(useLegacyBackgroundS izeShorthandBehavior);
306 } 301 }
307 302
(...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after
776 { 771 {
777 m_settings->setUseSolidColorScrollbars(enabled); 772 m_settings->setUseSolidColorScrollbars(enabled);
778 } 773 }
779 774
780 void WebSettingsImpl::setMainFrameResizesAreOrientationChanges(bool enabled) 775 void WebSettingsImpl::setMainFrameResizesAreOrientationChanges(bool enabled)
781 { 776 {
782 m_mainFrameResizesAreOrientationChanges = enabled; 777 m_mainFrameResizesAreOrientationChanges = enabled;
783 } 778 }
784 779
785 } // namespace blink 780 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698