| Index: chrome/browser/renderer_host/render_view_host.cc
|
| ===================================================================
|
| --- chrome/browser/renderer_host/render_view_host.cc (revision 25988)
|
| +++ chrome/browser/renderer_host/render_view_host.cc (working copy)
|
| @@ -506,8 +506,10 @@
|
| }
|
|
|
| void RenderViewHost::InsertCSSInWebFrame(
|
| - const std::wstring& frame_xpath, const std::string& css) {
|
| - Send(new ViewMsg_CSSInsertRequest(routing_id(), frame_xpath, css));
|
| + const std::wstring& frame_xpath,
|
| + const std::string& css,
|
| + const std::string& id) {
|
| + Send(new ViewMsg_CSSInsertRequest(routing_id(), frame_xpath, css, id));
|
| }
|
|
|
| void RenderViewHost::AddMessageToConsole(
|
| @@ -600,7 +602,7 @@
|
| }
|
|
|
| void RenderViewHost::JavaScriptMessageBoxWindowDestroyed() {
|
| - ResetModalDialogEvent();
|
| + ResetModalDialogEvent();
|
| }
|
|
|
| void RenderViewHost::ModalHTMLDialogClosed(IPC::Message* reply_msg,
|
| @@ -1100,7 +1102,7 @@
|
|
|
| void RenderViewHost::OnDeterminePageTextReply(
|
| const std::wstring& page_text) {
|
| -#if defined(OS_WIN) // Only for windows.
|
| +#if defined(OS_WIN) // Only for windows.
|
| int num_languages = 0;
|
| bool is_reliable = false;
|
| const char* language_iso_code = LanguageCodeISO639_1(
|
| @@ -1660,8 +1662,8 @@
|
| }
|
|
|
| void RenderViewHost::ResetModalDialogEvent() {
|
| - if (--modal_dialog_count_ == 0)
|
| - modal_dialog_event_->Reset();
|
| + if (--modal_dialog_count_ == 0)
|
| + modal_dialog_event_->Reset();
|
| }
|
|
|
| void RenderViewHost::UpdateBrowserWindowId(int window_id) {
|
|
|