| 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_BROWSER_DEVTOOLS_PROTOCOL_DOM_HANDLER_H_ | 5 #ifndef CONTENT_BROWSER_DEVTOOLS_PROTOCOL_DOM_HANDLER_H_ |
| 6 #define CONTENT_BROWSER_DEVTOOLS_PROTOCOL_DOM_HANDLER_H_ | 6 #define CONTENT_BROWSER_DEVTOOLS_PROTOCOL_DOM_HANDLER_H_ |
| 7 | 7 |
| 8 #include "content/browser/devtools/protocol/devtools_protocol_handler_impl.h" | 8 #include "content/browser/devtools/protocol/devtools_protocol_handler_impl.h" |
| 9 | 9 |
| 10 namespace content { | 10 namespace content { |
| 11 |
| 12 class RenderViewHostImpl; |
| 13 |
| 11 namespace devtools { | 14 namespace devtools { |
| 12 namespace dom { | 15 namespace dom { |
| 13 | 16 |
| 14 class DOMHandler { | 17 class DOMHandler { |
| 15 public: | 18 public: |
| 16 typedef DevToolsProtocolClient::Response Response; | 19 typedef DevToolsProtocolClient::Response Response; |
| 17 | 20 |
| 18 DOMHandler(); | 21 DOMHandler(); |
| 19 virtual ~DOMHandler(); | 22 virtual ~DOMHandler(); |
| 20 | 23 |
| 24 void SetRenderViewHost(RenderViewHostImpl* host); |
| 25 |
| 21 Response SetFileInputFiles(NodeId node_id, | 26 Response SetFileInputFiles(NodeId node_id, |
| 22 const std::vector<std::string>& files); | 27 const std::vector<std::string>& files); |
| 23 | 28 |
| 24 private: | 29 private: |
| 30 RenderViewHostImpl* host_; |
| 25 DISALLOW_COPY_AND_ASSIGN(DOMHandler); | 31 DISALLOW_COPY_AND_ASSIGN(DOMHandler); |
| 26 }; | 32 }; |
| 27 | 33 |
| 28 } // namespace dom | 34 } // namespace dom |
| 29 } // namespace devtools | 35 } // namespace devtools |
| 30 } // namespace content | 36 } // namespace content |
| 31 | 37 |
| 32 #endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_DOM_HANDLER_H_ | 38 #endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_DOM_HANDLER_H_ |
| OLD | NEW |