Title: [187694] trunk/Source/WebCore
- Revision
- 187694
- Author
- eric.carl...@apple.com
- Date
- 2015-07-31 17:09:23 -0700 (Fri, 31 Jul 2015)
Log Message
[iOS] use a media-specific user gesture check
https://bugs.webkit.org/show_bug.cgi?id=147509
Reviewed by Tim Horton.
Change an enum name added in r187688.
* dom/UserGestureIndicator.cpp:
(WebCore::isDefinite): DefinitelyProcessingMediaUserGesture -> DefinitelyProcessingPotentialUserGesture
(WebCore::UserGestureIndicator::processingUserGestureForMedia): Ditto.
* dom/UserGestureIndicator.h: Ditto.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (187693 => 187694)
--- trunk/Source/WebCore/ChangeLog 2015-08-01 00:00:44 UTC (rev 187693)
+++ trunk/Source/WebCore/ChangeLog 2015-08-01 00:09:23 UTC (rev 187694)
@@ -1,3 +1,17 @@
+2015-07-31 Eric Carlson <eric.carl...@apple.com>
+
+ [iOS] use a media-specific user gesture check
+ https://bugs.webkit.org/show_bug.cgi?id=147509
+
+ Reviewed by Tim Horton.
+
+ Change an enum name added in r187688.
+
+ * dom/UserGestureIndicator.cpp:
+ (WebCore::isDefinite): DefinitelyProcessingMediaUserGesture -> DefinitelyProcessingPotentialUserGesture
+ (WebCore::UserGestureIndicator::processingUserGestureForMedia): Ditto.
+ * dom/UserGestureIndicator.h: Ditto.
+
2015-07-31 Myles C. Maxfield <mmaxfi...@apple.com>
[Cocoa] Latin quotes are used with the system font on Chinese devices
Modified: trunk/Source/WebCore/dom/UserGestureIndicator.cpp (187693 => 187694)
--- trunk/Source/WebCore/dom/UserGestureIndicator.cpp 2015-08-01 00:00:44 UTC (rev 187693)
+++ trunk/Source/WebCore/dom/UserGestureIndicator.cpp 2015-08-01 00:09:23 UTC (rev 187694)
@@ -33,7 +33,7 @@
static bool isDefinite(ProcessingUserGestureState state)
{
- return state == DefinitelyProcessingUserGesture || state == DefinitelyNotProcessingUserGesture || state == DefinitelyProcessingMediaUserGesture;
+ return state == DefinitelyProcessingUserGesture || state == DefinitelyNotProcessingUserGesture || state == DefinitelyProcessingPotentialUserGesture;
}
ProcessingUserGestureState UserGestureIndicator::s_state = DefinitelyNotProcessingUserGesture;
@@ -71,7 +71,7 @@
if (!isMainThread())
return false;
- return s_state == DefinitelyProcessingUserGesture || s_state == DefinitelyProcessingMediaUserGesture;
+ return s_state == DefinitelyProcessingUserGesture || s_state == DefinitelyProcessingPotentialUserGesture;
}
}
Modified: trunk/Source/WebCore/dom/UserGestureIndicator.h (187693 => 187694)
--- trunk/Source/WebCore/dom/UserGestureIndicator.h 2015-08-01 00:00:44 UTC (rev 187693)
+++ trunk/Source/WebCore/dom/UserGestureIndicator.h 2015-08-01 00:09:23 UTC (rev 187694)
@@ -34,7 +34,7 @@
enum ProcessingUserGestureState {
DefinitelyProcessingUserGesture,
- DefinitelyProcessingMediaUserGesture,
+ DefinitelyProcessingPotentialUserGesture,
PossiblyProcessingUserGesture,
DefinitelyNotProcessingUserGesture
};
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes