blob: 732a9500ceb2b9d9fe3227021b92e2bc1a0555bc [file] [log] [blame]
// Copyright 2017 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.
#ifndef WebFactoryImpl_h
#define WebFactoryImpl_h
#include "core/exported/WebFactory.h"
namespace blink {
class WebFactoryImpl : public WebFactory {
public:
WebFactoryImpl() {}
~WebFactoryImpl() {}
// Sets WebFactory to have a new instance of WebFactoryImpl.
static void Initialize();
ChromeClient* CreateChromeClient(WebViewBase*) const override;
WebViewBase* CreateWebViewBase(WebViewClient*,
WebPageVisibilityState) const override;
WebLocalFrameBase* CreateWebLocalFrameBase(
WebTreeScopeType,
WebFrameClient*,
blink::InterfaceProvider*,
blink::InterfaceRegistry*,
WebFrame* opener = nullptr) const override;
};
} // namespace blink
#endif