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

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

Issue 421005: Make executeScript and insertCSS inject code into all frames.... (Closed) Base URL: svn://chrome-svn/chrome/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
« no previous file with comments | « chrome/browser/tab_contents/tab_contents.h ('k') | chrome/common/extensions/api/extension_api.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_contents/tab_contents.cc
===================================================================
--- chrome/browser/tab_contents/tab_contents.cc (revision 32611)
+++ 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) {
« no previous file with comments | « chrome/browser/tab_contents/tab_contents.h ('k') | chrome/common/extensions/api/extension_api.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698