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

Side by Side Diff: chrome/browser/ui/browser_mac.cc

Issue 777143003: Clean up straggler classes to use embedded signin in page in the new profiles world. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 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
« no previous file with comments | « chrome/browser/ui/browser_mac.h ('k') | chrome/browser/ui/chrome_pages.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 (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/browser_mac.h" 5 #include "chrome/browser/ui/browser_mac.h"
6 6
7 #include "chrome/browser/profiles/profile.h" 7 #include "chrome/browser/profiles/profile.h"
8 #include "chrome/browser/ui/browser.h" 8 #include "chrome/browser/ui/browser.h"
9 #include "chrome/browser/ui/browser_window.h" 9 #include "chrome/browser/ui/browser_window.h"
10 #include "chrome/browser/ui/host_desktop.h" 10 #include "chrome/browser/ui/host_desktop.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 } 44 }
45 45
46 void OpenOptionsWindow(Profile* profile) { 46 void OpenOptionsWindow(Profile* profile) {
47 Browser* browser = 47 Browser* browser =
48 new Browser(Browser::CreateParams(profile, 48 new Browser(Browser::CreateParams(profile,
49 chrome::HOST_DESKTOP_TYPE_NATIVE)); 49 chrome::HOST_DESKTOP_TYPE_NATIVE));
50 ShowSettings(browser); 50 ShowSettings(browser);
51 browser->window()->Show(); 51 browser->window()->Show();
52 } 52 }
53 53
54 void OpenSyncSetupWindow(Profile* profile, signin::Source source) { 54 void OpenSyncSetupWindow(Profile* profile, signin_metrics::Source source) {
55 Browser* browser = 55 Browser* browser =
56 new Browser(Browser::CreateParams(profile, 56 new Browser(Browser::CreateParams(profile,
57 chrome::HOST_DESKTOP_TYPE_NATIVE)); 57 chrome::HOST_DESKTOP_TYPE_NATIVE));
58 ShowBrowserSignin(browser, source); 58 ShowBrowserSignin(browser, source);
59 browser->window()->Show(); 59 browser->window()->Show();
60 } 60 }
61 61
62 void OpenClearBrowsingDataDialogWindow(Profile* profile) { 62 void OpenClearBrowsingDataDialogWindow(Profile* profile) {
63 Browser* browser = 63 Browser* browser =
64 new Browser(Browser::CreateParams(profile, 64 new Browser(Browser::CreateParams(profile,
(...skipping 20 matching lines...) Expand all
85 85
86 void OpenExtensionsWindow(Profile* profile) { 86 void OpenExtensionsWindow(Profile* profile) {
87 Browser* browser = 87 Browser* browser =
88 new Browser(Browser::CreateParams(profile, 88 new Browser(Browser::CreateParams(profile,
89 chrome::HOST_DESKTOP_TYPE_NATIVE)); 89 chrome::HOST_DESKTOP_TYPE_NATIVE));
90 ShowExtensions(browser, std::string()); 90 ShowExtensions(browser, std::string());
91 browser->window()->Show(); 91 browser->window()->Show();
92 } 92 }
93 93
94 } // namespace chrome 94 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser_mac.h ('k') | chrome/browser/ui/chrome_pages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698