| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |