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

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

Issue 2316303006: Make default spellchecking behavior in html elements configurable via WebSettings. (Closed)
Patch Set: make it configurable via settings Created 4 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 unified diff | Download patch
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 virtual void setShrinksViewportContentToFit(bool) = 0; 229 virtual void setShrinksViewportContentToFit(bool) = 0;
230 virtual void setSmartInsertDeleteEnabled(bool) = 0; 230 virtual void setSmartInsertDeleteEnabled(bool) = 0;
231 // Spatial navigation feature, when enabled, improves the experience 231 // Spatial navigation feature, when enabled, improves the experience
232 // of keyboard-controlling the web pages which originally were not designed 232 // of keyboard-controlling the web pages which originally were not designed
233 // for keyboard navigation. It allows to use arrow keys to move focus betwee n 233 // for keyboard navigation. It allows to use arrow keys to move focus betwee n
234 // the adjacent HTML elements. As a side effect, it extends the criteria for 234 // the adjacent HTML elements. As a side effect, it extends the criteria for
235 // elements to be focusable to include any element which has click or keyboa rd 235 // elements to be focusable to include any element which has click or keyboa rd
236 // event handlers specified. User can also trigger click handlers for such 236 // event handlers specified. User can also trigger click handlers for such
237 // elements using SPACE or ENTER keys. 237 // elements using SPACE or ENTER keys.
238 virtual void setSpatialNavigationEnabled(bool) = 0; 238 virtual void setSpatialNavigationEnabled(bool) = 0;
239 virtual void setSpellCheckEnabledByDefault(bool) = 0;
239 virtual void setStandardFontFamily(const WebString&, UScriptCode = USCRIPT_C OMMON) = 0; 240 virtual void setStandardFontFamily(const WebString&, UScriptCode = USCRIPT_C OMMON) = 0;
240 virtual void setStrictMixedContentChecking(bool) = 0; 241 virtual void setStrictMixedContentChecking(bool) = 0;
241 virtual void setStrictMixedContentCheckingForPlugin(bool) = 0; 242 virtual void setStrictMixedContentCheckingForPlugin(bool) = 0;
242 virtual void setStrictPowerfulFeatureRestrictions(bool) = 0; 243 virtual void setStrictPowerfulFeatureRestrictions(bool) = 0;
243 virtual void setStrictlyBlockBlockableMixedContent(bool) = 0; 244 virtual void setStrictlyBlockBlockableMixedContent(bool) = 0;
244 virtual void setSupportDeprecatedTargetDensityDPI(bool) = 0; 245 virtual void setSupportDeprecatedTargetDensityDPI(bool) = 0;
245 virtual void setSupportsMultipleWindows(bool) = 0; 246 virtual void setSupportsMultipleWindows(bool) = 0;
246 virtual void setSyncXHRInDocumentsEnabled(bool) = 0; 247 virtual void setSyncXHRInDocumentsEnabled(bool) = 0;
247 virtual void setTextAreasAreResizable(bool) = 0; 248 virtual void setTextAreasAreResizable(bool) = 0;
248 virtual void setTextAutosizingEnabled(bool) = 0; 249 virtual void setTextAutosizingEnabled(bool) = 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

Powered by Google App Engine
This is Rietveld 408576698