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

Side by Side Diff: third_party/WebKit/public/web/WebDevToolsAgent.h

Issue 1967933002: [DevTools] Dispatch messages to V8InspectorSession directly. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@1936593002
Patch Set: rebased Created 4 years, 7 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
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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 virtual void failedToRequestDevTools() = 0; 55 virtual void failedToRequestDevTools() = 0;
56 56
57 // Exposed for TestRunner. 57 // Exposed for TestRunner.
58 virtual WebString evaluateInWebInspectorOverlay(const WebString& script) = 0 ; 58 virtual WebString evaluateInWebInspectorOverlay(const WebString& script) = 0 ;
59 59
60 class MessageDescriptor { 60 class MessageDescriptor {
61 public: 61 public:
62 virtual ~MessageDescriptor() { } 62 virtual ~MessageDescriptor() { }
63 virtual WebDevToolsAgent* agent() = 0; 63 virtual WebDevToolsAgent* agent() = 0;
64 virtual WebString message() = 0; 64 virtual WebString message() = 0;
65 virtual WebString method() = 0;
65 }; 66 };
66 // Asynchronously request debugger to pause immediately and run the command. 67 // Asynchronously request debugger to pause immediately and run the command.
67 BLINK_EXPORT static void interruptAndDispatch(int sessionId, MessageDescript or*); 68 BLINK_EXPORT static void interruptAndDispatch(int sessionId, MessageDescript or*);
68 BLINK_EXPORT static bool shouldInterruptForMethod(const WebString&); 69 BLINK_EXPORT static bool shouldInterruptForMethod(const WebString&);
69 70
70 }; 71 };
71 72
72 } // namespace blink 73 } // namespace blink
73 74
74 #endif 75 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698