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

Unified Diff: trunk/public/platform/modules/screen_orientation/WebLockOrientationCallback.h

Issue 1150033011: Revert 196331 "Move screen_orientation public headers to module ..." (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: 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
Index: trunk/public/platform/modules/screen_orientation/WebLockOrientationCallback.h
===================================================================
--- trunk/public/platform/modules/screen_orientation/WebLockOrientationCallback.h (revision 196345)
+++ trunk/public/platform/modules/screen_orientation/WebLockOrientationCallback.h (working copy)
@@ -1,28 +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 WebLockOrientationCallback_h
-#define WebLockOrientationCallback_h
-
-#include "public/platform/modules/screen_orientation/WebLockOrientationError.h"
-#include "public/platform/modules/screen_orientation/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

Powered by Google App Engine
This is Rietveld 408576698