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

Side by Side Diff: chrome/browser/external_tab_container_win.cc

Issue 7631063: Prefix all IPC messages used by src\chrome with Chrome. For e.g ChromeViewMsg_, ChromeViewHostMsg... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/external_tab_container_win.h" 5 #include "chrome/browser/external_tab_container_win.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/debug/trace_event.h" 9 #include "base/debug/trace_event.h"
10 #include "base/i18n/rtl.h" 10 #include "base/i18n/rtl.h"
(...skipping 719 matching lines...) Expand 10 before | Expand all | Expand 10 after
730 } 730 }
731 731
732 void ExternalTabContainer::ShowRepostFormWarningDialog( 732 void ExternalTabContainer::ShowRepostFormWarningDialog(
733 TabContents* tab_contents) { 733 TabContents* tab_contents) {
734 browser::ShowRepostFormWarningDialog(GetNativeView(), tab_contents); 734 browser::ShowRepostFormWarningDialog(GetNativeView(), tab_contents);
735 } 735 }
736 736
737 bool ExternalTabContainer::OnMessageReceived(const IPC::Message& message) { 737 bool ExternalTabContainer::OnMessageReceived(const IPC::Message& message) {
738 bool handled = true; 738 bool handled = true;
739 IPC_BEGIN_MESSAGE_MAP(ExternalTabContainer, message) 739 IPC_BEGIN_MESSAGE_MAP(ExternalTabContainer, message)
740 IPC_MESSAGE_HANDLER(ViewHostMsg_ForwardMessageToExternalHost, 740 IPC_MESSAGE_HANDLER(ChromeViewHostMsg_ForwardMessageToExternalHost,
741 OnForwardMessageToExternalHost) 741 OnForwardMessageToExternalHost)
742 IPC_MESSAGE_UNHANDLED(handled = false) 742 IPC_MESSAGE_UNHANDLED(handled = false)
743 IPC_END_MESSAGE_MAP() 743 IPC_END_MESSAGE_MAP()
744 return handled; 744 return handled;
745 } 745 }
746 746
747 void ExternalTabContainer::OnForwardMessageToExternalHost( 747 void ExternalTabContainer::OnForwardMessageToExternalHost(
748 const std::string& message, 748 const std::string& message,
749 const std::string& origin, 749 const std::string& origin,
750 const std::string& target) { 750 const std::string& target) {
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
1156 if (params.disposition == CURRENT_TAB) { 1156 if (params.disposition == CURRENT_TAB) {
1157 DCHECK(route_all_top_level_navigations_); 1157 DCHECK(route_all_top_level_navigations_);
1158 forward_params.disposition = NEW_FOREGROUND_TAB; 1158 forward_params.disposition = NEW_FOREGROUND_TAB;
1159 } 1159 }
1160 TabContents* new_contents = 1160 TabContents* new_contents =
1161 ExternalTabContainer::OpenURLFromTab(source, forward_params); 1161 ExternalTabContainer::OpenURLFromTab(source, forward_params);
1162 // support only one navigation for a dummy tab before it is killed. 1162 // support only one navigation for a dummy tab before it is killed.
1163 ::DestroyWindow(GetNativeView()); 1163 ::DestroyWindow(GetNativeView());
1164 return new_contents; 1164 return new_contents;
1165 } 1165 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/sandboxed_extension_unpacker.cc ('k') | chrome/browser/history/history_tab_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698