// Copyright © 2010-2016 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;
namespace CefSharp
{
///
/// Event arguments to the FrameLoadStart event handler set up in IWebBrowser.
///
public class FrameLoadStartEventArgs : EventArgs
{
public FrameLoadStartEventArgs(IBrowser browser, IFrame frame)
{
Browser = browser;
Frame = frame;
Url = frame.Url;
}
///
/// The browser object
///
public IBrowser Browser { get; private set;}
///
/// The frame that just started loading.
///
public IFrame Frame { get; private set; }
///
/// The URL that was loaded.
///
public string Url { get; private set; }
}
}