| OLD | NEW |
| 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/apps/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/message_loop.h" | 9 #include "base/message_loop/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/metro_utils/metro_chrome_win.h" |
| 13 #include "chrome/browser/profiles/profile.h" | 13 #include "chrome/browser/profiles/profile.h" |
| 14 #include "chrome/browser/ui/app_list/app_list_service_win.h" | 14 #include "chrome/browser/ui/app_list/app_list_service_win.h" |
| 15 #include "chrome/browser/ui/browser.h" | 15 #include "chrome/browser/ui/browser.h" |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 | 108 |
| 109 bool AppMetroInfoBarDelegateWin::LinkClicked( | 109 bool AppMetroInfoBarDelegateWin::LinkClicked( |
| 110 WindowOpenDisposition disposition) { | 110 WindowOpenDisposition disposition) { |
| 111 web_contents()->OpenURL(content::OpenURLParams( | 111 web_contents()->OpenURL(content::OpenURLParams( |
| 112 GURL("https://support.google.com/chrome/?p=ib_redirect_to_desktop"), | 112 GURL("https://support.google.com/chrome/?p=ib_redirect_to_desktop"), |
| 113 content::Referrer(), | 113 content::Referrer(), |
| 114 (disposition == CURRENT_TAB) ? NEW_FOREGROUND_TAB : disposition, | 114 (disposition == CURRENT_TAB) ? NEW_FOREGROUND_TAB : disposition, |
| 115 content::PAGE_TRANSITION_LINK, false)); | 115 content::PAGE_TRANSITION_LINK, false)); |
| 116 return false; | 116 return false; |
| 117 } | 117 } |
| OLD | NEW |