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

Side by Side Diff: ui/events/blink/blink_features.cc

Issue 2614163002: Turn MoveLeave event sending into a feature for testing enabling it. (Closed)
Patch Set: Created 3 years, 11 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 | « ui/events/blink/blink_features.h ('k') | ui/events/blink/web_input_event.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 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 }
OLDNEW
« no previous file with comments | « ui/events/blink/blink_features.h ('k') | ui/events/blink/web_input_event.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698