OLD | NEW |
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 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 setStrictPowerfulFeatureRestrictions(bool) = 0; | 239 virtual void setStrictPowerfulFeatureRestrictions(bool) = 0; |
| 240 virtual void setStrictlyBlockBlockableMixedContent(bool) = 0; |
240 virtual void setSupportDeprecatedTargetDensityDPI(bool) = 0; | 241 virtual void setSupportDeprecatedTargetDensityDPI(bool) = 0; |
241 virtual void setSupportsMultipleWindows(bool) = 0; | 242 virtual void setSupportsMultipleWindows(bool) = 0; |
242 virtual void setSyncXHRInDocumentsEnabled(bool) = 0; | 243 virtual void setSyncXHRInDocumentsEnabled(bool) = 0; |
243 virtual void setTextAreasAreResizable(bool) = 0; | 244 virtual void setTextAreasAreResizable(bool) = 0; |
244 virtual void setTextAutosizingEnabled(bool) = 0; | 245 virtual void setTextAutosizingEnabled(bool) = 0; |
245 virtual void setAccessibilityFontScaleFactor(float) = 0; | 246 virtual void setAccessibilityFontScaleFactor(float) = 0; |
246 virtual void setTextTrackKindUserPreference(TextTrackKindUserPreference) = 0
; | 247 virtual void setTextTrackKindUserPreference(TextTrackKindUserPreference) = 0
; |
247 virtual void setTextTrackBackgroundColor(const WebString&) = 0; | 248 virtual void setTextTrackBackgroundColor(const WebString&) = 0; |
248 virtual void setTextTrackFontFamily(const WebString&) = 0; | 249 virtual void setTextTrackFontFamily(const WebString&) = 0; |
249 virtual void setTextTrackFontStyle(const WebString&) = 0; | 250 virtual void setTextTrackFontStyle(const WebString&) = 0; |
(...skipping 25 matching lines...) Expand all Loading... |
275 virtual void setWideViewportQuirkEnabled(bool) = 0; | 276 virtual void setWideViewportQuirkEnabled(bool) = 0; |
276 virtual void setXSSAuditorEnabled(bool) = 0; | 277 virtual void setXSSAuditorEnabled(bool) = 0; |
277 | 278 |
278 protected: | 279 protected: |
279 ~WebSettings() { } | 280 ~WebSettings() { } |
280 }; | 281 }; |
281 | 282 |
282 } // namespace blink | 283 } // namespace blink |
283 | 284 |
284 #endif | 285 #endif |
OLD | NEW |