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

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: remove setting of spellcheck default in render_view_impl Created 4 years, 2 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 | « third_party/WebKit/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 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 virtual void setShrinksViewportContentToFit(bool) = 0; 231 virtual void setShrinksViewportContentToFit(bool) = 0;
232 virtual void setSmartInsertDeleteEnabled(bool) = 0; 232 virtual void setSmartInsertDeleteEnabled(bool) = 0;
233 // Spatial navigation feature, when enabled, improves the experience 233 // Spatial navigation feature, when enabled, improves the experience
234 // of keyboard-controlling the web pages which originally were not designed 234 // of keyboard-controlling the web pages which originally were not designed
235 // for keyboard navigation. It allows to use arrow keys to move focus betwee n 235 // for keyboard navigation. It allows to use arrow keys to move focus betwee n
236 // the adjacent HTML elements. As a side effect, it extends the criteria for 236 // the adjacent HTML elements. As a side effect, it extends the criteria for
237 // elements to be focusable to include any element which has click or keyboa rd 237 // elements to be focusable to include any element which has click or keyboa rd
238 // event handlers specified. User can also trigger click handlers for such 238 // event handlers specified. User can also trigger click handlers for such
239 // elements using SPACE or ENTER keys. 239 // elements using SPACE or ENTER keys.
240 virtual void setSpatialNavigationEnabled(bool) = 0; 240 virtual void setSpatialNavigationEnabled(bool) = 0;
241 virtual void setSpellCheckEnabledByDefault(bool) = 0;
241 virtual void setStandardFontFamily(const WebString&, UScriptCode = USCRIPT_C OMMON) = 0; 242 virtual void setStandardFontFamily(const WebString&, UScriptCode = USCRIPT_C OMMON) = 0;
242 virtual void setStrictMixedContentChecking(bool) = 0; 243 virtual void setStrictMixedContentChecking(bool) = 0;
243 virtual void setStrictMixedContentCheckingForPlugin(bool) = 0; 244 virtual void setStrictMixedContentCheckingForPlugin(bool) = 0;
244 virtual void setStrictPowerfulFeatureRestrictions(bool) = 0; 245 virtual void setStrictPowerfulFeatureRestrictions(bool) = 0;
245 virtual void setStrictlyBlockBlockableMixedContent(bool) = 0; 246 virtual void setStrictlyBlockBlockableMixedContent(bool) = 0;
246 virtual void setSupportDeprecatedTargetDensityDPI(bool) = 0; 247 virtual void setSupportDeprecatedTargetDensityDPI(bool) = 0;
247 virtual void setSupportsMultipleWindows(bool) = 0; 248 virtual void setSupportsMultipleWindows(bool) = 0;
248 virtual void setSyncXHRInDocumentsEnabled(bool) = 0; 249 virtual void setSyncXHRInDocumentsEnabled(bool) = 0;
249 virtual void setTextAreasAreResizable(bool) = 0; 250 virtual void setTextAreasAreResizable(bool) = 0;
250 virtual void setTextAutosizingEnabled(bool) = 0; 251 virtual void setTextAutosizingEnabled(bool) = 0;
(...skipping 27 matching lines...) Expand all
278 virtual void setWideViewportQuirkEnabled(bool) = 0; 279 virtual void setWideViewportQuirkEnabled(bool) = 0;
279 virtual void setXSSAuditorEnabled(bool) = 0; 280 virtual void setXSSAuditorEnabled(bool) = 0;
280 281
281 protected: 282 protected:
282 ~WebSettings() { } 283 ~WebSettings() { }
283 }; 284 };
284 285
285 } // namespace blink 286 } // namespace blink
286 287
287 #endif 288 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebSettingsImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698