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

Side by Side Diff: chrome/browser/renderer_host/render_view_host.cc

Issue 42435: Implement default css for toolstrips. (Closed)
Patch Set: Fix crash Created 11 years, 9 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/renderer_host/render_view_host.h" 5 #include "chrome/browser/renderer_host/render_view_host.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/gfx/native_widget_types.h" 10 #include "base/gfx/native_widget_types.h"
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after
417 417
418 void RenderViewHost::ReservePageIDRange(int size) { 418 void RenderViewHost::ReservePageIDRange(int size) {
419 Send(new ViewMsg_ReservePageIDRange(routing_id(), size)); 419 Send(new ViewMsg_ReservePageIDRange(routing_id(), size));
420 } 420 }
421 421
422 void RenderViewHost::ExecuteJavascriptInWebFrame( 422 void RenderViewHost::ExecuteJavascriptInWebFrame(
423 const std::wstring& frame_xpath, const std::wstring& jscript) { 423 const std::wstring& frame_xpath, const std::wstring& jscript) {
424 Send(new ViewMsg_ScriptEvalRequest(routing_id(), frame_xpath, jscript)); 424 Send(new ViewMsg_ScriptEvalRequest(routing_id(), frame_xpath, jscript));
425 } 425 }
426 426
427 void RenderViewHost::InsertCSSInWebFrame(
428 const std::wstring& frame_xpath, const std::string& css) {
429 Send(new ViewMsg_CSSInsertRequest(routing_id(), frame_xpath, css));
430 }
431
427 void RenderViewHost::AddMessageToConsole( 432 void RenderViewHost::AddMessageToConsole(
428 const std::wstring& frame_xpath, const std::wstring& msg, 433 const std::wstring& frame_xpath, const std::wstring& msg,
429 ConsoleMessageLevel level) { 434 ConsoleMessageLevel level) {
430 Send(new ViewMsg_AddMessageToConsole(routing_id(), frame_xpath, msg, level)); 435 Send(new ViewMsg_AddMessageToConsole(routing_id(), frame_xpath, msg, level));
431 } 436 }
432 437
433 void RenderViewHost::DebugCommand(const std::wstring& cmd) { 438 void RenderViewHost::DebugCommand(const std::wstring& cmd) {
434 Send(new ViewMsg_DebugCommand(routing_id(), cmd)); 439 Send(new ViewMsg_DebugCommand(routing_id(), cmd));
435 } 440 }
436 441
(...skipping 901 matching lines...) Expand 10 before | Expand all | Expand 10 after
1338 Send(new ViewMsg_PersonalizationEvent(routing_id(), event_name, event_arg)); 1343 Send(new ViewMsg_PersonalizationEvent(routing_id(), event_name, event_arg));
1339 } 1344 }
1340 #endif 1345 #endif
1341 1346
1342 void RenderViewHost::ForwardMessageFromExternalHost(const std::string& message, 1347 void RenderViewHost::ForwardMessageFromExternalHost(const std::string& message,
1343 const std::string& origin, 1348 const std::string& origin,
1344 const std::string& target) { 1349 const std::string& target) {
1345 Send(new ViewMsg_HandleMessageFromExternalHost(routing_id(), message, origin, 1350 Send(new ViewMsg_HandleMessageFromExternalHost(routing_id(), message, origin,
1346 target)); 1351 target));
1347 } 1352 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698