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

Unified Diff: chrome/renderer/render_view.h

Issue 204022: ExtensionShelf now uses the BookmarkExtensionBackground, just like the Bookma... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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
« no previous file with comments | « chrome/common/render_messages_internal.h ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/render_view.h
===================================================================
--- chrome/renderer/render_view.h (revision 26222)
+++ chrome/renderer/render_view.h (working copy)
@@ -405,9 +405,12 @@
void EvaluateScript(const std::wstring& frame_xpath,
const std::wstring& jscript);
- // Inserts a string of CSS in a particular frame.
+ // Inserts a string of CSS in a particular frame. |id| can be specified to
+ // give the CSS style element an id, and (if specified) will replace the
+ // element with the same id.
void InsertCSS(const std::wstring& frame_xpath,
- const std::string& css);
+ const std::string& css,
+ const std::string& id);
int delay_seconds_for_form_state_sync() const {
return delay_seconds_for_form_state_sync_;
@@ -590,7 +593,8 @@
void OnScriptEvalRequest(const std::wstring& frame_xpath,
const std::wstring& jscript);
void OnCSSInsertRequest(const std::wstring& frame_xpath,
- const std::string& css);
+ const std::string& css,
+ const std::string& id);
void OnAddMessageToConsole(const string16& frame_xpath,
const string16& message,
const WebKit::WebConsoleMessage::Level&);
« no previous file with comments | « chrome/common/render_messages_internal.h ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698