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

Unified Diff: third_party/WebKit/public/platform/modules/screen_orientation/WebScreenOrientationClient.h

Issue 2702103002: [ScreenOrientation] De-associate device.mojom.ScreenOrientation from legacy IPC channel.
Patch Set: Synchronize response of lock success with legacy IPC ViewMsg_Resize. Created 3 years, 10 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
« no previous file with comments | « third_party/WebKit/public/BUILD.gn ('k') | third_party/WebKit/public/web/WebFrameClient.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/modules/screen_orientation/WebScreenOrientationClient.h
diff --git a/third_party/WebKit/public/platform/modules/screen_orientation/WebScreenOrientationClient.h b/third_party/WebKit/public/platform/modules/screen_orientation/WebScreenOrientationClient.h
deleted file mode 100644
index b4a5bcc651a4dbdfed5bbf5bce023ce99d328b35..0000000000000000000000000000000000000000
--- a/third_party/WebKit/public/platform/modules/screen_orientation/WebScreenOrientationClient.h
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright 2015 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 WebScreenOrientationClient_h
-#define WebScreenOrientationClient_h
-
-#include "public/platform/modules/screen_orientation/WebScreenOrientationLockType.h"
-#include <memory>
-
-namespace blink {
-
-class WebLockOrientationCallback;
-
-// Client handling screen orientation locking for a given WebFrame.
-class WebScreenOrientationClient {
- public:
- virtual ~WebScreenOrientationClient() {}
-
- // Request a screen orientation lock. The implementation will own the
- // callback.
- virtual void lockOrientation(WebScreenOrientationLockType,
- std::unique_ptr<WebLockOrientationCallback>) = 0;
-
- // Unlock the screen orientation. No-op if the screen orientation was not
- // locked.
- virtual void unlockOrientation() = 0;
-
- virtual void startAccurateListen() = 0;
-
- virtual void stopAccurateListen() = 0;
-};
-
-} // namespace blink
-
-#endif // WebScreenOrientationClient_h
« no previous file with comments | « third_party/WebKit/public/BUILD.gn ('k') | third_party/WebKit/public/web/WebFrameClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698