| OLD | NEW |
| (Empty) |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CONTENT_BROWSER_SCREEN_ORIENTATION_SCREEN_ORIENTATION_DELEGATE_WIN_H_ | |
| 6 #define CONTENT_BROWSER_SCREEN_ORIENTATION_SCREEN_ORIENTATION_DELEGATE_WIN_H_ | |
| 7 | |
| 8 #include "content/public/browser/screen_orientation_delegate.h" | |
| 9 | |
| 10 namespace content { | |
| 11 | |
| 12 class ScreenOrientationDelegateWin : public ScreenOrientationDelegate { | |
| 13 public: | |
| 14 ScreenOrientationDelegateWin(); | |
| 15 ~ScreenOrientationDelegateWin() override; | |
| 16 | |
| 17 private: | |
| 18 // content::ScreenOrientationDelegate: | |
| 19 bool FullScreenRequired(WebContents* web_contents) override; | |
| 20 void Lock(WebContents* web_contents, | |
| 21 blink::WebScreenOrientationLockType lock_orientation) override; | |
| 22 bool ScreenOrientationProviderSupported() override; | |
| 23 void Unlock(WebContents* web_contents) override; | |
| 24 | |
| 25 DISALLOW_COPY_AND_ASSIGN(ScreenOrientationDelegateWin); | |
| 26 }; | |
| 27 | |
| 28 } // namespace content | |
| 29 | |
| 30 #endif // CONTENT_BROWSER_SCREEN_ORIENTATION_SCREEN_ORIENTATION_DELEGATE_WIN_H_ | |
| OLD | NEW |