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

Unified Diff: chrome/test/chromedriver/chrome/web_view.h

Issue 34773002: Adding an api to get number of event listeners. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Adding some more files to the patch set. Created 7 years, 2 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: chrome/test/chromedriver/chrome/web_view.h
diff --git a/chrome/test/chromedriver/chrome/web_view.h b/chrome/test/chromedriver/chrome/web_view.h
index d84304a944234167e85962ce51c4dd4408c5a2d3..f212038b91beeb7781e2b8ceb378eaf28767d7f0 100644
--- a/chrome/test/chromedriver/chrome/web_view.h
+++ b/chrome/test/chromedriver/chrome/web_view.h
@@ -151,6 +151,9 @@ class WebView {
// 1. A meta data element "snapshot" about how to parse data elements.
// 2. Data elements: "nodes", "edges", "strings".
virtual Status TakeHeapSnapshot(scoped_ptr<base::Value>* snapshot) = 0;
+
+ // Get the number of event listeners in the page.
+ virtual Status GetEventListenersCount(int* count) = 0;
};
#endif // CHROME_TEST_CHROMEDRIVER_CHROME_WEB_VIEW_H_

Powered by Google App Engine
This is Rietveld 408576698