summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/controller/blink_initializer.h
blob: 476c9a8228b67b1f05b525322f504f0900e61135 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef THIRD_PARTY_BLINK_RENDERER_CONTROLLER_BLINK_INITIALIZER_H_
#define THIRD_PARTY_BLINK_RENDERER_CONTROLLER_BLINK_INITIALIZER_H_

#include "third_party/blink/renderer/modules/modules_initializer.h"

namespace blink {

class BlinkInitializer : public ModulesInitializer {
 public:
  void RegisterInterfaces(mojo::BinderMap&) override;
  void OnClearWindowObjectInMainWorld(Document&,
                                      const Settings&) const override;
  void InitLocalFrame(LocalFrame&) const override;

  void InitServiceWorkerGlobalScope(ServiceWorkerGlobalScope&) const override;
};

}  // namespace blink

#endif  // THIRD_PARTY_BLINK_RENDERER_CONTROLLER_BLINK_INITIALIZER_H_