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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorInspectorAgent.h

Issue 1828983002: Revert of [DevTools] Use InspectorFrontendHost.readyForTest for layout tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ready-for-test
Patch Set: Created 4 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/inspector/InspectorInspectorAgent.h
diff --git a/third_party/WebKit/Source/core/inspector/InspectorInspectorAgent.h b/third_party/WebKit/Source/core/inspector/InspectorInspectorAgent.h
index ba8fc6971432041880f30ec9a13a9e8c8e8afb25..41e6012ac38c4c27cd47aedb259aa0f262c7552c 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorInspectorAgent.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorInspectorAgent.h
@@ -37,6 +37,8 @@
namespace blink {
+class LocalFrame;
+
namespace protocol {
class DictionaryValue;
}
@@ -53,12 +55,20 @@
// Inspector front-end API.
void enable(ErrorString*) override;
+
+ // InspectorAgent overrides.
void disable(ErrorString*) override;
+ void restore() override;
+
+ // Generic code called from custom implementations.
+ void evaluateForTestInFrontend(long testCallId, const String& script);
void inspect(PassOwnPtr<protocol::Runtime::RemoteObject> objectToInspect, PassOwnPtr<protocol::DictionaryValue> hints);
private:
InspectorInspectorAgent();
+
+ Vector<std::pair<long, String>> m_pendingEvaluateTestCommands;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698