OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2010, The Android Open Source Project | 2 * Copyright 2010, The Android Open Source Project |
3 * Copyright (C) 2012 Samsung Electronics. All rights reserved. | 3 * Copyright (C) 2012 Samsung Electronics. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above copyright | 10 * * Redistributions in binary form must reproduce the above copyright |
(...skipping 10 matching lines...) Expand all Loading... |
21 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY | 21 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY |
22 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 22 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
25 */ | 25 */ |
26 | 26 |
27 #ifndef DeviceOrientationController_h | 27 #ifndef DeviceOrientationController_h |
28 #define DeviceOrientationController_h | 28 #define DeviceOrientationController_h |
29 | 29 |
30 #include "core/page/DeviceController.h" | 30 #include "core/page/DeviceController.h" |
31 #include <wtf/HashCountedSet.h> | |
32 | 31 |
33 namespace WebCore { | 32 namespace WebCore { |
34 | 33 |
35 class DeviceOrientationClient; | 34 class DeviceOrientationClient; |
36 class DeviceOrientationData; | 35 class DeviceOrientationData; |
37 | 36 |
38 class DeviceOrientationController : public DeviceController { | 37 class DeviceOrientationController : public DeviceController { |
39 public: | 38 public: |
40 ~DeviceOrientationController() { }; | 39 ~DeviceOrientationController() { }; |
41 | 40 |
(...skipping 11 matching lines...) Expand all Loading... |
53 | 52 |
54 private: | 53 private: |
55 DeviceOrientationController(Page*, DeviceOrientationClient*); | 54 DeviceOrientationController(Page*, DeviceOrientationClient*); |
56 | 55 |
57 Page* m_page; | 56 Page* m_page; |
58 }; | 57 }; |
59 | 58 |
60 } // namespace WebCore | 59 } // namespace WebCore |
61 | 60 |
62 #endif // DeviceOrientationController_h | 61 #endif // DeviceOrientationController_h |
OLD | NEW |