| 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 DeviceOrientationInspectorAgent_h | 5 #ifndef DeviceOrientationInspectorAgent_h |
| 6 #define DeviceOrientationInspectorAgent_h | 6 #define DeviceOrientationInspectorAgent_h |
| 7 | 7 |
| 8 #include "core/inspector/InspectorBaseAgent.h" | 8 #include "core/inspector/InspectorBaseAgent.h" |
| 9 #include "core/inspector/protocol/DeviceOrientation.h" |
| 9 #include "modules/ModulesExport.h" | 10 #include "modules/ModulesExport.h" |
| 10 #include "wtf/text/WTFString.h" | 11 #include "wtf/text/WTFString.h" |
| 11 | 12 |
| 12 namespace blink { | 13 namespace blink { |
| 13 | 14 |
| 14 class DeviceOrientationController; | 15 class DeviceOrientationController; |
| 15 class Page; | 16 class Page; |
| 16 | 17 |
| 17 | 18 |
| 18 class MODULES_EXPORT DeviceOrientationInspectorAgent final : public InspectorBas
eAgent<protocol::DeviceOrientation::Metainfo> { | 19 class MODULES_EXPORT DeviceOrientationInspectorAgent final : public InspectorBas
eAgent<protocol::DeviceOrientation::Metainfo> { |
| (...skipping 16 matching lines...) Expand all Loading... |
| 35 private: | 36 private: |
| 36 explicit DeviceOrientationInspectorAgent(Page&); | 37 explicit DeviceOrientationInspectorAgent(Page&); |
| 37 DeviceOrientationController& controller(); | 38 DeviceOrientationController& controller(); |
| 38 Member<Page> m_page; | 39 Member<Page> m_page; |
| 39 }; | 40 }; |
| 40 | 41 |
| 41 } // namespace blink | 42 } // namespace blink |
| 42 | 43 |
| 43 | 44 |
| 44 #endif // !defined(DeviceOrientationInspectorAgent_h) | 45 #endif // !defined(DeviceOrientationInspectorAgent_h) |
| OLD | NEW |