况洋洋
2025-07-04 0d247bd2a17e0f99f3609774a1ce54ae00857997
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright © 2018 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
 
using System.Collections.Generic;
 
namespace CefSharp.Callback
{
    /// <summary>
    /// Callback interface for IBrowserHost.RunFileDialog.
    /// The methods of this class will be called on the CEF UI thread.
    /// </summary>
    public interface IRunFileDialogCallback
    {
        /// <summary>
        /// Called asynchronously after the file dialog is dismissed.
        /// </summary>
        /// <param name="filePaths">will be a single value or a list of values depending on the dialog mode. If the selection was cancelled filePaths will be empty</param>
        void OnFileDialogDismissed(IList<string> filePaths);
    }
}