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

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

Issue 16959002: Spatial navigation enhancements (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added null checks for document()->settings() Created 7 years, 6 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/core/html/HTMLElement.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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 virtual void setSelectTrailingWhitespaceEnabled(bool) = 0; 141 virtual void setSelectTrailingWhitespaceEnabled(bool) = 0;
142 virtual void setSelectionIncludesAltImageText(bool) = 0; 142 virtual void setSelectionIncludesAltImageText(bool) = 0;
143 virtual void setSerifFontFamily(const WebString&, UScriptCode = USCRIPT_COMM ON) = 0; 143 virtual void setSerifFontFamily(const WebString&, UScriptCode = USCRIPT_COMM ON) = 0;
144 virtual void setShouldPrintBackgrounds(bool) = 0; 144 virtual void setShouldPrintBackgrounds(bool) = 0;
145 virtual void setShouldRespectImageOrientation(bool) = 0; 145 virtual void setShouldRespectImageOrientation(bool) = 0;
146 virtual void setShowDebugBorders(bool) = 0; 146 virtual void setShowDebugBorders(bool) = 0;
147 virtual void setShowFPSCounter(bool) = 0; 147 virtual void setShowFPSCounter(bool) = 0;
148 virtual void setShowPaintRects(bool) = 0; 148 virtual void setShowPaintRects(bool) = 0;
149 virtual void setShrinksStandaloneImagesToFit(bool) = 0; 149 virtual void setShrinksStandaloneImagesToFit(bool) = 0;
150 virtual void setSmartInsertDeleteEnabled(bool) = 0; 150 virtual void setSmartInsertDeleteEnabled(bool) = 0;
151 // Spatial navigation feature, when enabled, improves the experience
152 // of keyboard-controlling the web pages which originally were not designed
153 // for keyboard navigation. It allows to use arrow keys to move focus betwee n
154 // the adjacent HTML elements. As a side effect, it extends the criteria for
155 // elements to be focusable to include any element which has click or keyboa rd
156 // event handlers specified. User can also trigger click handlers for such
157 // elements using SPACE or ENTER keys.
151 virtual void setSpatialNavigationEnabled(bool) = 0; 158 virtual void setSpatialNavigationEnabled(bool) = 0;
152 virtual void setStandardFontFamily(const WebString&, UScriptCode = USCRIPT_C OMMON) = 0; 159 virtual void setStandardFontFamily(const WebString&, UScriptCode = USCRIPT_C OMMON) = 0;
153 virtual void setSupportDeprecatedTargetDensityDPI(bool) = 0; 160 virtual void setSupportDeprecatedTargetDensityDPI(bool) = 0;
154 virtual void setSupportsMultipleWindows(bool) = 0; 161 virtual void setSupportsMultipleWindows(bool) = 0;
155 virtual void setSyncXHRInDocumentsEnabled(bool) = 0; 162 virtual void setSyncXHRInDocumentsEnabled(bool) = 0;
156 virtual void setTextAreasAreResizable(bool) = 0; 163 virtual void setTextAreasAreResizable(bool) = 0;
157 virtual void setTextAutosizingEnabled(bool) = 0; 164 virtual void setTextAutosizingEnabled(bool) = 0;
158 virtual void setTextAutosizingFontScaleFactor(float) = 0; 165 virtual void setTextAutosizingFontScaleFactor(float) = 0;
159 virtual void setTextDirectionSubmenuInclusionBehaviorNeverIncluded() { } // FIXME: Remove once its caller is gone from Chromium 166 virtual void setTextDirectionSubmenuInclusionBehaviorNeverIncluded() { } // FIXME: Remove once its caller is gone from Chromium
160 virtual void setThreadedHTMLParser(bool) = 0; 167 virtual void setThreadedHTMLParser(bool) = 0;
(...skipping 18 matching lines...) Expand all
179 void setFixedElementsLayoutRelativeToFrame(bool) { } 186 void setFixedElementsLayoutRelativeToFrame(bool) { }
180 void setInitializeAtMinimumPageScale(bool enabled) { setLoadWithOverviewMode (enabled); } 187 void setInitializeAtMinimumPageScale(bool enabled) { setLoadWithOverviewMode (enabled); }
181 188
182 protected: 189 protected:
183 ~WebSettings() { } 190 ~WebSettings() { }
184 }; 191 };
185 192
186 } // namespace WebKit 193 } // namespace WebKit
187 194
188 #endif 195 #endif
OLDNEW
« no previous file with comments | « Source/core/html/HTMLElement.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698