| OLD | NEW |
| 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; |
| 18 | 23 |
| 19 private: | 24 private: |
| 20 DISALLOW_COPY_AND_ASSIGN(TabDialogsViewsMac); | 25 DISALLOW_COPY_AND_ASSIGN(TabDialogsViewsMac); |
| 21 }; | 26 }; |
| 22 | 27 |
| 23 #endif // CHROME_BROWSER_UI_COCOA_TAB_DIALOGS_VIEWS_MAC_H_ | 28 #endif // CHROME_BROWSER_UI_COCOA_TAB_DIALOGS_VIEWS_MAC_H_ |
| OLD | NEW |