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

Unified Diff: third_party/WebKit/public/platform/WebInputEvent.h

Issue 2378283006: Add a clang-format exception to WebInputEvent::Modifiers. (Closed)
Patch Set: Created 4 years, 3 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: third_party/WebKit/public/platform/WebInputEvent.h
diff --git a/third_party/WebKit/public/platform/WebInputEvent.h b/third_party/WebKit/public/platform/WebInputEvent.h
index d3e792d8134b64e4c8aaaec3e186ea742ca2a88b..92a3245621baec8f751b5cd8955cf10cff9ec8a4 100644
--- a/third_party/WebKit/public/platform/WebInputEvent.h
+++ b/third_party/WebKit/public/platform/WebInputEvent.h
@@ -193,8 +193,11 @@ class WebInputEvent {
// IsRight, IsComposing don't change the meaning of the key
// being pressed. NumLockOn, ScrollLockOn, CapsLockOn are stateful
// and don't indicate explicit depressed state.
- KeyModifiers =
- SymbolKey | FnKey | AltGrKey | MetaKey | AltKey | ControlKey | ShiftKey
+ // TODO(https://crbug.com/652018): Fix Java enum generation to not get
+ // confused by correctly formatted code.
+ // clang-format off
+ KeyModifiers = SymbolKey | FnKey | AltGrKey | MetaKey | AltKey | ControlKey | ShiftKey
+ // clang-format on
};
// Indicates whether the browser needs to block on the ACK result for
« 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