summaryrefslogtreecommitdiffstats
path: root/content/shell/shell_render_process_observer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/shell/shell_render_process_observer.cc')
-rw-r--r--content/shell/shell_render_process_observer.cc6
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