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

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

Issue 5712003: webkit: use string16 in ContextMenuParams (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: works Created 10 years 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "app/l10n_util.h" 9 #include "app/l10n_util.h"
10 #include "app/view_prop.h" 10 #include "app/view_prop.h"
11 #include "base/debug/trace_event.h" 11 #include "base/debug/trace_event.h"
12 #include "base/i18n/rtl.h" 12 #include "base/i18n/rtl.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/utf_string_conversions.h"
14 #include "base/win_util.h" 15 #include "base/win_util.h"
15 #include "chrome/app/chrome_command_ids.h" 16 #include "chrome/app/chrome_command_ids.h"
16 #include "chrome/app/chrome_dll_resource.h" 17 #include "chrome/app/chrome_dll_resource.h"
17 #include "chrome/browser/automation/automation_provider.h" 18 #include "chrome/browser/automation/automation_provider.h"
18 #include "chrome/browser/automation/automation_extension_function.h" 19 #include "chrome/browser/automation/automation_extension_function.h"
19 #include "chrome/browser/browser_window.h" 20 #include "chrome/browser/browser_window.h"
20 #include "chrome/browser/debugger/devtools_manager.h" 21 #include "chrome/browser/debugger/devtools_manager.h"
21 #include "chrome/browser/debugger/devtools_toggle_action.h" 22 #include "chrome/browser/debugger/devtools_toggle_action.h"
22 #include "chrome/browser/google/google_util.h" 23 #include "chrome/browser/google/google_util.h"
23 #include "chrome/browser/history/history_types.h" 24 #include "chrome/browser/history/history_types.h"
(...skipping 1088 matching lines...) Expand 10 before | Expand all | Expand 10 after
1112 1113
1113 if (disposition == CURRENT_TAB) { 1114 if (disposition == CURRENT_TAB) {
1114 DCHECK(route_all_top_level_navigations_); 1115 DCHECK(route_all_top_level_navigations_);
1115 disposition = NEW_FOREGROUND_TAB; 1116 disposition = NEW_FOREGROUND_TAB;
1116 } 1117 }
1117 ExternalTabContainer::OpenURLFromTab(source, url, referrer, disposition, 1118 ExternalTabContainer::OpenURLFromTab(source, url, referrer, disposition,
1118 transition); 1119 transition);
1119 // support only one navigation for a dummy tab before it is killed. 1120 // support only one navigation for a dummy tab before it is killed.
1120 ::DestroyWindow(GetNativeView()); 1121 ::DestroyWindow(GetNativeView());
1121 } 1122 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_menu_manager_unittest.cc ('k') | chrome/browser/renderer_host/render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698