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

Unified Diff: ui/events/event_utils.cc

Issue 108723008: Remove some confusing code from ToplevelWindowEventHandler::HandleMousePressed() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 | « ui/events/event_utils.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/event_utils.cc
diff --git a/ui/events/event_utils.cc b/ui/events/event_utils.cc
index a8c95da6f8ffb475c5782c8a32cad8401731b9d2..8a3ba6699fedc37c674b88f900a9286aedceac50 100644
--- a/ui/events/event_utils.cc
+++ b/ui/events/event_utils.cc
@@ -16,10 +16,6 @@ namespace {
int g_custom_event_types = ET_LAST;
} // namespace
-bool EventCanceledDefaultHandling(const Event& event) {
- return event.phase() == EP_POSTTARGET && event.result() != ER_UNHANDLED;
-}
-
int RegisterCustomEventType() {
return ++g_custom_event_types;
}
« no previous file with comments | « ui/events/event_utils.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698