flutter_flutter/engine/core/app/AbstractModule.cpp
Adam Barth bdf6f5c3e6 Add Module and Application interfaces
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
2014-11-10 14:16:56 -08:00

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