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

Side by Side Diff: webkit/api/public/WebDevToolsAgent.h

Issue 343075: DevTools: support cross-navigation instrumentation. (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/renderer/devtools_agent.cc ('k') | webkit/api/public/WebDevToolsAgentClient.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 virtual void didNavigate() = 0; 45 virtual void didNavigate() = 0;
46 46
47 virtual void dispatchMessageFromFrontend(const WebString& className, 47 virtual void dispatchMessageFromFrontend(const WebString& className,
48 const WebString& methodName, 48 const WebString& methodName,
49 const WebString& param1, 49 const WebString& param1,
50 const WebString& param2, 50 const WebString& param2,
51 const WebString& param3) = 0; 51 const WebString& param3) = 0;
52 52
53 virtual void inspectElementAt(const WebPoint&) = 0; 53 virtual void inspectElementAt(const WebPoint&) = 0;
54 54
55 virtual void setApuAgentEnabled(bool enabled) = 0; 55 virtual void setRuntimeFeatureEnabled(const WebString& feature, bool enabled) = 0;
56 56
57 // Asynchronously executes debugger command in the render thread. 57 // Asynchronously executes debugger command in the render thread.
58 // |caller_id| will be used for sending response. 58 // |callerIdentifier| will be used for sending response.
59 WEBKIT_API static void executeDebuggerCommand( 59 WEBKIT_API static void executeDebuggerCommand(
60 const WebString& command, int callerIdentifier); 60 const WebString& command, int callerIdentifier);
61 61
62 typedef void (*MessageLoopDispatchHandler)(); 62 typedef void (*MessageLoopDispatchHandler)();
63 63
64 // Installs dispatch handle that is going to be called periodically 64 // Installs dispatch handle that is going to be called periodically
65 // while on a breakpoint. 65 // while on a breakpoint.
66 static void setMessageLoopDispatchHandler(MessageLoopDispatchHandler); 66 static void setMessageLoopDispatchHandler(MessageLoopDispatchHandler);
67 67
68 protected: 68 protected:
69 ~WebDevToolsAgent() {} 69 ~WebDevToolsAgent() {}
70 }; 70 };
71 71
72 } // namespace WebKit 72 } // namespace WebKit
73 73
74 #endif 74 #endif
OLDNEW
« no previous file with comments | « chrome/renderer/devtools_agent.cc ('k') | webkit/api/public/WebDevToolsAgentClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698