blob: 1b234c514d3c131a6f8a3485d66b6ea5a6cf08f2 [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 ShellDesktopController instance to initialize the root window
// and window manager. Subclass may return its subclass to customize the
// windo manager.
virtual DesktopController* CreateDesktopController() = 0;
} // namespace extensions