Chromium Code Reviews| Index: third_party/WebKit/Source/web/tests/WebFrameTest.cpp |
| diff --git a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp |
| index a881cd8ec2ae8b71dc132bd296ab5bd937ac4212..2ac4b18c2a8694fe464f905c2fa942d46349245c 100644 |
| --- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp |
| +++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp |
| @@ -5266,6 +5266,14 @@ public: |
| m_completion = completion; |
| } |
| + void cancelAllPendingRequests() override |
|
yosin_UTC9
2016/08/10 01:34:34
Off-topic: we might want to re-structure spell che
Xiaocheng
2016/08/10 01:45:33
Sounds reasonable.
|
| + { |
| + if (!m_completion) |
| + return; |
| + m_completion->didCancelCheckingText(); |
| + m_completion = nullptr; |
| + } |
| + |
| void kickNoResults() |
| { |
| kick(-1, -1, WebTextDecorationTypeSpelling); |