| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_SYNC_ONE_CLICK_SIGNIN_LINKS_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_UI_SYNC_ONE_CLICK_SIGNIN_LINKS_DELEGATE_H_ |
| 6 #define CHROME_BROWSER_UI_SYNC_ONE_CLICK_SIGNIN_LINKS_DELEGATE_H_ | 6 #define CHROME_BROWSER_UI_SYNC_ONE_CLICK_SIGNIN_LINKS_DELEGATE_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 | 9 |
| 10 // Handles link clicks in the OneClickSigninDialogView. | 10 // Handles link clicks in the OneClickSigninDialogView. |
| 11 class OneClickSigninLinksDelegate { | 11 class OneClickSigninLinksDelegate { |
| 12 public: | 12 public: |
| 13 virtual ~OneClickSigninLinksDelegate() {} | 13 virtual ~OneClickSigninLinksDelegate() {} |
| 14 virtual void OnLearnMoreLinkClicked(bool is_dialog) = 0; | 14 virtual void OnLearnMoreLinkClicked(bool is_dialog) = 0; |
| 15 virtual void OnAdvancedLinkClicked() = 0; | 15 virtual void OnAdvancedLinkClicked() = 0; |
| 16 | 16 |
| 17 protected: | 17 protected: |
| 18 OneClickSigninLinksDelegate() {} | 18 OneClickSigninLinksDelegate() {} |
| 19 | 19 |
| 20 private: |
| 20 DISALLOW_COPY_AND_ASSIGN(OneClickSigninLinksDelegate); | 21 DISALLOW_COPY_AND_ASSIGN(OneClickSigninLinksDelegate); |
| 21 }; | 22 }; |
| 22 | 23 |
| 23 #endif // CHROME_BROWSER_UI_SYNC_ONE_CLICK_SIGNIN_LINKS_DELEGATE_H_ | 24 #endif // CHROME_BROWSER_UI_SYNC_ONE_CLICK_SIGNIN_LINKS_DELEGATE_H_ |
| OLD | NEW |