Index: content/common/input/input_event_state.h |
diff --git a/content/common/input/input_event_state.h b/content/common/input/input_event_state.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ba285ac973e07d318c56c9e1207a428756633da3 |
--- /dev/null |
+++ b/content/common/input/input_event_state.h |
@@ -0,0 +1,29 @@ |
+// Copyright (c) 2013 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CONTENT_COMMON_INPUT_INPUT_EVENT_STATE_H_ |
+#define CONTENT_COMMON_INPUT_INPUT_EVENT_STATE_H_ |
+ |
+namespace content { |
+ |
+// State of input events as they are handled and passed between the browser and |
+// renderer. |
+enum InputEventState { |
nduca
2013/08/15 01:22:46
InputEventDisposition or InputEventHandlingResult?
jdduke (slow)
2013/08/15 15:23:45
Hmm... Disposition sounds good.
|
+ INPUT_EVENT_UNHANDLED, |
+ |
+ INPUT_EVENT_IMPL_THREAD_ABSORBED, |
+ INPUT_EVENT_IMPL_THREAD_NO_CONSUMER_EXISTS, |
+ INPUT_EVENT_IMPL_THREAD_BOUNCE_TO_MAIN, |
+ INPUT_EVENT_IMPL_THREAD_COULD_NOT_DELIVER, |
+ |
+ INPUT_EVENT_MAIN_THREAD_ABSORBED, |
+ INPUT_EVENT_MAIN_THREAD_PREVENT_DEFAULTED, |
+ INPUT_EVENT_MAIN_THREAD_NOT_PREVENT_DEFAULTED, |
+ INPUT_EVENT_MAIN_THREAD_NO_HANDLER_EXISTS, |
+ INPUT_EVENT_MAIN_THREAD_COULD_NOT_DELIVER, |
+}; |
+ |
+} // namespace content |
+ |
+#endif // CONTENT_COMMON_INPUT_INPUT_EVENT_STATE_H_ |