OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROMECAST_BROWSER_DEVTOOLS_CAST_DEVTOOLS_DELEGATE_H_ |
| 6 #define CHROMECAST_BROWSER_DEVTOOLS_CAST_DEVTOOLS_DELEGATE_H_ |
| 7 |
| 8 #include "base/macros.h" |
| 9 #include "content/public/browser/devtools_manager_delegate.h" |
| 10 |
| 11 namespace content { |
| 12 class DevToolsAgentHost; |
| 13 } |
| 14 |
| 15 namespace chromecast { |
| 16 namespace shell { |
| 17 |
| 18 class CastDevToolsDelegate : |
| 19 public content::DevToolsManagerDelegate { |
| 20 public: |
| 21 CastDevToolsDelegate(); |
| 22 ~CastDevToolsDelegate() override; |
| 23 |
| 24 // content::DevToolsManagerDelegate implementation. |
| 25 void Inspect(content::DevToolsAgentHost* agent_host) override; |
| 26 void DevToolsAgentStateChanged(content::DevToolsAgentHost* agent_host, |
| 27 bool attached) override; |
| 28 std::string GetDiscoveryPageHTML() override; |
| 29 |
| 30 private: |
| 31 DISALLOW_COPY_AND_ASSIGN(CastDevToolsDelegate); |
| 32 }; |
| 33 |
| 34 } // namespace shell |
| 35 } // namespace chromecast |
| 36 |
| 37 #endif // CHROMECAST_BROWSER_DEVTOOLS_CAST_DEVTOOLS_DELEGATE_H_ |
OLD | NEW |