| Index: chrome/renderer/render_view.h
|
| ===================================================================
|
| --- chrome/renderer/render_view.h (revision 25988)
|
| +++ chrome/renderer/render_view.h (working copy)
|
| @@ -403,9 +403,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_;
|
| @@ -584,7 +587,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&);
|
|
|