blob: 67d2d7c75d8fc36d7240159ebeafb11c5e0752ff [file] [log] [blame]
// 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.
namespace content {
class BrowserContext;
namespace extensions {
class DesktopController;
class ShellBrowserMainDelegate {
virtual ~ShellBrowserMainDelegate() {}
// Called to start an application after all initialization processes that are
// necesary to run apps are completed.
virtual void Start(content::BrowserContext* context) = 0;
// Called after the main message looop has stopped, but before
// other services such as BrowserContext / extension system are shut down.
virtual void Shutdown() = 0;
// Creates the ShellDesktopControllerAura instance to initialize the root
// window and window manager. Subclass may return its subclass to customize
// the window manager.
virtual DesktopController* CreateDesktopController(
content::BrowserContext* context) = 0;
} // namespace extensions