diff options
author | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-27 15:36:27 +0000 |
---|---|---|
committer | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-27 15:36:27 +0000 |
commit | 53d96fbbf880cad9f26d7f60941b6ea36baeb617 (patch) | |
tree | cdfed9fd6cf3efd18a205aeee216ab6a344ce5a2 /content/shell/shell_render_process_observer.cc | |
parent | f309053b6d0629741c5a2386131dcdce1001845d (diff) | |
download | chromium_src-53d96fbbf880cad9f26d7f60941b6ea36baeb617.zip chromium_src-53d96fbbf880cad9f26d7f60941b6ea36baeb617.tar.gz chromium_src-53d96fbbf880cad9f26d7f60941b6ea36baeb617.tar.bz2 |
[content shell] block loading of non-local resources during layout tests, and add support for rewriting layout test urls
BUG=111316
TBR=jam@chromium.org
Review URL: https://chromiumcodereview.appspot.com/11348246
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@169661 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/shell/shell_render_process_observer.cc')
-rw-r--r-- | content/shell/shell_render_process_observer.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/content/shell/shell_render_process_observer.cc b/content/shell/shell_render_process_observer.cc index 7c25ecf..ec26b6d 100644 --- a/content/shell/shell_render_process_observer.cc +++ b/content/shell/shell_render_process_observer.cc @@ -79,6 +79,7 @@ bool ShellRenderProcessObserver::OnControlMessageReceived( bool handled = true; IPC_BEGIN_MESSAGE_MAP(ShellRenderProcessObserver, message) IPC_MESSAGE_HANDLER(ShellViewMsg_ResetAll, OnResetAll) + IPC_MESSAGE_HANDLER(ShellViewMsg_SetWebKitSourceDir, OnSetWebKitSourceDir) IPC_MESSAGE_UNHANDLED(handled = false) IPC_END_MESSAGE_MAP() @@ -93,4 +94,9 @@ void ShellRenderProcessObserver::OnResetAll() { } } +void ShellRenderProcessObserver::OnSetWebKitSourceDir( + const FilePath& webkit_source_dir) { + webkit_source_dir_ = webkit_source_dir; +} + } // namespace content |