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

Unified Diff: content/renderer/render_frame_impl.h

Issue 518583003: Don't take a fake UGI every time we execute Javascript. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update test expectation Created 6 years, 3 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/renderer/render_frame_impl.h
diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h
index 9fc05417c912928330233b1b6872a0f3333cc4d4..2e21207a80e7d42e365679087b1e59e1429226e9 100644
--- a/content/renderer/render_frame_impl.h
+++ b/content/renderer/render_frame_impl.h
@@ -517,6 +517,13 @@ class CONTENT_EXPORT RenderFrameImpl
void OnJavaScriptExecuteRequest(const base::string16& javascript,
int id,
bool notify_result);
+ void OnJavaScriptExecuteRequestForTests(const base::string16& javascript,
+ int id,
+ bool notify_result);
+ void HandleJavascriptExecutionResult(const base::string16& javascript,
jamesr 2014/09/03 20:22:11 this is not an IPC message handler. please move it
Zeeshan Qureshi 2014/09/03 21:18:09 Done.
+ int id,
+ bool notify_result,
+ v8::Handle<v8::Value> result);
void OnSetEditableSelectionOffsets(int start, int end);
void OnSetCompositionFromExistingText(
int start, int end,

Powered by Google App Engine
This is Rietveld 408576698