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

Side by Side Diff: Source/core/testing/InternalSettings.h

Issue 14408004: Fix incorrect evaluation of resolution media queries (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 7 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2013 Apple Inc. All rights reserved. 3 * Copyright (C) 2013 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 52
53 bool m_originalCSSExclusionsEnabled; 53 bool m_originalCSSExclusionsEnabled;
54 bool m_originalCSSVariablesEnabled; 54 bool m_originalCSSVariablesEnabled;
55 bool m_originalAuthorShadowDOMForAnyElementEnabled; 55 bool m_originalAuthorShadowDOMForAnyElementEnabled;
56 bool m_originalExperimentalShadowDOMEnabled; 56 bool m_originalExperimentalShadowDOMEnabled;
57 bool m_originalStyleScoped; 57 bool m_originalStyleScoped;
58 EditingBehaviorType m_originalEditingBehavior; 58 EditingBehaviorType m_originalEditingBehavior;
59 bool m_originalTextAutosizingEnabled; 59 bool m_originalTextAutosizingEnabled;
60 IntSize m_originalTextAutosizingWindowSizeOverride; 60 IntSize m_originalTextAutosizingWindowSizeOverride;
61 float m_originalTextAutosizingFontScaleFactor; 61 float m_originalTextAutosizingFontScaleFactor;
62 IntSize m_originalResolutionOverride;
63 String m_originalMediaTypeOverride; 62 String m_originalMediaTypeOverride;
64 bool m_originalDialogElementEnabled; 63 bool m_originalDialogElementEnabled;
65 bool m_originalLazyLayoutEnabled; 64 bool m_originalLazyLayoutEnabled;
66 bool m_originalMockScrollbarsEnabled; 65 bool m_originalMockScrollbarsEnabled;
67 bool m_originalUsesOverlayScrollbars; 66 bool m_originalUsesOverlayScrollbars;
68 bool m_langAttributeAwareFormControlUIEnabled; 67 bool m_langAttributeAwareFormControlUIEnabled;
69 bool m_imagesEnabled; 68 bool m_imagesEnabled;
70 bool m_shouldDisplaySubtitles; 69 bool m_shouldDisplaySubtitles;
71 bool m_shouldDisplayCaptions; 70 bool m_shouldDisplayCaptions;
72 bool m_shouldDisplayTextDescriptions; 71 bool m_shouldDisplayTextDescriptions;
(...skipping 16 matching lines...) Expand all
89 void setFixedFontFamily(const String& family, const String& script, Exceptio nCode&); 88 void setFixedFontFamily(const String& family, const String& script, Exceptio nCode&);
90 void setCursiveFontFamily(const String& family, const String& script, Except ionCode&); 89 void setCursiveFontFamily(const String& family, const String& script, Except ionCode&);
91 void setFantasyFontFamily(const String& family, const String& script, Except ionCode&); 90 void setFantasyFontFamily(const String& family, const String& script, Except ionCode&);
92 void setPictographFontFamily(const String& family, const String& script, Exc eptionCode&); 91 void setPictographFontFamily(const String& family, const String& script, Exc eptionCode&);
93 92
94 void setDefaultVideoPosterURL(const String& url, ExceptionCode&); 93 void setDefaultVideoPosterURL(const String& url, ExceptionCode&);
95 void setEditingBehavior(const String&, ExceptionCode&); 94 void setEditingBehavior(const String&, ExceptionCode&);
96 void setImagesEnabled(bool, ExceptionCode&); 95 void setImagesEnabled(bool, ExceptionCode&);
97 void setMediaTypeOverride(const String& mediaType, ExceptionCode&); 96 void setMediaTypeOverride(const String& mediaType, ExceptionCode&);
98 void setMockScrollbarsEnabled(bool, ExceptionCode&); 97 void setMockScrollbarsEnabled(bool, ExceptionCode&);
99 void setResolutionOverride(int dotsPerCSSInchHorizontally, int dotsPerCSSInc hVertically, ExceptionCode&);
100 void setTextAutosizingEnabled(bool, ExceptionCode&); 98 void setTextAutosizingEnabled(bool, ExceptionCode&);
101 void setTextAutosizingFontScaleFactor(float fontScaleFactor, ExceptionCode&) ; 99 void setTextAutosizingFontScaleFactor(float fontScaleFactor, ExceptionCode&) ;
102 void setTextAutosizingWindowSizeOverride(int width, int height, ExceptionCod e&); 100 void setTextAutosizingWindowSizeOverride(int width, int height, ExceptionCod e&);
103 void setTouchEventEmulationEnabled(bool, ExceptionCode&); 101 void setTouchEventEmulationEnabled(bool, ExceptionCode&);
104 void setUsesOverlayScrollbars(bool, ExceptionCode&); 102 void setUsesOverlayScrollbars(bool, ExceptionCode&);
105 103
106 void setShouldDisplayTrackKind(const String& kind, bool, ExceptionCode&); 104 void setShouldDisplayTrackKind(const String& kind, bool, ExceptionCode&);
107 bool shouldDisplayTrackKind(const String& kind, ExceptionCode&); 105 bool shouldDisplayTrackKind(const String& kind, ExceptionCode&);
108 106
109 // cssVariablesEnabled is not backed by RuntimeEnabledFeatures, but should b e. 107 // cssVariablesEnabled is not backed by RuntimeEnabledFeatures, but should b e.
(...skipping 18 matching lines...) Expand all
128 Page* page() const { return m_page; } 126 Page* page() const { return m_page; }
129 static const char* supplementName(); 127 static const char* supplementName();
130 128
131 Page* m_page; 129 Page* m_page;
132 Backup m_backup; 130 Backup m_backup;
133 }; 131 };
134 132
135 } // namespace WebCore 133 } // namespace WebCore
136 134
137 #endif 135 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698