| 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
|
| index e3f0feea5188084eefea37df948bb380a5404951..677a4c3cfea92374cbcc3754ac4c354ad00bcbe5 100644
|
| --- a/content/browser/screen_orientation/screen_orientation.h
|
| +++ b/content/browser/screen_orientation/screen_orientation.h
|
| @@ -7,16 +7,16 @@
|
|
|
| #include "base/callback.h"
|
| #include "base/memory/weak_ptr.h"
|
| -#include "content/common/screen_orientation.mojom.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 mojom::ScreenOrientation,
|
| +class ScreenOrientation : public device::mojom::ScreenOrientation,
|
| public WebContentsObserver {
|
| public:
|
| explicit ScreenOrientation(WebContents* web_contents);
|
| @@ -34,11 +34,11 @@ class ScreenOrientation : public mojom::ScreenOrientation,
|
| void DidNavigateMainFrame(const LoadCommittedDetails& details,
|
| const FrameNavigateParams& params) override;
|
|
|
| - void NotifyLockResult(blink::mojom::ScreenOrientationLockResult result);
|
| + void NotifyLockResult(device::mojom::ScreenOrientationLockResult result);
|
|
|
| std::unique_ptr<ScreenOrientationProvider> provider_;
|
| LockOrientationCallback on_result_callback_;
|
| - WebContentsFrameBindingSet<mojom::ScreenOrientation> bindings_;
|
| + WebContentsFrameBindingSet<device::mojom::ScreenOrientation> bindings_;
|
| base::WeakPtrFactory<ScreenOrientation> weak_factory_;
|
| };
|
|
|
|
|