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

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

Issue 22992003: Moved chrome/browser/ui/extensions apps code to chrome/browser/ui/apps (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Win compile Created 7 years, 4 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 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
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 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/apps/app_metro_infobar_delegate_win.h ('k') | chrome/browser/ui/apps/apps_metro_handler_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698