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

Side by Side Diff: content/public/common/renderer_preferences.h

Issue 23453011: [Android WebView] Disable disambiguation popups (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update TAP_MULTIPLE_TARGETS_STRATEGY_MAX Created 7 years, 3 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // A struct for managing browser's settings that apply to the renderer or its 5 // A struct for managing browser's settings that apply to the renderer or its
6 // webview. These differ from WebPreferences since they apply to Chromium's 6 // webview. These differ from WebPreferences since they apply to Chromium's
7 // glue layer rather than applying to just WebKit. 7 // glue layer rather than applying to just WebKit.
8 // 8 //
9 // Adding new values to this class probably involves updating 9 // Adding new values to this class probably involves updating
10 // common/view_messages.h, browser/browser.cc, etc. 10 // common/view_messages.h, browser/browser.cc, etc.
(...skipping 22 matching lines...) Expand all
33 RENDERER_PREFERENCES_SUBPIXEL_RENDERING_NONE, 33 RENDERER_PREFERENCES_SUBPIXEL_RENDERING_NONE,
34 RENDERER_PREFERENCES_SUBPIXEL_RENDERING_RGB, 34 RENDERER_PREFERENCES_SUBPIXEL_RENDERING_RGB,
35 RENDERER_PREFERENCES_SUBPIXEL_RENDERING_BGR, 35 RENDERER_PREFERENCES_SUBPIXEL_RENDERING_BGR,
36 RENDERER_PREFERENCES_SUBPIXEL_RENDERING_VRGB, 36 RENDERER_PREFERENCES_SUBPIXEL_RENDERING_VRGB,
37 RENDERER_PREFERENCES_SUBPIXEL_RENDERING_VBGR, 37 RENDERER_PREFERENCES_SUBPIXEL_RENDERING_VBGR,
38 }; 38 };
39 39
40 enum TapMultipleTargetsStrategy { 40 enum TapMultipleTargetsStrategy {
41 TAP_MULTIPLE_TARGETS_STRATEGY_ZOOM = 0, 41 TAP_MULTIPLE_TARGETS_STRATEGY_ZOOM = 0,
42 TAP_MULTIPLE_TARGETS_STRATEGY_POPUP, 42 TAP_MULTIPLE_TARGETS_STRATEGY_POPUP,
43 TAP_MULTIPLE_TARGETS_STRATEGY_NONE,
43 44
44 TAP_MULTIPLE_TARGETS_STRATEGY_MAX = TAP_MULTIPLE_TARGETS_STRATEGY_POPUP, 45 TAP_MULTIPLE_TARGETS_STRATEGY_MAX = TAP_MULTIPLE_TARGETS_STRATEGY_NONE,
45 }; 46 };
46 47
47 struct CONTENT_EXPORT RendererPreferences { 48 struct CONTENT_EXPORT RendererPreferences {
48 RendererPreferences(); 49 RendererPreferences();
49 ~RendererPreferences(); 50 ~RendererPreferences();
50 51
51 // Whether the renderer's current browser context accept drops from the OS 52 // Whether the renderer's current browser context accept drops from the OS
52 // that result in navigations away from the current page. 53 // that result in navigations away from the current page.
53 bool can_accept_load_drops; 54 bool can_accept_load_drops;
54 55
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 // Controls deacceleration of touchscreen-initiated flings. 135 // Controls deacceleration of touchscreen-initiated flings.
135 std::vector<float> touchscreen_fling_profile; 136 std::vector<float> touchscreen_fling_profile;
136 137
137 // How to handle a tap gesture touching multiple targets 138 // How to handle a tap gesture touching multiple targets
138 TapMultipleTargetsStrategy tap_multiple_targets_strategy; 139 TapMultipleTargetsStrategy tap_multiple_targets_strategy;
139 }; 140 };
140 141
141 } // namespace content 142 } // namespace content
142 143
143 #endif // CONTENT_PUBLIC_COMMON_RENDERER_PREFERENCES_H_ 144 #endif // CONTENT_PUBLIC_COMMON_RENDERER_PREFERENCES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698