Tim van der Lippe | 0830b3d | 2019-10-03 13:20:07 | [diff] [blame] | 1 | // Copyright 2019 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 | |
Paul Lewis | 9950e18 | 2019-12-16 16:06:07 | [diff] [blame] | 5 | import {Context} from './Context.js'; // eslint-disable-line no-unused-vars |
| 6 | |
Tim van der Lippe | 0830b3d | 2019-10-03 13:20:07 | [diff] [blame] | 7 | /** |
| 8 | * @interface |
| 9 | */ |
Paul Lewis | 9950e18 | 2019-12-16 16:06:07 | [diff] [blame] | 10 | export class ActionDelegate { |
Tim van der Lippe | 0830b3d | 2019-10-03 13:20:07 | [diff] [blame] | 11 | /** |
Paul Lewis | 9950e18 | 2019-12-16 16:06:07 | [diff] [blame] | 12 | * @param {!Context} context |
Tim van der Lippe | 0830b3d | 2019-10-03 13:20:07 | [diff] [blame] | 13 | * @param {string} actionId |
| 14 | * @return {boolean} |
| 15 | */ |
| 16 | handleAction(context, actionId) { |
Simon Zünd | fe1bb43 | 2020-08-11 06:52:20 | [diff] [blame] | 17 | throw new Error('not implemented'); |
Tim van der Lippe | 0830b3d | 2019-10-03 13:20:07 | [diff] [blame] | 18 | } |
| 19 | } |