blob: 51e01936ad3454650b2db68f116a123d289709be [file] [log] [blame]
// Copyright 2016 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 CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_CONTEXT_MUS_H_
#define CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_CONTEXT_MUS_H_
#include "ash/public/cpp/immersive/immersive_context.h"
#include "base/macros.h"
class ImmersiveContextMus : public ash::ImmersiveContext {
public:
ImmersiveContextMus();
~ImmersiveContextMus() override;
static ImmersiveContextMus* Get() { return instance_; }
// ash::ImmersiveContext:
void OnEnteringOrExitingImmersive(
ash::ImmersiveFullscreenController* controller,
bool entering) override;
gfx::Rect GetDisplayBoundsInScreen(views::Widget* widget) override;
bool DoesAnyWindowHaveCapture() override;
private:
static ImmersiveContextMus* instance_;
DISALLOW_COPY_AND_ASSIGN(ImmersiveContextMus);
};
#endif // CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_CONTEXT_MUS_H_