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

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

Issue 19256012: Allow zoom-in as alternative to popup when tapping multiple targets. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 4 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
« no previous file with comments | « content/public/common/renderer_preferences.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "content/public/common/renderer_preferences.h" 5 #include "content/public/common/renderer_preferences.h"
6 6
7 #include "third_party/skia/include/core/SkColor.h" 7 #include "third_party/skia/include/core/SkColor.h"
8 8
9 namespace { 9 namespace {
10 // The touchpad / touchscreen fling profiles are a matched set 10 // The touchpad / touchscreen fling profiles are a matched set
(...skipping 26 matching lines...) Expand all
37 inactive_selection_fg_color(SkColorSetRGB(50, 50, 50)), 37 inactive_selection_fg_color(SkColorSetRGB(50, 50, 50)),
38 browser_handles_non_local_top_level_requests(false), 38 browser_handles_non_local_top_level_requests(false),
39 browser_handles_all_top_level_requests(false), 39 browser_handles_all_top_level_requests(false),
40 caret_blink_interval(0.5), 40 caret_blink_interval(0.5),
41 use_custom_colors(true), 41 use_custom_colors(true),
42 enable_referrers(true), 42 enable_referrers(true),
43 enable_do_not_track(false), 43 enable_do_not_track(false),
44 default_zoom_level(0), 44 default_zoom_level(0),
45 report_frame_name_changes(false), 45 report_frame_name_changes(false),
46 touchpad_fling_profile(3), 46 touchpad_fling_profile(3),
47 touchscreen_fling_profile(3) { 47 touchscreen_fling_profile(3),
48 tap_multiple_targets_strategy(TAP_MULTIPLE_TARGETS_STRATEGY_POPUP) {
48 touchpad_fling_profile[0] = kDefaultAlpha; 49 touchpad_fling_profile[0] = kDefaultAlpha;
49 touchpad_fling_profile[1] = kDefaultBeta; 50 touchpad_fling_profile[1] = kDefaultBeta;
50 touchpad_fling_profile[2] = kDefaultGamma; 51 touchpad_fling_profile[2] = kDefaultGamma;
51 touchscreen_fling_profile = touchpad_fling_profile; 52 touchscreen_fling_profile = touchpad_fling_profile;
52 } 53 }
53 54
54 RendererPreferences::~RendererPreferences() { } 55 RendererPreferences::~RendererPreferences() { }
55 56
56 } // namespace content 57 } // namespace content
OLDNEW
« no previous file with comments | « content/public/common/renderer_preferences.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698