| Index: content/browser/screen_orientation/screen_orientation.h
|
| diff --git a/content/browser/screen_orientation/screen_orientation.h b/content/browser/screen_orientation/screen_orientation.h
|
| deleted file mode 100644
|
| index af3d84e8120aae435468cedb18d5a92d52c4da5e..0000000000000000000000000000000000000000
|
| --- a/content/browser/screen_orientation/screen_orientation.h
|
| +++ /dev/null
|
| @@ -1,42 +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_H
|
| -#define CONTENT_BROWSER_SCREEN_ORIENTATION_SCREEN_ORIENTATION_H
|
| -
|
| -#include "base/memory/weak_ptr.h"
|
| -#include "content/public/browser/web_contents_binding_set.h"
|
| -#include "content/public/browser/web_contents_observer.h"
|
| -#include "device/screen_orientation/public/interfaces/screen_orientation.mojom.h"
|
| -
|
| -namespace content {
|
| -
|
| -class ScreenOrientationProvider;
|
| -class WebContents;
|
| -
|
| -class ScreenOrientation : public device::mojom::ScreenOrientation,
|
| - public WebContentsObserver {
|
| - public:
|
| - explicit ScreenOrientation(WebContents* web_contents);
|
| - ~ScreenOrientation() override;
|
| -
|
| - ScreenOrientationProvider* GetScreenOrientationProvider();
|
| -
|
| - private:
|
| - // ScreenOrientation:
|
| - void LockOrientation(blink::WebScreenOrientationLockType orientation,
|
| - const LockOrientationCallback& callback) override;
|
| - void UnlockOrientation() override;
|
| -
|
| - // WebContentsObserver:
|
| - void DidFinishNavigation(NavigationHandle* navigation_handle) override;
|
| -
|
| - std::unique_ptr<ScreenOrientationProvider> provider_;
|
| - WebContentsFrameBindingSet<device::mojom::ScreenOrientation> bindings_;
|
| - base::WeakPtrFactory<ScreenOrientation> weak_factory_;
|
| -};
|
| -
|
| -} // namespace content
|
| -
|
| -#endif // CONTENT_BROWSER_SCREEN_ORIENTATION_SCREEN_ORIENTATION_H
|
|
|