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

Side by Side Diff: content/common/input/input_event_dispatch_type.h

Issue 2813683002: Allow MainThreadEventQueue to call the RenderWidget directly. (Closed)
Patch Set: Fix style nits Created 3 years, 8 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 | « no previous file | content/renderer/idle_user_detector.h » ('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 #ifndef CONTENT_COMMON_INPUT_INPUT_EVENT_DISPATCH_TYPE_H_ 5 #ifndef CONTENT_COMMON_INPUT_INPUT_EVENT_DISPATCH_TYPE_H_
6 #define CONTENT_COMMON_INPUT_INPUT_EVENT_DISPATCH_TYPE_H_ 6 #define CONTENT_COMMON_INPUT_INPUT_EVENT_DISPATCH_TYPE_H_
7 7
8 namespace content { 8 namespace content {
9 9
10 enum InputEventDispatchType { 10 enum InputEventDispatchType {
11 // Dispatch a blocking event. Sender is waiting on an ACK. 11 // Dispatch a blocking event. Sender is waiting on an ACK.
12 DISPATCH_TYPE_BLOCKING, 12 DISPATCH_TYPE_BLOCKING,
13 // Dispatch a blocking event and notify main thread as well. This type
14 // should only be sent from the compositor to main thread.
15 DISPATCH_TYPE_BLOCKING_NOTIFY_MAIN,
16 // Dispatch a non-blocking event. Sender will not receive an ACK. 13 // Dispatch a non-blocking event. Sender will not receive an ACK.
17 DISPATCH_TYPE_NON_BLOCKING, 14 DISPATCH_TYPE_NON_BLOCKING,
18 // Dispatch a non-blocking event and notify main thread as well. This type 15 DISPATCH_TYPE_MAX = DISPATCH_TYPE_NON_BLOCKING
19 // should only be sent from the compositor to main thread.
20 DISPATCH_TYPE_NON_BLOCKING_NOTIFY_MAIN,
21 DISPATCH_TYPE_MAX = DISPATCH_TYPE_NON_BLOCKING_NOTIFY_MAIN
22 }; 16 };
23 17
24 } // namespace content 18 } // namespace content
25 19
26 #endif // CONTENT_COMMON_INPUT_INPUT_EVENT_DISPATCH_TYPE_H_ 20 #endif // CONTENT_COMMON_INPUT_INPUT_EVENT_DISPATCH_TYPE_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/idle_user_detector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698