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

Unified Diff: content/browser/frame_host/render_frame_host_delegate.h

Issue 157713002: Switch DomAutomationController to be a RenderFrameObserver. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add notification to interstitialpageimpl 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: content/browser/frame_host/render_frame_host_delegate.h
diff --git a/content/browser/frame_host/render_frame_host_delegate.h b/content/browser/frame_host/render_frame_host_delegate.h
index b23223eb2ab40cf96a00d2f45ab88862a6a8a903..a4fa7391481827e1e8e3571d5a53fa0b612c86a8 100644
--- a/content/browser/frame_host/render_frame_host_delegate.h
+++ b/content/browser/frame_host/render_frame_host_delegate.h
@@ -14,6 +14,7 @@ class Message;
namespace content {
class RenderFrameHost;
class WebContents;
+struct DomOperationNotificationDetails;
struct ContextMenuParams;
// An interface implemented by an object interested in knowing about the state
@@ -38,6 +39,11 @@ class CONTENT_EXPORT RenderFrameHostDelegate {
virtual void ShowContextMenu(RenderFrameHost* render_frame_host,
const ContextMenuParams& params) {}
+ // A notification that the JavaScript running in the renderer has sent a value
+ // back to the browser using the DomAutomationController.
+ virtual void OnDomOperationResponse(
+ const DomOperationNotificationDetails& details) {}
+
// Return this object cast to a WebContents, if it is one. If the object is
// not a WebContents, returns NULL.
virtual WebContents* GetAsWebContents();

Powered by Google App Engine
This is Rietveld 408576698