Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(230)

Unified Diff: content/browser/screen_orientation/screen_orientation_delegate_win.h

Issue 2761213003: Revert of Screen.orientation lock API implementation for Windows8 and later. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add 702435 to commit message Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
deleted file mode 100644
index 7651d5a7e6502bacb69bad0c66cccb37e7effea7..0000000000000000000000000000000000000000
--- a/content/browser/screen_orientation/screen_orientation_delegate_win.h
+++ /dev/null
@@ -1,30 +0,0 @@
-// 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_
« no previous file with comments | « content/browser/browser_main_loop.cc ('k') | content/browser/screen_orientation/screen_orientation_delegate_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698