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

Side by Side Diff: content/browser/devtools/devtools_agent_host_impl.h

Issue 12209107: Intercept Inspector DOM.setFileInputFiles and grant read permissions to the (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | content/browser/devtools/devtools_agent_host_impl.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_DEVTOOLS_AGENT_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_AGENT_HOST_IMPL_H_
6 #define CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_AGENT_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_AGENT_HOST_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 14 matching lines...) Expand all
25 public: 25 public:
26 virtual void AgentHostClosing(DevToolsAgentHostImpl*) = 0; 26 virtual void AgentHostClosing(DevToolsAgentHostImpl*) = 0;
27 protected: 27 protected:
28 virtual ~CloseListener() {} 28 virtual ~CloseListener() {}
29 }; 29 };
30 30
31 // Sends the message to the devtools agent hosted by this object. 31 // Sends the message to the devtools agent hosted by this object.
32 void Attach(); 32 void Attach();
33 void Reattach(const std::string& saved_agent_state); 33 void Reattach(const std::string& saved_agent_state);
34 void Detach(); 34 void Detach();
35 void DipatchOnInspectorBackend(const std::string& message); 35 virtual void DispatchOnInspectorBackend(const std::string& message);
36 void InspectElement(int x, int y); 36 void InspectElement(int x, int y);
37 void AddMessageToConsole(ConsoleMessageLevel level, 37 void AddMessageToConsole(ConsoleMessageLevel level,
38 const std::string& message); 38 const std::string& message);
39 39
40 void set_close_listener(CloseListener* listener) { 40 void set_close_listener(CloseListener* listener) {
41 close_listener_ = listener; 41 close_listener_ = listener;
42 } 42 }
43 43
44 int id() { return id_; } 44 int id() { return id_; }
45 45
(...skipping 12 matching lines...) Expand all
58 58
59 CloseListener* close_listener_; 59 CloseListener* close_listener_;
60 60
61 private: 61 private:
62 int id_; 62 int id_;
63 }; 63 };
64 64
65 } // namespace content 65 } // namespace content
66 66
67 #endif // CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_AGENT_HOST_IMPL_H_ 67 #endif // CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_AGENT_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/devtools/devtools_agent_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698