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

Side by Side Diff: chrome/browser/ui/cocoa/tab_dialogs_views_mac.mm

Issue 2632123003: Revert of MacViews: Allow the toolkit-views Enterprise Signin Confirmation Dialog to be used (Closed)
Patch Set: Created 3 years, 11 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
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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/cocoa/tab_dialogs_views_mac.h" 5 #include "chrome/browser/ui/cocoa/tab_dialogs_views_mac.h"
6 6
7 #include "chrome/browser/ui/views/collected_cookies_views.h" 7 #include "chrome/browser/ui/views/collected_cookies_views.h"
8 #include "chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views. h"
9 8
10 TabDialogsViewsMac::TabDialogsViewsMac(content::WebContents* contents) 9 TabDialogsViewsMac::TabDialogsViewsMac(content::WebContents* contents)
11 : TabDialogsCocoa(contents) {} 10 : TabDialogsCocoa(contents) {}
12 11
13 TabDialogsViewsMac::~TabDialogsViewsMac() {} 12 TabDialogsViewsMac::~TabDialogsViewsMac() {}
14 13
15 void TabDialogsViewsMac::ShowCollectedCookies() { 14 void TabDialogsViewsMac::ShowCollectedCookies() {
16 // Deletes itself on close. 15 // Deletes itself on close.
17 new CollectedCookiesViews(web_contents()); 16 new CollectedCookiesViews(web_contents());
18 } 17 }
19
20 void TabDialogsViewsMac::ShowProfileSigninConfirmation(
21 Browser* browser,
22 Profile* profile,
23 const std::string& username,
24 std::unique_ptr<ui::ProfileSigninConfirmationDelegate> delegate) {
25 ProfileSigninConfirmationDialogViews::ShowDialog(browser, profile, username,
26 std::move(delegate));
27 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/tab_dialogs_views_mac.h ('k') | chrome/browser/ui/collected_cookies_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698