summaryrefslogtreecommitdiff
path: root/chromium/extensions/renderer/dispatcher_delegate.cc
blob: 4bd6a760c4ae1bb4daf79a3ab2cb3c827c892c66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright 2018 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.

#include "extensions/renderer/dispatcher_delegate.h"

#include "extensions/renderer/module_system.h"
#include "extensions/renderer/script_context.h"

namespace extensions {

void DispatcherDelegate::RequireWebViewModules(ScriptContext* context) {
  // If the embedder does not define its own WebView, we'll provide a default
  // implementation.
  context->module_system()->Require("extensionsWebViewElement");
}

}  // namespace extensions