Commit 742a4e21 authored by Mustaq Ahmed's avatar Mustaq Ahmed Committed by Commit Bot

Remove default frame pointers in IsProcessingUserGesture*().

Change-Id: If1678386ef82177792ed0b5e3ed091249eb901c6
Reviewed-on: https://chromium-review.googlesource.com/1251764Reviewed-by: default avatarDaniel Cheng <dcheng@chromium.org>
Commit-Queue: Mustaq Ahmed <mustaq@chromium.org>
Cr-Commit-Position: refs/heads/master@{#595189}
parent 9afce604
...@@ -43,17 +43,12 @@ class WebUserGestureIndicator { ...@@ -43,17 +43,12 @@ class WebUserGestureIndicator {
public: public:
// Returns true if a user gesture is currently being processed. Must be called // Returns true if a user gesture is currently being processed. Must be called
// on the main thread. // on the main thread.
// BLINK_EXPORT static bool IsProcessingUserGesture(WebLocalFrame*);
// TODO(mustaq): remove the default value when all callers have been fixed.
BLINK_EXPORT static bool IsProcessingUserGesture(WebLocalFrame* = nullptr);
// Can be called from any thread. Note that this is slower than the non // Can be called from any thread. Note that this is slower than the non
// thread-safe version due to thread id lookups. Prefer the non thread-safe // thread-safe version due to thread id lookups. Prefer the non thread-safe
// version for code that will only execute on the main thread. // version for code that will only execute on the main thread.
// BLINK_EXPORT static bool IsProcessingUserGestureThreadSafe(WebLocalFrame*);
// TODO(mustaq): remove the default value when all callers have been fixed.
BLINK_EXPORT static bool IsProcessingUserGestureThreadSafe(
WebLocalFrame* = nullptr);
// Returns true if a consumable gesture exists and has been successfully // Returns true if a consumable gesture exists and has been successfully
// consumed. // consumed.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment