OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 CHROME_BROWSER_DEBUGGER_INSPECTABLE_TAB_PROXY_H_ | 5 #ifndef CHROME_BROWSER_DEBUGGER_INSPECTABLE_TAB_PROXY_H_ |
6 #define CHROME_BROWSER_DEBUGGER_INSPECTABLE_TAB_PROXY_H_ | 6 #define CHROME_BROWSER_DEBUGGER_INSPECTABLE_TAB_PROXY_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 } | 74 } |
75 | 75 |
76 void Close(); | 76 void Close(); |
77 | 77 |
78 // DevToolsClientHost interface | 78 // DevToolsClientHost interface |
79 virtual void InspectedTabClosing(); | 79 virtual void InspectedTabClosing(); |
80 virtual void SendMessageToClient(const IPC::Message& msg); | 80 virtual void SendMessageToClient(const IPC::Message& msg); |
81 | 81 |
82 private: | 82 private: |
83 // Message handling routines | 83 // Message handling routines |
84 void OnRpcMessage(const std::string& msg); | 84 void OnRpcMessage(const std::string& class_name, |
| 85 const std::string& message_name, |
| 86 const std::string& msg); |
85 void DebuggerOutput(const std::string& msg); | 87 void DebuggerOutput(const std::string& msg); |
86 void FrameNavigate(const std::string& url); | 88 void FrameNavigate(const std::string& url); |
87 void TabClosed(); | 89 void TabClosed(); |
88 | 90 |
89 int32 id_; | 91 int32 id_; |
90 DebuggerRemoteService* service_; | 92 DebuggerRemoteService* service_; |
91 InspectableTabProxy::IdToClientHostMap* map_; | 93 InspectableTabProxy::IdToClientHostMap* map_; |
92 }; | 94 }; |
93 | 95 |
94 #endif // CHROME_BROWSER_DEBUGGER_INSPECTABLE_TAB_PROXY_H_ | 96 #endif // CHROME_BROWSER_DEBUGGER_INSPECTABLE_TAB_PROXY_H_ |
OLD | NEW |