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

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

Issue 8622005: Get rid of view_messages.h include from chrome since TabContentsDelegate used a struct from it (V... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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
« no previous file with comments | « chrome/browser/external_tab_container_win.h ('k') | chrome/browser/file_select_helper.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 674 matching lines...) Expand 10 before | Expand all | Expand 10 after
685 *proceed_to_fire_unload = false; 685 *proceed_to_fire_unload = false;
686 } 686 }
687 } 687 }
688 688
689 void ExternalTabContainer::ShowRepostFormWarningDialog( 689 void ExternalTabContainer::ShowRepostFormWarningDialog(
690 TabContents* tab_contents) { 690 TabContents* tab_contents) {
691 browser::ShowRepostFormWarningDialog(GetNativeView(), tab_contents); 691 browser::ShowRepostFormWarningDialog(GetNativeView(), tab_contents);
692 } 692 }
693 693
694 void ExternalTabContainer::RunFileChooser( 694 void ExternalTabContainer::RunFileChooser(
695 TabContents* tab, const ViewHostMsg_RunFileChooser_Params& params) { 695 TabContents* tab, const content::FileChooserParams& params) {
696 Browser::RunFileChooserHelper(tab, params); 696 Browser::RunFileChooserHelper(tab, params);
697 } 697 }
698 698
699 void ExternalTabContainer::EnumerateDirectory(TabContents* tab, int request_id, 699 void ExternalTabContainer::EnumerateDirectory(TabContents* tab, int request_id,
700 const FilePath& path) { 700 const FilePath& path) {
701 Browser::EnumerateDirectoryHelper(tab, request_id, path); 701 Browser::EnumerateDirectoryHelper(tab, request_id, path);
702 } 702 }
703 703
704 void ExternalTabContainer::JSOutOfMemory(TabContents* tab) { 704 void ExternalTabContainer::JSOutOfMemory(TabContents* tab) {
705 Browser::JSOutOfMemoryHelper(tab); 705 Browser::JSOutOfMemoryHelper(tab);
(...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after
1175 if (params.disposition == CURRENT_TAB) { 1175 if (params.disposition == CURRENT_TAB) {
1176 DCHECK(route_all_top_level_navigations_); 1176 DCHECK(route_all_top_level_navigations_);
1177 forward_params.disposition = NEW_FOREGROUND_TAB; 1177 forward_params.disposition = NEW_FOREGROUND_TAB;
1178 } 1178 }
1179 TabContents* new_contents = 1179 TabContents* new_contents =
1180 ExternalTabContainer::OpenURLFromTab(source, forward_params); 1180 ExternalTabContainer::OpenURLFromTab(source, forward_params);
1181 // support only one navigation for a dummy tab before it is killed. 1181 // support only one navigation for a dummy tab before it is killed.
1182 ::DestroyWindow(GetNativeView()); 1182 ::DestroyWindow(GetNativeView());
1183 return new_contents; 1183 return new_contents;
1184 } 1184 }
OLDNEW
« no previous file with comments | « chrome/browser/external_tab_container_win.h ('k') | chrome/browser/file_select_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698