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

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

Issue 219123002: Read the default min-width value from the UA style sheets (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/web/WebSettingsImpl.h ('k') | Source/web/WebViewImpl.cpp » ('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 540 matching lines...) Expand 10 before | Expand all | Expand 10 after
551 void WebSettingsImpl::setHyperlinkAuditingEnabled(bool enabled) 551 void WebSettingsImpl::setHyperlinkAuditingEnabled(bool enabled)
552 { 552 {
553 m_settings->setHyperlinkAuditingEnabled(enabled); 553 m_settings->setHyperlinkAuditingEnabled(enabled);
554 } 554 }
555 555
556 void WebSettingsImpl::setLayerSquashingEnabled(bool enabled) 556 void WebSettingsImpl::setLayerSquashingEnabled(bool enabled)
557 { 557 {
558 m_settings->setLayerSquashingEnabled(enabled); 558 m_settings->setLayerSquashingEnabled(enabled);
559 } 559 }
560 560
561 void WebSettingsImpl::setLayoutFallbackWidth(int width)
562 {
563 m_settings->setLayoutFallbackWidth(width);
564 }
565
566 void WebSettingsImpl::setAsynchronousSpellCheckingEnabled(bool enabled) 561 void WebSettingsImpl::setAsynchronousSpellCheckingEnabled(bool enabled)
567 { 562 {
568 m_settings->setAsynchronousSpellCheckingEnabled(enabled); 563 m_settings->setAsynchronousSpellCheckingEnabled(enabled);
569 } 564 }
570 565
571 void WebSettingsImpl::setUnifiedTextCheckerEnabled(bool enabled) 566 void WebSettingsImpl::setUnifiedTextCheckerEnabled(bool enabled)
572 { 567 {
573 m_settings->setUnifiedTextCheckerEnabled(enabled); 568 m_settings->setUnifiedTextCheckerEnabled(enabled);
574 } 569 }
575 570
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
747 { 742 {
748 m_settings->setUseSolidColorScrollbars(enabled); 743 m_settings->setUseSolidColorScrollbars(enabled);
749 } 744 }
750 745
751 void WebSettingsImpl::setMainFrameResizesAreOrientationChanges(bool enabled) 746 void WebSettingsImpl::setMainFrameResizesAreOrientationChanges(bool enabled)
752 { 747 {
753 m_mainFrameResizesAreOrientationChanges = enabled; 748 m_mainFrameResizesAreOrientationChanges = enabled;
754 } 749 }
755 750
756 } // namespace blink 751 } // namespace blink
OLDNEW
« no previous file with comments | « Source/web/WebSettingsImpl.h ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698