| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef SimWebFrameClient_h |
| 6 #define SimWebFrameClient_h |
| 7 |
| 8 #include "web/tests/FrameTestHelpers.h" |
| 9 |
| 10 namespace blink { |
| 11 |
| 12 class SimTest; |
| 13 |
| 14 class SimWebFrameClient final : public FrameTestHelpers::TestWebFrameClient { |
| 15 public: |
| 16 explicit SimWebFrameClient(SimTest&); |
| 17 |
| 18 // WebFrameClient overrides: |
| 19 void didAddMessageToConsole(const WebConsoleMessage&, |
| 20 const WebString& sourceName, |
| 21 unsigned sourceLine, |
| 22 const WebString& stackTrace) override; |
| 23 |
| 24 private: |
| 25 SimTest* m_test; |
| 26 }; |
| 27 |
| 28 } // namespace blink |
| 29 |
| 30 #endif |
| OLD | NEW |