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

Unified Diff: extensions/renderer/dispatcher.cc

Issue 1312653003: Fix for WebView accessible resources. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments by kalman@. Created 5 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: extensions/renderer/dispatcher.cc
diff --git a/extensions/renderer/dispatcher.cc b/extensions/renderer/dispatcher.cc
index 34324e2be1bf10a27c375337e720fd03c5a85029..9cb4a91ced2032091ed8e4f81f379b09ce92031d 100644
--- a/extensions/renderer/dispatcher.cc
+++ b/extensions/renderer/dispatcher.cc
@@ -840,6 +840,8 @@ bool Dispatcher::OnControlMessageReceived(const IPC::Message& message) {
IPC_MESSAGE_HANDLER(ExtensionMsg_SetScriptingWhitelist,
OnSetScriptingWhitelist)
IPC_MESSAGE_HANDLER(ExtensionMsg_SetSystemFont, OnSetSystemFont)
+ IPC_MESSAGE_HANDLER(ExtensionMsg_SetWebViewPartitionID,
+ OnSetWebViewPartitionID)
IPC_MESSAGE_HANDLER(ExtensionMsg_ShouldSuspend, OnShouldSuspend)
IPC_MESSAGE_HANDLER(ExtensionMsg_Suspend, OnSuspend)
IPC_MESSAGE_HANDLER(ExtensionMsg_TransferBlobs, OnTransferBlobs)
@@ -1054,6 +1056,11 @@ void Dispatcher::OnSetSystemFont(const std::string& font_family,
system_font_size_ = font_size;
}
+void Dispatcher::OnSetWebViewPartitionID(const std::string& parition_id) {
+ if (delegate_)
+ delegate_->SetWebViewPartitionID(parition_id);
not at google - send to devlin 2015/08/31 18:31:44 Despite my earlier comments on the renderer, you m
paulmeyer 2015/08/31 21:40:08 Done.
+}
+
void Dispatcher::OnShouldSuspend(const std::string& extension_id,
uint64 sequence_id) {
RenderThread::Get()->Send(

Powered by Google App Engine
This is Rietveld 408576698