diff options
author | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-19 23:35:50 +0000 |
---|---|---|
committer | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-19 23:35:50 +0000 |
commit | 2ccf45c50fad0f2c3c20d95eef6d0040b565b291 (patch) | |
tree | 73eac41769a4678fcdb566e78d6e3bde7c10617c /chrome/browser/ui/tab_contents | |
parent | da930e1b7adfb28f6895d95004c25984af627080 (diff) | |
download | chromium_src-2ccf45c50fad0f2c3c20d95eef6d0040b565b291.zip chromium_src-2ccf45c50fad0f2c3c20d95eef6d0040b565b291.tar.gz chromium_src-2ccf45c50fad0f2c3c20d95eef6d0040b565b291.tar.bz2 |
Prefix all IPC messages used by src\chrome with Chrome. For e.g ChromeViewMsg_, ChromeViewHostMsg, etc.
This makes it easier to identify which messages are specific to content and chrome.
This is a preparation CL for bug http://code.google.com/p/chromium/issues/detail?id=87335 which
requires IPC's to not span across content and chrome. When IPC's cross these boundaries they need
to be handled as API calls.
BUG=87335
Review URL: http://codereview.chromium.org/7631063
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97536 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/tab_contents')
-rw-r--r-- | chrome/browser/ui/tab_contents/tab_contents_wrapper.cc | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/chrome/browser/ui/tab_contents/tab_contents_wrapper.cc b/chrome/browser/ui/tab_contents/tab_contents_wrapper.cc index 28d7f0b..f1528db 100644 --- a/chrome/browser/ui/tab_contents/tab_contents_wrapper.cc +++ b/chrome/browser/ui/tab_contents/tab_contents_wrapper.cc @@ -366,7 +366,7 @@ TabContentsWrapper* TabContentsWrapper::Clone() { } void TabContentsWrapper::CaptureSnapshot() { - Send(new ViewMsg_CaptureSnapshot(routing_id())); + Send(new ChromeViewMsg_CaptureSnapshot(routing_id())); } // static @@ -426,12 +426,12 @@ bool TabContentsWrapper::OnMessageReceived(const IPC::Message& message) { OnRegisterIntentHandler) IPC_MESSAGE_HANDLER(ViewHostMsg_WebIntentDispatch, OnWebIntentDispatch) - IPC_MESSAGE_HANDLER(ViewHostMsg_Snapshot, OnSnapshot) + IPC_MESSAGE_HANDLER(ChromeViewHostMsg_Snapshot, OnSnapshot) IPC_MESSAGE_HANDLER(ViewHostMsg_PDFHasUnsupportedFeature, OnPDFHasUnsupportedFeature) - IPC_MESSAGE_HANDLER(ViewHostMsg_DidBlockDisplayingInsecureContent, + IPC_MESSAGE_HANDLER(ChromeViewHostMsg_DidBlockDisplayingInsecureContent, OnDidBlockDisplayingInsecureContent) - IPC_MESSAGE_HANDLER(ViewHostMsg_DidBlockRunningInsecureContent, + IPC_MESSAGE_HANDLER(ChromeViewHostMsg_DidBlockRunningInsecureContent, OnDidBlockRunningInsecureContent) IPC_MESSAGE_UNHANDLED(handled = false) IPC_END_MESSAGE_MAP() @@ -724,7 +724,8 @@ void TabContentsWrapper::UpdateSafebrowsingDetectionHost() { safebrowsing_detection_host_.reset(); } render_view_host()->Send( - new ViewMsg_SetClientSidePhishingDetection(routing_id(), safe_browsing)); + new ChromeViewMsg_SetClientSidePhishingDetection(routing_id(), + safe_browsing)); #endif } |