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

Unified Diff: third_party/WebKit/Source/core/events/UIEventWithKeyState.h

Issue 2394653003: reflow comments in core/events,core/fileapi (Closed)
Patch Set: Created 4 years, 2 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
Index: third_party/WebKit/Source/core/events/UIEventWithKeyState.h
diff --git a/third_party/WebKit/Source/core/events/UIEventWithKeyState.h b/third_party/WebKit/Source/core/events/UIEventWithKeyState.h
index a286ab7a866a723b5ef5bd12fc4d09e27fb3687f..cfb32d95ce004e20a823c5d3f22940f9b9dc6946 100644
--- a/third_party/WebKit/Source/core/events/UIEventWithKeyState.h
+++ b/third_party/WebKit/Source/core/events/UIEventWithKeyState.h
@@ -37,8 +37,11 @@ class CORE_EXPORT UIEventWithKeyState : public UIEvent {
bool altKey() const { return m_modifiers & PlatformEvent::AltKey; }
bool metaKey() const { return m_modifiers & PlatformEvent::MetaKey; }
- // We ignore the new tab modifiers (ctrl or meta, depending on OS) set by JavaScript when processing events.
- // However, scripts running in isolated worlds (aka content scripts) are not subject to this restriction. Since it is possible that an event created by a content script is caught and recreated by the web page's script, we resort to a global flag.
+ // We ignore the new tab modifiers (ctrl or meta, depending on OS) set by
+ // JavaScript when processing events. However, scripts running in isolated
+ // worlds (aka content scripts) are not subject to this restriction. Since it
+ // is possible that an event created by a content script is caught and
+ // recreated by the web page's script, we resort to a global flag.
static bool newTabModifierSetFromIsolatedWorld() {
return s_newTabModifierSetFromIsolatedWorld;
}
« no previous file with comments | « third_party/WebKit/Source/core/events/UIEvent.cpp ('k') | third_party/WebKit/Source/core/events/WheelEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698