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

Side by Side Diff: third_party/WebKit/Source/platform/UserGestureIndicator.cpp

Issue 1627713002: Add more missing closing namespace comments. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase, address comment (also filed llvm.org/PR26290) Created 4 years, 10 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2010 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 { 105 {
106 } 106 }
107 107
108 size_t m_consumableGestures; 108 size_t m_consumableGestures;
109 double m_timestamp; 109 double m_timestamp;
110 bool m_outOfProcess; 110 bool m_outOfProcess;
111 bool m_javascriptPrompt; 111 bool m_javascriptPrompt;
112 bool m_pauseInDebugger; 112 bool m_pauseInDebugger;
113 }; 113 };
114 114
115 } 115 } // namespace
116 116
117 static bool isDefinite(ProcessingUserGestureState state) 117 static bool isDefinite(ProcessingUserGestureState state)
118 { 118 {
119 return state == DefinitelyProcessingNewUserGesture || state == DefinitelyPro cessingUserGesture || state == DefinitelyNotProcessingUserGesture; 119 return state == DefinitelyProcessingNewUserGesture || state == DefinitelyPro cessingUserGesture || state == DefinitelyNotProcessingUserGesture;
120 } 120 }
121 121
122 ProcessingUserGestureState UserGestureIndicator::s_state = DefinitelyNotProcessi ngUserGesture; 122 ProcessingUserGestureState UserGestureIndicator::s_state = DefinitelyNotProcessi ngUserGesture;
123 UserGestureIndicator* UserGestureIndicator::s_topmostIndicator = 0; 123 UserGestureIndicator* UserGestureIndicator::s_topmostIndicator = 0;
124 bool UserGestureIndicator::s_processedUserGestureSinceLoad = false; 124 bool UserGestureIndicator::s_processedUserGestureSinceLoad = false;
125 125
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 s_processedUserGestureSinceLoad = false; 217 s_processedUserGestureSinceLoad = false;
218 } 218 }
219 219
220 bool UserGestureIndicator::processedUserGestureSinceLoad() 220 bool UserGestureIndicator::processedUserGestureSinceLoad()
221 { 221 {
222 if (!isMainThread()) 222 if (!isMainThread())
223 return false; 223 return false;
224 return s_processedUserGestureSinceLoad; 224 return s_processedUserGestureSinceLoad;
225 } 225 }
226 226
227 } 227 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/UserGestureIndicator.h ('k') | third_party/WebKit/Source/platform/WebThreadSupportingGC.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698