Set whether context menu appears on mouse up from WebPreferences
commit9880491900bb5568e0ec7d152f914ce20f875462
authorarjanl <arjanl@opera.com>
Wed, 4 Mar 2015 09:23:04 +0000 (4 01:23 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 4 Mar 2015 09:23:31 +0000 (4 09:23 +0000)
tree2bb2c095ca9856f8cd105061d0771a15f3cd97df
parente8c5cdc06121a4435816d626e5490fd8f5e9e9b3
Set whether context menu appears on mouse up from WebPreferences

Whether the context menu appears on mouse up can depend on run-time
settings (in the case of Opera). This reads the setting to
WebPreferences, so that the browser has the possibility of
communicating the appropriate setting to the renderer. If not
explicitly set, it defaults, as before, to 'true' on Windows and
'false' on other platforms.

BUG=

Review URL: https://codereview.chromium.org/819293002

Cr-Commit-Position: refs/heads/master@{#319040}
content/public/common/common_param_traits_macros.h
content/public/common/web_preferences.cc
content/public/common/web_preferences.h
content/renderer/render_view_impl.cc