blob: 67f40fe202b4620c8caad674a1094eb6f2349be0 [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 ASH_CONTENT_SCREEN_ORIENTATION_DELEGATE_CHROMEOS_H_
#define ASH_CONTENT_SCREEN_ORIENTATION_DELEGATE_CHROMEOS_H_
#include "content/public/browser/screen_orientation_delegate.h"
#include "ash/content/ash_with_content_export.h"
namespace ash {
class ASH_WITH_CONTENT_EXPORT ScreenOrientationDelegateChromeos
: public content::ScreenOrientationDelegate {
public:
ScreenOrientationDelegateChromeos();
~ScreenOrientationDelegateChromeos() override;
private:
// content::ScreenOrientationDelegate:
bool FullScreenRequired(content::WebContents* web_contents) override;
void Lock(content::WebContents* web_contents,
blink::WebScreenOrientationLockType lock_orientation) override;
bool ScreenOrientationProviderSupported() override;
void Unlock(content::WebContents* web_contents) override;
DISALLOW_COPY_AND_ASSIGN(ScreenOrientationDelegateChromeos);
};
} // namespace ash
#endif // ASH_CONTENT_SCREEN_ORIENTATION_DELEGATE_CHROMEOS_H_