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

Unified Diff: chrome/browser/tab_contents/tab_contents.cc

Issue 401007: Make executeScript and insertCSS inject code into all frames. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 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
Index: chrome/browser/tab_contents/tab_contents.cc
===================================================================
--- chrome/browser/tab_contents/tab_contents.cc (revision 32199)
+++ chrome/browser/tab_contents/tab_contents.cc (working copy)
@@ -815,10 +815,12 @@
}
void TabContents::ExecuteCode(int request_id, const std::string& extension_id,
- bool is_js_code, const std::string& code_string) {
+ bool is_js_code, const std::string& code_string,
+ bool all_frames) {
render_view_host()->Send(
new ViewMsg_ExecuteCode(render_view_host()->routing_id(), request_id,
- extension_id, is_js_code, code_string));
+ extension_id, is_js_code, code_string,
+ all_frames));
}
void TabContents::PopupNotificationVisibilityChanged(bool visible) {

Powered by Google App Engine
This is Rietveld 408576698