OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "ui/events/blink/blink_features.h" | 5 #include "ui/events/blink/blink_features.h" |
6 | 6 |
7 namespace features { | 7 namespace features { |
8 | 8 |
9 // Enables VSync aligned input for GestureScroll/Pinch on compositor thread. | 9 // Enables VSync aligned input for GestureScroll/Pinch on compositor thread. |
10 // Tracking: https://crbug.com/625689 | 10 // Tracking: https://crbug.com/625689 |
11 const base::Feature kVsyncAlignedInputEvents{"VsyncAlignedInput", | 11 const base::Feature kVsyncAlignedInputEvents{"VsyncAlignedInput", |
12 base::FEATURE_DISABLED_BY_DEFAULT}; | 12 base::FEATURE_DISABLED_BY_DEFAULT}; |
13 | 13 |
| 14 const base::Feature kSendMouseLeaveEvents { |
| 15 "SendMouseLeaveEvents", |
| 16 // TODO(chaopeng) this fix only for chromeos now, should convert ET_MOUSE_EXITED |
| 17 // to MouseLeave when crbug.com/450631 fixed. |
| 18 #if defined(OS_CHROMEOS) |
| 19 base::FEATURE_ENABLED_BY_DEFAULT |
| 20 #else |
| 21 base::FEATURE_DISABLED_BY_DEFAULT |
| 22 #endif |
| 23 }; |
14 } | 24 } |
OLD | NEW |