1# Copyright 2024 The Chromium Authors 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5from __future__ import annotations 6 7from typing import TYPE_CHECKING 8 9if TYPE_CHECKING: 10 from crossbench.runner.run import Run 11 12 13class ActionRunnerListener: 14 """Default empty ActionRunnerListener implementation.""" 15 16 def handle_error(self, run: Run, e: Exception) -> None: 17 pass 18 19 def handle_page_run(self, run: Run) -> None: 20 pass 21 22 def handle_new_tab(self, run: Run) -> None: 23 pass 24