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

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

Issue 290643005: Don't show video fullscreen until DidEnterFullscreen() is called, and disable fullscreen for non-me… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 years, 5 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') | public/web/WebSettings.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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 , m_autoZoomFocusedNodeToLegibleScale(false) 52 , m_autoZoomFocusedNodeToLegibleScale(false)
53 , m_deferredImageDecodingEnabled(false) 53 , m_deferredImageDecodingEnabled(false)
54 , m_doubleTapToZoomEnabled(false) 54 , m_doubleTapToZoomEnabled(false)
55 , m_supportDeprecatedTargetDensityDPI(false) 55 , m_supportDeprecatedTargetDensityDPI(false)
56 , m_shrinksViewportContentToFit(false) 56 , m_shrinksViewportContentToFit(false)
57 , m_useExpandedHeuristicsForGpuRasterization(false) 57 , m_useExpandedHeuristicsForGpuRasterization(false)
58 , m_viewportMetaLayoutSizeQuirk(false) 58 , m_viewportMetaLayoutSizeQuirk(false)
59 , m_viewportMetaNonUserScalableQuirk(false) 59 , m_viewportMetaNonUserScalableQuirk(false)
60 , m_clobberUserAgentInitialScaleQuirk(false) 60 , m_clobberUserAgentInitialScaleQuirk(false)
61 , m_mainFrameResizesAreOrientationChanges(false) 61 , m_mainFrameResizesAreOrientationChanges(false)
62 , m_disallowFullscreenForNonMediaElements(false)
62 { 63 {
63 ASSERT(settings); 64 ASSERT(settings);
64 } 65 }
65 66
66 void WebSettingsImpl::setStandardFontFamily(const WebString& font, UScriptCode s cript) 67 void WebSettingsImpl::setStandardFontFamily(const WebString& font, UScriptCode s cript)
67 { 68 {
68 m_settings->genericFontFamilySettings().setStandard(font, script); 69 m_settings->genericFontFamilySettings().setStandard(font, script);
69 m_settings->notifyGenericFontFamilyChange(); 70 m_settings->notifyGenericFontFamilyChange();
70 } 71 }
71 72
(...skipping 632 matching lines...) Expand 10 before | Expand all | Expand 10 after
704 void WebSettingsImpl::setUseSolidColorScrollbars(bool enabled) 705 void WebSettingsImpl::setUseSolidColorScrollbars(bool enabled)
705 { 706 {
706 m_settings->setUseSolidColorScrollbars(enabled); 707 m_settings->setUseSolidColorScrollbars(enabled);
707 } 708 }
708 709
709 void WebSettingsImpl::setMainFrameResizesAreOrientationChanges(bool enabled) 710 void WebSettingsImpl::setMainFrameResizesAreOrientationChanges(bool enabled)
710 { 711 {
711 m_mainFrameResizesAreOrientationChanges = enabled; 712 m_mainFrameResizesAreOrientationChanges = enabled;
712 } 713 }
713 714
715 void WebSettingsImpl::setDisallowFullscreenForNonMediaElements(bool enabled)
716 {
717 m_disallowFullscreenForNonMediaElements = enabled;
718 }
719
714 } // namespace blink 720 } // namespace blink
OLDNEW
« no previous file with comments | « Source/web/WebSettingsImpl.h ('k') | public/web/WebSettings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698