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

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: 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: 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 b6ebfa9fd35c34a5df1222edbf529c7d87133ea8..dede08f05a10dd80652b7b4e05eec5310e610873 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
@@ -46,6 +47,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