| Index: content/browser/screen_orientation/screen_orientation_delegate_win.h
|
| diff --git a/content/browser/screen_orientation/screen_orientation_delegate_win.h b/content/browser/screen_orientation/screen_orientation_delegate_win.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..7651d5a7e6502bacb69bad0c66cccb37e7effea7
|
| --- /dev/null
|
| +++ b/content/browser/screen_orientation/screen_orientation_delegate_win.h
|
| @@ -0,0 +1,30 @@
|
| +// 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 CONTENT_BROWSER_SCREEN_ORIENTATION_SCREEN_ORIENTATION_DELEGATE_WIN_H_
|
| +#define CONTENT_BROWSER_SCREEN_ORIENTATION_SCREEN_ORIENTATION_DELEGATE_WIN_H_
|
| +
|
| +#include "content/public/browser/screen_orientation_delegate.h"
|
| +
|
| +namespace content {
|
| +
|
| +class ScreenOrientationDelegateWin : public ScreenOrientationDelegate {
|
| + public:
|
| + ScreenOrientationDelegateWin();
|
| + ~ScreenOrientationDelegateWin() override;
|
| +
|
| + private:
|
| + // content::ScreenOrientationDelegate:
|
| + bool FullScreenRequired(WebContents* web_contents) override;
|
| + void Lock(WebContents* web_contents,
|
| + blink::WebScreenOrientationLockType lock_orientation) override;
|
| + bool ScreenOrientationProviderSupported() override;
|
| + void Unlock(WebContents* web_contents) override;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(ScreenOrientationDelegateWin);
|
| +};
|
| +
|
| +} // namespace content
|
| +
|
| +#endif // CONTENT_BROWSER_SCREEN_ORIENTATION_SCREEN_ORIENTATION_DELEGATE_WIN_H_
|
|
|