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

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

Issue 775553002: Add a setting to determine whether showing context menu on mouse up. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: add a comment Created 6 years 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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 virtual void setReportScreenSizeInPhysicalPixelsQuirk(bool) = 0; 199 virtual void setReportScreenSizeInPhysicalPixelsQuirk(bool) = 0;
200 virtual void setRootLayerScrolls(bool) = 0; 200 virtual void setRootLayerScrolls(bool) = 0;
201 virtual void setRubberBandingOnCompositorThread(bool) = 0; 201 virtual void setRubberBandingOnCompositorThread(bool) = 0;
202 virtual void setSansSerifFontFamily(const WebString&, UScriptCode = USCRIPT_ COMMON) = 0; 202 virtual void setSansSerifFontFamily(const WebString&, UScriptCode = USCRIPT_ COMMON) = 0;
203 virtual void setSelectTrailingWhitespaceEnabled(bool) = 0; 203 virtual void setSelectTrailingWhitespaceEnabled(bool) = 0;
204 virtual void setSelectionIncludesAltImageText(bool) = 0; 204 virtual void setSelectionIncludesAltImageText(bool) = 0;
205 virtual void setSerifFontFamily(const WebString&, UScriptCode = USCRIPT_COMM ON) = 0; 205 virtual void setSerifFontFamily(const WebString&, UScriptCode = USCRIPT_COMM ON) = 0;
206 virtual void setShouldPrintBackgrounds(bool) = 0; 206 virtual void setShouldPrintBackgrounds(bool) = 0;
207 virtual void setShouldClearDocumentBackground(bool) = 0; 207 virtual void setShouldClearDocumentBackground(bool) = 0;
208 virtual void setShouldRespectImageOrientation(bool) = 0; 208 virtual void setShouldRespectImageOrientation(bool) = 0;
209 virtual void setShowContextMenuOnMouseUp(bool) = 0;
209 virtual void setShowFPSCounter(bool) = 0; 210 virtual void setShowFPSCounter(bool) = 0;
210 virtual void setShowPaintRects(bool) = 0; 211 virtual void setShowPaintRects(bool) = 0;
211 virtual void setShrinksStandaloneImagesToFit(bool) = 0; 212 virtual void setShrinksStandaloneImagesToFit(bool) = 0;
212 virtual void setShrinksViewportContentToFit(bool) = 0; 213 virtual void setShrinksViewportContentToFit(bool) = 0;
213 virtual void setSmartInsertDeleteEnabled(bool) = 0; 214 virtual void setSmartInsertDeleteEnabled(bool) = 0;
214 // Spatial navigation feature, when enabled, improves the experience 215 // Spatial navigation feature, when enabled, improves the experience
215 // of keyboard-controlling the web pages which originally were not designed 216 // of keyboard-controlling the web pages which originally were not designed
216 // for keyboard navigation. It allows to use arrow keys to move focus betwee n 217 // for keyboard navigation. It allows to use arrow keys to move focus betwee n
217 // the adjacent HTML elements. As a side effect, it extends the criteria for 218 // the adjacent HTML elements. As a side effect, it extends the criteria for
218 // elements to be focusable to include any element which has click or keyboa rd 219 // elements to be focusable to include any element which has click or keyboa rd
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 virtual void setWideViewportQuirkEnabled(bool) = 0; 252 virtual void setWideViewportQuirkEnabled(bool) = 0;
252 virtual void setXSSAuditorEnabled(bool) = 0; 253 virtual void setXSSAuditorEnabled(bool) = 0;
253 254
254 protected: 255 protected:
255 ~WebSettings() { } 256 ~WebSettings() { }
256 }; 257 };
257 258
258 } // namespace blink 259 } // namespace blink
259 260
260 #endif 261 #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