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

Unified Diff: third_party/WebKit/Source/platform/UserGestureIndicator.cpp

Issue 2388303002: reflow comments in platform/ (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/platform/UserGestureIndicator.cpp
diff --git a/third_party/WebKit/Source/platform/UserGestureIndicator.cpp b/third_party/WebKit/Source/platform/UserGestureIndicator.cpp
index d48d69e3fad4cc6a05decdb3d5e3fa21ef4dd1aa..44106f2f820caf1fa01074ae1339b9771ff659ab 100644
--- a/third_party/WebKit/Source/platform/UserGestureIndicator.cpp
+++ b/third_party/WebKit/Source/platform/UserGestureIndicator.cpp
@@ -49,7 +49,8 @@ class GestureToken final : public UserGestureToken {
~GestureToken() final {}
bool hasGestures() const override {
- // Do not enforce timeouts for gestures which spawned javascript prompts or debugger pause.
+ // Do not enforce timeouts for gestures which spawned javascript prompts or
+ // debugger pause.
if (m_consumableGestures < 1 ||
(!m_javascriptPrompt && !m_pauseInDebugger &&
hasTimedOut(m_outOfProcess ? userGestureOutOfProcessTimeout
@@ -135,7 +136,8 @@ UserGestureIndicator::UserGestureIndicator(
m_previousState = s_state;
- // We overwrite s_state only if the caller is definite about the gesture state.
+ // We overwrite s_state only if the caller is definite about the gesture
+ // state.
if (isDefinite(state)) {
if (!s_topmostIndicator) {
s_topmostIndicator = this;
« no previous file with comments | « third_party/WebKit/Source/platform/UserGestureIndicator.h ('k') | third_party/WebKit/Source/platform/WebIconSizesParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698