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

Side by Side Diff: content/browser/screen_orientation/screen_orientation_delegate_win.h

Issue 1758823004: Screen.orientation lock API implementation for Windows8 and later. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebasing Created 4 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 unified diff | Download patch
OLDNEW
(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_
OLDNEW
« 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