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

Unified Diff: chrome/test/base/javascript_test_observer.h

Issue 157713002: Switch DomAutomationController to be a RenderFrameObserver. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nasko@ CR feedback Created 6 years, 10 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/base/javascript_test_observer.h
diff --git a/chrome/test/base/javascript_test_observer.h b/chrome/test/base/javascript_test_observer.h
index 835cc721ddb6aa4362a83e70384ad533ebfdaf0c..a35ea92e4f9e083b86e8fb8ddda4ddb019158f2f 100644
--- a/chrome/test/base/javascript_test_observer.h
+++ b/chrome/test/base/javascript_test_observer.h
@@ -16,7 +16,7 @@ class DictionaryValue;
}
namespace content {
-class RenderViewHost;
+class WebContents;
}
// Base class for handling a stream of automation messages produced by a
@@ -61,7 +61,7 @@ class JavascriptTestObserver : public content::NotificationObserver {
// The observer does not own any arguments passed to it. It is assumed that
// the arguments will outlive all uses of the observer.
JavascriptTestObserver(
- content::RenderViewHost* render_view_host,
+ content::WebContents* web_contents,
TestMessageHandler* handler);
virtual ~JavascriptTestObserver();

Powered by Google App Engine
This is Rietveld 408576698