// Copyright 2019 The Chromium Authors. All rights reserved. | |
// Use of this source code is governed by a BSD-style license that can be | |
// found in the LICENSE file. | |
/** | |
* @interface | |
*/ | |
export default class ActionDelegate { | |
/** | |
* @param {!UI.Context} context | |
* @param {string} actionId | |
* @return {boolean} | |
*/ | |
handleAction(context, actionId) { | |
} | |
} | |
/* Legacy exported object*/ | |
self.UI = self.UI || {}; | |
/* Legacy exported object*/ | |
UI = UI || {}; | |
/** @interface */ | |
UI.ActionDelegate = ActionDelegate; |