mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
These interfaces are currently unused by the engine, but they are constructable. See apis.md for details. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/697873007
26 lines
664 B
C++
26 lines
664 B
C++
// Copyright 2014 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 "config.h"
|
|
#include "core/app/AbstractModule.h"
|
|
|
|
namespace blink {
|
|
|
|
AbstractModule::AbstractModule(ExecutionContext* context,
|
|
Document* document,
|
|
const String& url)
|
|
: ContextLifecycleObserver(context),
|
|
document_(document),
|
|
url_(url) {
|
|
}
|
|
|
|
AbstractModule::~AbstractModule() {
|
|
}
|
|
|
|
ExecutionContext* AbstractModule::executionContext() const {
|
|
return ContextLifecycleObserver::executionContext();
|
|
}
|
|
|
|
} // namespace blink
|