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

Side by Side Diff: chrome/renderer/devtools_client.h

Issue 348056: Highlight node with mouse over it while selecting element to inspect (Closed)
Patch Set: Created 11 years, 1 month 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 | « chrome/common/render_messages_internal.h ('k') | chrome/renderer/devtools_client.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_RENDERER_DEVTOOLS_CLIENT_H_ 5 #ifndef CHROME_RENDERER_DEVTOOLS_CLIENT_H_
6 #define CHROME_RENDERER_DEVTOOLS_CLIENT_H_ 6 #define CHROME_RENDERER_DEVTOOLS_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 30 matching lines...) Expand all
41 const WebKit::WebString& method_name, 41 const WebKit::WebString& method_name,
42 const WebKit::WebString& param1, 42 const WebKit::WebString& param1,
43 const WebKit::WebString& param2, 43 const WebKit::WebString& param2,
44 const WebKit::WebString& param3); 44 const WebKit::WebString& param3);
45 virtual void sendDebuggerCommandToAgent(const WebKit::WebString& command); 45 virtual void sendDebuggerCommandToAgent(const WebKit::WebString& command);
46 46
47 virtual void activateWindow(); 47 virtual void activateWindow();
48 virtual void closeWindow(); 48 virtual void closeWindow();
49 virtual void dockWindow(); 49 virtual void dockWindow();
50 virtual void undockWindow(); 50 virtual void undockWindow();
51 virtual void toggleInspectElementMode(bool enabled);
52 51
53 private: 52 private:
54 void OnRpcMessage(const std::string& class_name, 53 void OnRpcMessage(const std::string& class_name,
55 const std::string& method_name, 54 const std::string& method_name,
56 const std::string& param1, 55 const std::string& param1,
57 const std::string& param2, 56 const std::string& param2,
58 const std::string& param3); 57 const std::string& param3);
59 58
60 // Sends message to DevToolsAgent. 59 // Sends message to DevToolsAgent.
61 void Send(const IPC::Message& tools_agent_message); 60 void Send(const IPC::Message& tools_agent_message);
62 61
63 RenderView* render_view_; // host render view 62 RenderView* render_view_; // host render view
64 scoped_ptr<WebKit::WebDevToolsFrontend> web_tools_frontend_; 63 scoped_ptr<WebKit::WebDevToolsFrontend> web_tools_frontend_;
65 64
66 DISALLOW_COPY_AND_ASSIGN(DevToolsClient); 65 DISALLOW_COPY_AND_ASSIGN(DevToolsClient);
67 }; 66 };
68 67
69 #endif // CHROME_RENDERER_DEVTOOLS_CLIENT_H_ 68 #endif // CHROME_RENDERER_DEVTOOLS_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/common/render_messages_internal.h ('k') | chrome/renderer/devtools_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698