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

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

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 #ifndef CHROME_BROWSER_UI_COCOA_TAB_DIALOGS_VIEWS_MAC_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_TAB_DIALOGS_VIEWS_MAC_H_
6 #define CHROME_BROWSER_UI_COCOA_TAB_DIALOGS_VIEWS_MAC_H_ 6 #define CHROME_BROWSER_UI_COCOA_TAB_DIALOGS_VIEWS_MAC_H_
7 7
8 #include "chrome/browser/ui/cocoa/tab_dialogs_cocoa.h" 8 #include "chrome/browser/ui/cocoa/tab_dialogs_cocoa.h"
9 9
10 // Implementation of TabDialogs interface for toolkit-views dialogs on Mac. 10 // Implementation of TabDialogs interface for toolkit-views dialogs on Mac.
11 class TabDialogsViewsMac : public TabDialogsCocoa { 11 class TabDialogsViewsMac : public TabDialogsCocoa {
12 public: 12 public:
13 explicit TabDialogsViewsMac(content::WebContents* contents); 13 explicit TabDialogsViewsMac(content::WebContents* contents);
14 ~TabDialogsViewsMac() override; 14 ~TabDialogsViewsMac() override;
15 15
16 // TabDialogs: 16 // TabDialogs:
17 void ShowCollectedCookies() override; 17 void ShowCollectedCookies() override;
18 void ShowProfileSigninConfirmation(
19 Browser* browser,
20 Profile* profile,
21 const std::string& username,
22 std::unique_ptr<ui::ProfileSigninConfirmationDelegate> delegate) override;
23 18
24 private: 19 private:
25 DISALLOW_COPY_AND_ASSIGN(TabDialogsViewsMac); 20 DISALLOW_COPY_AND_ASSIGN(TabDialogsViewsMac);
26 }; 21 };
27 22
28 #endif // CHROME_BROWSER_UI_COCOA_TAB_DIALOGS_VIEWS_MAC_H_ 23 #endif // CHROME_BROWSER_UI_COCOA_TAB_DIALOGS_VIEWS_MAC_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/tab_dialogs_cocoa.mm ('k') | chrome/browser/ui/cocoa/tab_dialogs_views_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698