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

Side by Side Diff: public/web/WebSettings.h

Issue 1265953002: Appease jschuh@ by adding a setting to move 'plugin' to blockable mixed content. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 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
« no previous file with comments | « Source/web/WebSettingsImpl.cpp ('k') | no next file » | 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 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 // Spatial navigation feature, when enabled, improves the experience 229 // Spatial navigation feature, when enabled, improves the experience
230 // of keyboard-controlling the web pages which originally were not designed 230 // of keyboard-controlling the web pages which originally were not designed
231 // for keyboard navigation. It allows to use arrow keys to move focus betwee n 231 // for keyboard navigation. It allows to use arrow keys to move focus betwee n
232 // the adjacent HTML elements. As a side effect, it extends the criteria for 232 // the adjacent HTML elements. As a side effect, it extends the criteria for
233 // elements to be focusable to include any element which has click or keyboa rd 233 // elements to be focusable to include any element which has click or keyboa rd
234 // event handlers specified. User can also trigger click handlers for such 234 // event handlers specified. User can also trigger click handlers for such
235 // elements using SPACE or ENTER keys. 235 // elements using SPACE or ENTER keys.
236 virtual void setSpatialNavigationEnabled(bool) = 0; 236 virtual void setSpatialNavigationEnabled(bool) = 0;
237 virtual void setStandardFontFamily(const WebString&, UScriptCode = USCRIPT_C OMMON) = 0; 237 virtual void setStandardFontFamily(const WebString&, UScriptCode = USCRIPT_C OMMON) = 0;
238 virtual void setStrictMixedContentChecking(bool) = 0; 238 virtual void setStrictMixedContentChecking(bool) = 0;
239 virtual void setStrictMixedContentCheckingForPlugin(bool) = 0;
239 virtual void setStrictPowerfulFeatureRestrictions(bool) = 0; 240 virtual void setStrictPowerfulFeatureRestrictions(bool) = 0;
240 virtual void setStrictlyBlockBlockableMixedContent(bool) = 0; 241 virtual void setStrictlyBlockBlockableMixedContent(bool) = 0;
241 virtual void setSupportDeprecatedTargetDensityDPI(bool) = 0; 242 virtual void setSupportDeprecatedTargetDensityDPI(bool) = 0;
242 virtual void setSupportsMultipleWindows(bool) = 0; 243 virtual void setSupportsMultipleWindows(bool) = 0;
243 virtual void setSyncXHRInDocumentsEnabled(bool) = 0; 244 virtual void setSyncXHRInDocumentsEnabled(bool) = 0;
244 virtual void setTextAreasAreResizable(bool) = 0; 245 virtual void setTextAreasAreResizable(bool) = 0;
245 virtual void setTextAutosizingEnabled(bool) = 0; 246 virtual void setTextAutosizingEnabled(bool) = 0;
246 virtual void setAccessibilityFontScaleFactor(float) = 0; 247 virtual void setAccessibilityFontScaleFactor(float) = 0;
247 virtual void setTextTrackKindUserPreference(TextTrackKindUserPreference) = 0 ; 248 virtual void setTextTrackKindUserPreference(TextTrackKindUserPreference) = 0 ;
248 virtual void setTextTrackBackgroundColor(const WebString&) = 0; 249 virtual void setTextTrackBackgroundColor(const WebString&) = 0;
(...skipping 27 matching lines...) Expand all
276 virtual void setWideViewportQuirkEnabled(bool) = 0; 277 virtual void setWideViewportQuirkEnabled(bool) = 0;
277 virtual void setXSSAuditorEnabled(bool) = 0; 278 virtual void setXSSAuditorEnabled(bool) = 0;
278 279
279 protected: 280 protected:
280 ~WebSettings() { } 281 ~WebSettings() { }
281 }; 282 };
282 283
283 } // namespace blink 284 } // namespace blink
284 285
285 #endif 286 #endif
OLDNEW
« no previous file with comments | « Source/web/WebSettingsImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698