Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Side by Side Diff: content/browser/devtools/protocol/dom_handler.h

Issue 635533004: [DevTools] Move DOM domain overrides to DOMHandler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix for Windows again Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | content/browser/devtools/protocol/dom_handler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_
OLDNEW
« no previous file with comments | « no previous file | content/browser/devtools/protocol/dom_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698