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

Side by Side Diff: chrome/browser/debugger/inspectable_tab_proxy.h

Issue 115862: DevTools: pass class and method name as arguments to RPC messages (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 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 | chrome/browser/debugger/inspectable_tab_proxy.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) 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
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_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/debugger/inspectable_tab_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698