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

Unified Diff: content/renderer/render_widget.h

Issue 2499623002: Make PostTask and Send failures in input routing fatal. (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « content/renderer/input/input_event_filter.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_widget.h
diff --git a/content/renderer/render_widget.h b/content/renderer/render_widget.h
index dc1b377659a85dbc4d02814ad14242c7a6163357..00ff4e678908fd2e29d0198d9dcda510635e9a4c 100644
--- a/content/renderer/render_widget.h
+++ b/content/renderer/render_widget.h
@@ -812,6 +812,9 @@ class CONTENT_EXPORT RenderWidget
blink::WebPopupType popup_type,
int32_t* routing_id);
+ // A variant of Send but is fatal if it fails.
Charlie Reis 2016/11/11 18:01:52 Please expand a bit in the comment to say why this
+ void SendOrCrash(IPC::Message* msg);
+
// Indicates whether this widget has focus.
bool has_focus_;
« no previous file with comments | « content/renderer/input/input_event_filter.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698