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

Unified Diff: public/platform/WebLockOrientationCallback.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 | « no previous file | public/platform/WebLockOrientationError.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebLockOrientationCallback.h
diff --git a/public/platform/WebLockOrientationCallback.h b/public/platform/WebLockOrientationCallback.h
index 75d0bcdbbc9fa6191b7324d633c8c49d36e0bcaa..2cb85e7b9bf59519f7d2853767f9aaaa8e95ff75 100644
--- a/public/platform/WebLockOrientationCallback.h
+++ b/public/platform/WebLockOrientationCallback.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 WebLockOrientationCallback_h
-#define WebLockOrientationCallback_h
-
-#include "public/platform/WebLockOrientationError.h"
-#include "public/platform/WebScreenOrientationType.h"
-
-namespace blink {
-
-// WebScreenOrientationType is an interface to be used by the embedder in order
-// to inform Blink when a screen lock operation has succeeded or failed.
-// A success notification comes with the new orientation angle and orientation
-// type and a failure notification comes with an information about the type of
-// failure.
-class WebLockOrientationCallback {
-public:
- virtual ~WebLockOrientationCallback() { }
-
- virtual void onSuccess() = 0;
- virtual void onError(WebLockOrientationError) = 0;
-};
-
-} // namespace blink
-
-#endif // WebLockOrientationCallback_h
+#include "public/platform/modules/screen_orientation/WebLockOrientationCallback.h"
« no previous file with comments | « no previous file | public/platform/WebLockOrientationError.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698