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

Side by Side Diff: Source/web/WebSettingsImpl.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/core/frame/Settings.in ('k') | Source/web/WebSettingsImpl.cpp » ('j') | 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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 virtual void setReportScreenSizeInPhysicalPixelsQuirk(bool) override; 137 virtual void setReportScreenSizeInPhysicalPixelsQuirk(bool) override;
138 virtual void setRootLayerScrolls(bool) override; 138 virtual void setRootLayerScrolls(bool) override;
139 virtual void setRubberBandingOnCompositorThread(bool) override; 139 virtual void setRubberBandingOnCompositorThread(bool) override;
140 virtual void setSansSerifFontFamily(const WebString&, UScriptCode = USCRIPT_ COMMON) override; 140 virtual void setSansSerifFontFamily(const WebString&, UScriptCode = USCRIPT_ COMMON) override;
141 virtual void setSelectTrailingWhitespaceEnabled(bool override); 141 virtual void setSelectTrailingWhitespaceEnabled(bool override);
142 virtual void setSelectionIncludesAltImageText(bool) override; 142 virtual void setSelectionIncludesAltImageText(bool) override;
143 virtual void setSerifFontFamily(const WebString&, UScriptCode = USCRIPT_COMM ON) override; 143 virtual void setSerifFontFamily(const WebString&, UScriptCode = USCRIPT_COMM ON) override;
144 virtual void setShouldPrintBackgrounds(bool) override; 144 virtual void setShouldPrintBackgrounds(bool) override;
145 virtual void setShouldClearDocumentBackground(bool) override; 145 virtual void setShouldClearDocumentBackground(bool) override;
146 virtual void setShouldRespectImageOrientation(bool) override; 146 virtual void setShouldRespectImageOrientation(bool) override;
147 virtual void setShowContextMenuOnMouseUp(bool) override;
147 virtual void setShowFPSCounter(bool) override; 148 virtual void setShowFPSCounter(bool) override;
148 virtual void setShowPaintRects(bool) override; 149 virtual void setShowPaintRects(bool) override;
149 virtual void setShrinksStandaloneImagesToFit(bool) override; 150 virtual void setShrinksStandaloneImagesToFit(bool) override;
150 virtual void setShrinksViewportContentToFit(bool) override; 151 virtual void setShrinksViewportContentToFit(bool) override;
151 virtual void setSmartInsertDeleteEnabled(bool) override; 152 virtual void setSmartInsertDeleteEnabled(bool) override;
152 virtual void setSpatialNavigationEnabled(bool) override; 153 virtual void setSpatialNavigationEnabled(bool) override;
153 virtual void setStandardFontFamily(const WebString&, UScriptCode = USCRIPT_C OMMON) override; 154 virtual void setStandardFontFamily(const WebString&, UScriptCode = USCRIPT_C OMMON) override;
154 virtual void setSupportDeprecatedTargetDensityDPI(bool) override; 155 virtual void setSupportDeprecatedTargetDensityDPI(bool) override;
155 virtual void setSupportsMultipleWindows(bool) override; 156 virtual void setSupportsMultipleWindows(bool) override;
156 virtual void setSyncXHRInDocumentsEnabled(bool) override; 157 virtual void setSyncXHRInDocumentsEnabled(bool) override;
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 // This quirk is to maintain compatibility with Android apps built on 220 // This quirk is to maintain compatibility with Android apps built on
220 // the Android SDK prior to and including version 18. Presumably, this 221 // the Android SDK prior to and including version 18. Presumably, this
221 // can be removed any time after 2015. See http://crbug.com/313754. 222 // can be removed any time after 2015. See http://crbug.com/313754.
222 bool m_clobberUserAgentInitialScaleQuirk; 223 bool m_clobberUserAgentInitialScaleQuirk;
223 bool m_mainFrameResizesAreOrientationChanges; 224 bool m_mainFrameResizesAreOrientationChanges;
224 }; 225 };
225 226
226 } // namespace blink 227 } // namespace blink
227 228
228 #endif 229 #endif
OLDNEW
« no previous file with comments | « Source/core/frame/Settings.in ('k') | Source/web/WebSettingsImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698