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

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

Issue 2618063002: Send Mouse Leave events all the time when we get a ET_MOUSE_EXITED (Closed)
Patch Set: Fix test failure on linux 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
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 { 14 const base::Feature kSendMouseLeaveEvents{"SendMouseLeaveEvents",
15 "SendMouseLeaveEvents", 15 base::FEATURE_ENABLED_BY_DEFAULT};
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 };
24 } 16 }
OLDNEW
« ui/events/blink/blink_features.h ('K') | « ui/events/blink/blink_features.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698