| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 InspectorEmulationAgent_h | 5 #ifndef InspectorEmulationAgent_h |
| 6 #define InspectorEmulationAgent_h | 6 #define InspectorEmulationAgent_h |
| 7 | 7 |
| 8 #include "core/inspector/InspectorBaseAgent.h" | 8 #include "core/inspector/InspectorBaseAgent.h" |
| 9 #include "core/inspector/protocol/Emulation.h" |
| 9 | 10 |
| 10 namespace blink { | 11 namespace blink { |
| 11 | 12 |
| 12 class WebLocalFrameImpl; | 13 class WebLocalFrameImpl; |
| 13 class WebViewImpl; | 14 class WebViewImpl; |
| 14 | 15 |
| 15 class InspectorEmulationAgent final : public InspectorBaseAgent<protocol::Emulat
ion::Metainfo> { | 16 class InspectorEmulationAgent final : public InspectorBaseAgent<protocol::Emulat
ion::Metainfo> { |
| 16 WTF_MAKE_NONCOPYABLE(InspectorEmulationAgent); | 17 WTF_MAKE_NONCOPYABLE(InspectorEmulationAgent); |
| 17 public: | 18 public: |
| 18 class Client { | 19 class Client { |
| (...skipping 24 matching lines...) Expand all Loading... |
| 43 InspectorEmulationAgent(WebLocalFrameImpl*, Client*); | 44 InspectorEmulationAgent(WebLocalFrameImpl*, Client*); |
| 44 WebViewImpl* webViewImpl(); | 45 WebViewImpl* webViewImpl(); |
| 45 | 46 |
| 46 Member<WebLocalFrameImpl> m_webLocalFrameImpl; | 47 Member<WebLocalFrameImpl> m_webLocalFrameImpl; |
| 47 Client* m_client; | 48 Client* m_client; |
| 48 }; | 49 }; |
| 49 | 50 |
| 50 } // namespace blink | 51 } // namespace blink |
| 51 | 52 |
| 52 #endif // !defined(InspectorEmulationAgent_h) | 53 #endif // !defined(InspectorEmulationAgent_h) |
| OLD | NEW |