Chromium Code Reviews| Index: content/public/common/renderer_preferences.h |
| diff --git a/content/public/common/renderer_preferences.h b/content/public/common/renderer_preferences.h |
| index 7735ca3d3277fdb93d2e4f5ab9fc469ba0ac692c..adb0d2bc5c193859921908cd2b3da3cd3a2bcb52 100644 |
| --- a/content/public/common/renderer_preferences.h |
| +++ b/content/public/common/renderer_preferences.h |
| @@ -37,6 +37,13 @@ enum RendererPreferencesSubpixelRenderingEnum { |
| RENDERER_PREFERENCES_SUBPIXEL_RENDERING_VBGR, |
| }; |
| +enum DidTapMultipleTargetsStrategy { |
| + MULTITARGET_ZOOM = 0, |
|
jam
2013/07/30 16:12:40
nit: use content api convention for enums value na
|
| + MULTITARGET_POPUP, |
| + |
| + MULTITARGET_MAX = MULTITARGET_POPUP, |
| +}; |
| + |
| struct CONTENT_EXPORT RendererPreferences { |
| RendererPreferences(); |
| ~RendererPreferences(); |
| @@ -126,6 +133,9 @@ struct CONTENT_EXPORT RendererPreferences { |
| // Controls deacceleration of touchscreen-initiated flings. |
| std::vector<float> touchscreen_fling_profile; |
| + |
| + // How to handle a tap gesture touching multiple targets |
| + DidTapMultipleTargetsStrategy did_tap_multiple_targets_strategy; |
| }; |
| } // namespace content |