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

Unified Diff: ui/views/corewm/compound_event_filter.cc

Issue 137183003: Merge 234741 "Gets mouse pointer to show again when existing ful..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1700_72/src/
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/corewm/compound_event_filter.cc
===================================================================
--- ui/views/corewm/compound_event_filter.cc (revision 244577)
+++ ui/views/corewm/compound_event_filter.cc (working copy)
@@ -185,7 +185,6 @@
void CompoundEventFilter::SetCursorVisibilityOnEvent(aura::Window* target,
ui::Event* event,
bool show) {
- DCHECK(ShouldHideCursorOnTouch());
if (event->flags() & ui::EF_IS_SYNTHESIZED)
return;
@@ -254,10 +253,8 @@
event->type() == ui::ET_MOUSE_MOVED ||
event->type() == ui::ET_MOUSE_PRESSED ||
event->type() == ui::ET_MOUSEWHEEL) {
- if (ShouldHideCursorOnTouch()) {
- SetMouseEventsEnableStateOnEvent(window, event, true);
- SetCursorVisibilityOnEvent(window, event, true);
- }
+ SetMouseEventsEnableStateOnEvent(window, event, true);
+ SetCursorVisibilityOnEvent(window, event, true);
UpdateCursor(window, event);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698