OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_PUBLIC_BROWSER_SCREEN_ORIENTATION_DISPATCHER_HOST_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_SCREEN_ORIENTATION_DISPATCHER_HOST_H_ |
6 #define CONTENT_PUBLIC_BROWSER_SCREEN_ORIENTATION_DISPATCHER_HOST_H_ | 6 #define CONTENT_PUBLIC_BROWSER_SCREEN_ORIENTATION_DISPATCHER_HOST_H_ |
7 | 7 |
8 #include "content/common/content_export.h" | 8 #include "content/common/content_export.h" |
9 #include "third_party/WebKit/public/platform/WebLockOrientationError.h" | 9 #include "third_party/WebKit/public/platform/WebLockOrientationError.h" |
10 | 10 |
(...skipping 15 matching lines...) Expand all Loading... |
26 // The renderer process will be notified that the lock succeeded only if | 26 // The renderer process will be notified that the lock succeeded only if |
27 // |request_id| matches the current lock information. | 27 // |request_id| matches the current lock information. |
28 virtual void NotifyLockError(int request_id, | 28 virtual void NotifyLockError(int request_id, |
29 blink::WebLockOrientationError error) = 0; | 29 blink::WebLockOrientationError error) = 0; |
30 | 30 |
31 virtual void OnOrientationChange() = 0; | 31 virtual void OnOrientationChange() = 0; |
32 }; | 32 }; |
33 | 33 |
34 } // namespace content | 34 } // namespace content |
35 | 35 |
36 #endif // CONTENT_PUBLIC_BROWSER_SCREEN_ORIENTATION_DISPATCHER_HOST_H_ | 36 #endif // CONTENT_PUBLIC_BROWSER_SCREEN_ORIENTATION_DISPATCHER_HOST_H_ |
OLD | NEW |