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

Side by Side Diff: third_party/WebKit/public/platform/WebInputEventResult.h

Issue 1463823003: Return a enumeration of the state of handling of InputEvents. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add 4th result type Created 5 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 unified diff | Download patch
« no previous file with comments | « third_party/WebKit/public/blink_headers.gypi ('k') | third_party/WebKit/public/web/WebPlugin.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef WebInputEventResult_h
6 #define WebInputEventResult_h
7
8 namespace blink {
9
10 enum class WebInputEventResult {
11 // Event was not consumed by application or system.
12 NotHandled,
dtapuska 2015/11/24 22:10:24 I was going to put NotHandled at the end of this l
13 // Event was consumed but suppressed before dispatched to application.
14 HandledSuppressed,
15 // Event was consumed by application itself; ie. a script handler calling pr eventDefault.
16 HandledApplication,
17 // Event was consumed by the system; ie. executing the default action.
18 HandledSystem,
19 };
20
21 } // namespace blink
22
23 #endif // WebInputEventResult_h
OLDNEW
« no previous file with comments | « third_party/WebKit/public/blink_headers.gypi ('k') | third_party/WebKit/public/web/WebPlugin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698