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

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

Issue 19073003: Update some includes of chrome_notification_types.h (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 5 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/ui/views/external_tab_container_win.h" 5 #include "chrome/browser/ui/views/external_tab_container_win.h"
6 6
7 #include <atlbase.h> 7 #include <atlbase.h>
8 #include <atlapp.h> 8 #include <atlapp.h>
9 #include <atlconv.h> 9 #include <atlconv.h>
10 #include <atlcrack.h> 10 #include <atlcrack.h>
11 #include <atlmisc.h> 11 #include <atlmisc.h>
12 #include <string> 12 #include <string>
13 13
14 #include "base/bind.h" 14 #include "base/bind.h"
15 #include "base/bind_helpers.h" 15 #include "base/bind_helpers.h"
16 #include "base/debug/trace_event.h" 16 #include "base/debug/trace_event.h"
17 #include "base/i18n/rtl.h" 17 #include "base/i18n/rtl.h"
18 #include "base/logging.h" 18 #include "base/logging.h"
19 #include "base/memory/scoped_ptr.h" 19 #include "base/memory/scoped_ptr.h"
20 #include "base/strings/string16.h" 20 #include "base/strings/string16.h"
21 #include "base/strings/utf_string_conversions.h" 21 #include "base/strings/utf_string_conversions.h"
22 #include "base/time/time.h" 22 #include "base/time/time.h"
23 #include "base/win/win_util.h" 23 #include "base/win/win_util.h"
24 #include "chrome/app/chrome_command_ids.h" 24 #include "chrome/app/chrome_command_ids.h"
25 #include "chrome/app/chrome_dll_resource.h" 25 #include "chrome/app/chrome_dll_resource.h"
26 #include "chrome/browser/automation/automation_provider.h" 26 #include "chrome/browser/automation/automation_provider.h"
27 #include "chrome/browser/chrome_notification_types.h"
27 #include "chrome/browser/devtools/devtools_toggle_action.h" 28 #include "chrome/browser/devtools/devtools_toggle_action.h"
28 #include "chrome/browser/devtools/devtools_window.h" 29 #include "chrome/browser/devtools/devtools_window.h"
29 #include "chrome/browser/file_select_helper.h" 30 #include "chrome/browser/file_select_helper.h"
30 #include "chrome/browser/history/history_tab_helper.h" 31 #include "chrome/browser/history/history_tab_helper.h"
31 #include "chrome/browser/history/history_types.h" 32 #include "chrome/browser/history/history_types.h"
32 #include "chrome/browser/infobars/infobar_service.h" 33 #include "chrome/browser/infobars/infobar_service.h"
33 #include "chrome/browser/media/media_stream_infobar_delegate.h" 34 #include "chrome/browser/media/media_stream_infobar_delegate.h"
34 #include "chrome/browser/pepper_broker_infobar_delegate.h" 35 #include "chrome/browser/pepper_broker_infobar_delegate.h"
35 #include "chrome/browser/profiles/profile.h" 36 #include "chrome/browser/profiles/profile.h"
36 #include "chrome/browser/repost_form_warning_controller.h" 37 #include "chrome/browser/repost_form_warning_controller.h"
37 #include "chrome/browser/themes/theme_properties.h" 38 #include "chrome/browser/themes/theme_properties.h"
38 #include "chrome/browser/ui/app_modal_dialogs/javascript_dialog_manager.h" 39 #include "chrome/browser/ui/app_modal_dialogs/javascript_dialog_manager.h"
39 #include "chrome/browser/ui/blocked_content/blocked_content_tab_helper.h" 40 #include "chrome/browser/ui/blocked_content/blocked_content_tab_helper.h"
40 #include "chrome/browser/ui/browser.h" 41 #include "chrome/browser/ui/browser.h"
41 #include "chrome/browser/ui/browser_dialogs.h" 42 #include "chrome/browser/ui/browser_dialogs.h"
42 #include "chrome/browser/ui/browser_tab_contents.h" 43 #include "chrome/browser/ui/browser_tab_contents.h"
43 #include "chrome/browser/ui/browser_window.h" 44 #include "chrome/browser/ui/browser_window.h"
44 #include "chrome/browser/ui/tab_modal_confirm_dialog.h" 45 #include "chrome/browser/ui/tab_modal_confirm_dialog.h"
45 #include "chrome/browser/ui/views/infobars/infobar_container_view.h" 46 #include "chrome/browser/ui/views/infobars/infobar_container_view.h"
46 #include "chrome/browser/ui/views/tab_contents/render_view_context_menu_win.h" 47 #include "chrome/browser/ui/views/tab_contents/render_view_context_menu_win.h"
47 #include "chrome/common/automation_messages.h" 48 #include "chrome/common/automation_messages.h"
48 #include "chrome/common/chrome_constants.h" 49 #include "chrome/common/chrome_constants.h"
49 #include "chrome/common/chrome_notification_types.h"
50 #include "chrome/common/render_messages.h" 50 #include "chrome/common/render_messages.h"
51 #include "chrome/common/url_constants.h" 51 #include "chrome/common/url_constants.h"
52 #include "content/public/browser/load_notification_details.h" 52 #include "content/public/browser/load_notification_details.h"
53 #include "content/public/browser/native_web_keyboard_event.h" 53 #include "content/public/browser/native_web_keyboard_event.h"
54 #include "content/public/browser/navigation_details.h" 54 #include "content/public/browser/navigation_details.h"
55 #include "content/public/browser/navigation_entry.h" 55 #include "content/public/browser/navigation_entry.h"
56 #include "content/public/browser/notification_service.h" 56 #include "content/public/browser/notification_service.h"
57 #include "content/public/browser/render_process_host.h" 57 #include "content/public/browser/render_process_host.h"
58 #include "content/public/browser/render_view_host.h" 58 #include "content/public/browser/render_view_host.h"
59 #include "content/public/browser/web_contents.h" 59 #include "content/public/browser/web_contents.h"
(...skipping 1388 matching lines...) Expand 10 before | Expand all | Expand 10 after
1448 if (params.disposition == CURRENT_TAB) { 1448 if (params.disposition == CURRENT_TAB) {
1449 DCHECK(route_all_top_level_navigations_); 1449 DCHECK(route_all_top_level_navigations_);
1450 forward_params.disposition = NEW_FOREGROUND_TAB; 1450 forward_params.disposition = NEW_FOREGROUND_TAB;
1451 } 1451 }
1452 WebContents* new_contents = 1452 WebContents* new_contents =
1453 ExternalTabContainerWin::OpenURLFromTab(source, forward_params); 1453 ExternalTabContainerWin::OpenURLFromTab(source, forward_params);
1454 // support only one navigation for a dummy tab before it is killed. 1454 // support only one navigation for a dummy tab before it is killed.
1455 widget_->CloseNow(); 1455 widget_->CloseNow();
1456 return new_contents; 1456 return new_contents;
1457 } 1457 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/extensions/extension_popup.cc ('k') | chrome/browser/ui/views/find_bar_host_interactive_uitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698