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

Unified Diff: Source/web/WebSettingsImpl.h

Issue 609923003: Adding blink side flag that allows disabling YUV decoding (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
Index: Source/web/WebSettingsImpl.h
diff --git a/Source/web/WebSettingsImpl.h b/Source/web/WebSettingsImpl.h
index 2ea737dcaf573df6f8c14fca46523cd2935cf254..9edda076e41b32d3d378f812955ef241344e4e0b 100644
--- a/Source/web/WebSettingsImpl.h
+++ b/Source/web/WebSettingsImpl.h
@@ -177,6 +177,7 @@ public:
virtual void setWebSecurityEnabled(bool) OVERRIDE;
virtual void setWideViewportQuirkEnabled(bool) OVERRIDE;
virtual void setXSSAuditorEnabled(bool) OVERRIDE;
+ virtual void setYUVImageDecodingEnabled(bool); // FIXME: add OVERRIDE once this is in base class
bool showFPSCounter() const { return m_showFPSCounter; }
bool showPaintRects() const { return m_showPaintRects; }
@@ -217,6 +218,7 @@ private:
// can be removed any time after 2015. See http://crbug.com/313754.
bool m_clobberUserAgentInitialScaleQuirk;
bool m_mainFrameResizesAreOrientationChanges;
+ bool m_yuvImageDecodingEnabled;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698