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

Unified Diff: public/platform/WebScreenOrientationClient.h

Issue 1164753002: Move screen_orientation public headers to module directory. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix chrome os build Created 5 years, 7 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 | « public/platform/WebLockOrientationError.h ('k') | public/platform/WebScreenOrientationType.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebScreenOrientationClient.h
diff --git a/public/platform/WebScreenOrientationClient.h b/public/platform/WebScreenOrientationClient.h
index ca0c2c326d212dd137dd1615fcd2eb0257dea7d4..82077a2a7ca01d9c9bfceb0a78196b5045a90d0a 100644
--- a/public/platform/WebScreenOrientationClient.h
+++ b/public/platform/WebScreenOrientationClient.h
@@ -2,27 +2,4 @@
// 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/WebScreenOrientationLockType.h"
-
-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, WebLockOrientationCallback*) = 0;
-
- // Unlock the screen orientation. No-op if the screen orientation was not locked.
- virtual void unlockOrientation() = 0;
-};
-
-} // namespace blink
-
-#endif // WebScreenOrientationClient_h
+#include "public/platform/modules/screen_orientation/WebScreenOrientationClient.h"
« no previous file with comments | « public/platform/WebLockOrientationError.h ('k') | public/platform/WebScreenOrientationType.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698