summaryrefslogtreecommitdiffstats
path: root/chrome/browser/external_tab_container_win.cc
diff options
context:
space:
mode:
authorananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-24 18:26:21 +0000
committerananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-24 18:26:21 +0000
commit3a29a6eb503d6b73bbc1c9c9dd58614547190ae1 (patch)
tree554a8fec764691de7d0c9ca9f7c8549b33a08050 /chrome/browser/external_tab_container_win.cc
parent8a9bc222357bbf7eb6be477ffd74521ca2e82944 (diff)
downloadchromium_src-3a29a6eb503d6b73bbc1c9c9dd58614547190ae1.zip
chromium_src-3a29a6eb503d6b73bbc1c9c9dd58614547190ae1.tar.gz
chromium_src-3a29a6eb503d6b73bbc1c9c9dd58614547190ae1.tar.bz2
Handle the ViewHostMsg_RunFileChooser and ViewHostMsg_EnumerateDirectory IPC messages which are sent
by content(renderer) via the TabContentsDelegate. We eventually want to get rid of the pattern of sending IPC messages from content and handling them in chrome and vice versa. BUG=87335 Review URL: http://codereview.chromium.org/7721003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98081 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/external_tab_container_win.cc')
-rw-r--r--chrome/browser/external_tab_container_win.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/chrome/browser/external_tab_container_win.cc b/chrome/browser/external_tab_container_win.cc
index aa66e70..a1c346a 100644
--- a/chrome/browser/external_tab_container_win.cc
+++ b/chrome/browser/external_tab_container_win.cc
@@ -734,6 +734,16 @@ void ExternalTabContainer::ShowRepostFormWarningDialog(
browser::ShowRepostFormWarningDialog(GetNativeView(), tab_contents);
}
+void ExternalTabContainer::RunFileChooser(
+ TabContents* tab, const ViewHostMsg_RunFileChooser_Params& params) {
+ Browser::RunFileChooserHelper(tab, params);
+}
+
+void ExternalTabContainer::EnumerateDirectory(TabContents* tab, int request_id,
+ const FilePath& path) {
+ Browser::EnumerateDirectoryHelper(tab, request_id, path);
+}
+
bool ExternalTabContainer::OnMessageReceived(const IPC::Message& message) {
bool handled = true;
IPC_BEGIN_MESSAGE_MAP(ExternalTabContainer, message)