blob: 05a41b9bb5a94df170cc032088fd1c3ae7197a08 [file] [log] [blame]
// Copyright 2015 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.
#ifndef COMPONENTS_MUS_EXAMPLE_WM_BACKGROUND_LAYOUT_H_
#define COMPONENTS_MUS_EXAMPLE_WM_BACKGROUND_LAYOUT_H_
#include "base/macros.h"
#include "components/mus/example/wm/layout_manager.h"
// Lays out the desktop background within background containers.
class BackgroundLayout : public LayoutManager {
public:
explicit BackgroundLayout(mus::Window* owner);
~BackgroundLayout() override;
private:
// Overridden from LayoutManager:
void WindowAdded(mus::Window* window) override;
void LayoutWindow(mus::Window* window) override;
DISALLOW_COPY_AND_ASSIGN(BackgroundLayout);
};
#endif // COMPONENTS_MUS_EXAMPLE_WM_BACKGROUND_LAYOUT_H_