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

Side by Side Diff: chrome/browser/ui/extensions/app_metro_infobar_delegate_win.cc

Issue 14617003: Make chrome.exe rendezvous with existing chrome process earlier. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 6 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
« no previous file with comments | « chrome/browser/process_singleton_win.cc ('k') | chrome/browser/ui/metro_chrome_win.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/extensions/app_metro_infobar_delegate_win.h" 5 #include "chrome/browser/ui/extensions/app_metro_infobar_delegate_win.h"
6 6
7 #include "apps/app_launch_for_metro_restart_win.h" 7 #include "apps/app_launch_for_metro_restart_win.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "base/prefs/pref_service.h" 10 #include "base/prefs/pref_service.h"
11 #include "chrome/browser/browser_process.h" 11 #include "chrome/browser/browser_process.h"
12 #include "chrome/browser/metro_utils/metro_chrome_win.h"
12 #include "chrome/browser/profiles/profile.h" 13 #include "chrome/browser/profiles/profile.h"
13 #include "chrome/browser/ui/app_list/app_list_service_win.h" 14 #include "chrome/browser/ui/app_list/app_list_service_win.h"
14 #include "chrome/browser/ui/browser.h" 15 #include "chrome/browser/ui/browser.h"
15 #include "chrome/browser/ui/browser_finder.h" 16 #include "chrome/browser/ui/browser_finder.h"
16 #include "chrome/browser/ui/browser_window.h" 17 #include "chrome/browser/ui/browser_window.h"
17 #include "chrome/browser/ui/host_desktop.h" 18 #include "chrome/browser/ui/host_desktop.h"
18 #include "chrome/browser/ui/metro_chrome_win.h"
19 #include "chrome/common/pref_names.h" 19 #include "chrome/common/pref_names.h"
20 #include "content/public/browser/web_contents.h" 20 #include "content/public/browser/web_contents.h"
21 #include "content/public/common/url_constants.h" 21 #include "content/public/common/url_constants.h"
22 #include "grit/generated_resources.h" 22 #include "grit/generated_resources.h"
23 #include "grit/google_chrome_strings.h" 23 #include "grit/google_chrome_strings.h"
24 #include "ui/base/l10n/l10n_util.h" 24 #include "ui/base/l10n/l10n_util.h"
25 #include "win8/util/win8_util.h" 25 #include "win8/util/win8_util.h"
26 26
27 namespace chrome { 27 namespace chrome {
28 28
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 content::OpenURLParams params( 114 content::OpenURLParams params(
115 GURL("https://support.google.com/chrome/?p=ib_redirect_to_desktop"), 115 GURL("https://support.google.com/chrome/?p=ib_redirect_to_desktop"),
116 content::Referrer(), 116 content::Referrer(),
117 (disposition == CURRENT_TAB) ? NEW_FOREGROUND_TAB : disposition, 117 (disposition == CURRENT_TAB) ? NEW_FOREGROUND_TAB : disposition,
118 content::PAGE_TRANSITION_LINK, false); 118 content::PAGE_TRANSITION_LINK, false);
119 web_contents()->OpenURL(params); 119 web_contents()->OpenURL(params);
120 return false; 120 return false;
121 } 121 }
122 122
123 } // namespace chrome 123 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/process_singleton_win.cc ('k') | chrome/browser/ui/metro_chrome_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698