| 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( | 18 void ShowProfileSigninConfirmation( |
| 19 Browser* browser, | 19 Browser* browser, |
| 20 Profile* profile, | 20 Profile* profile, |
| 21 const std::string& username, | 21 const std::string& username, |
| 22 std::unique_ptr<ui::ProfileSigninConfirmationDelegate> delegate) override; | 22 std::unique_ptr<ui::ProfileSigninConfirmationDelegate> delegate) override; |
| 23 void ShowManagePasswordsBubble(bool user_action) override; |
| 24 void HideManagePasswordsBubble() override; |
| 23 | 25 |
| 24 private: | 26 private: |
| 25 DISALLOW_COPY_AND_ASSIGN(TabDialogsViewsMac); | 27 DISALLOW_COPY_AND_ASSIGN(TabDialogsViewsMac); |
| 26 }; | 28 }; |
| 27 | 29 |
| 28 #endif // CHROME_BROWSER_UI_COCOA_TAB_DIALOGS_VIEWS_MAC_H_ | 30 #endif // CHROME_BROWSER_UI_COCOA_TAB_DIALOGS_VIEWS_MAC_H_ |
| OLD | NEW |