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_VIEWS_SYNC_BUBBLE_SYNC_PROMO_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_SYNC_BUBBLE_SYNC_PROMO_VIEW_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_SYNC_BUBBLE_SYNC_PROMO_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_SYNC_BUBBLE_SYNC_PROMO_VIEW_H_ |
7 | 7 |
8 #include "base/basictypes.h" | |
9 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" |
10 #include "ui/views/controls/styled_label_listener.h" | 10 #include "ui/views/controls/styled_label_listener.h" |
11 #include "ui/views/view.h" | 11 #include "ui/views/view.h" |
12 | 12 |
13 class BubbleSyncPromoDelegate; | 13 class BubbleSyncPromoDelegate; |
14 | 14 |
15 // Bookmark sync promo displayed at the bottom of the bookmark bubble. | 15 // Bookmark sync promo displayed at the bottom of the bookmark bubble. |
16 class BubbleSyncPromoView : public views::StyledLabelListener, | 16 class BubbleSyncPromoView : public views::StyledLabelListener, |
17 public views::View { | 17 public views::View { |
18 public: | 18 public: |
19 // |delegate| is not owned by BubbleSyncPromoView. | 19 // |delegate| is not owned by BubbleSyncPromoView. |
(...skipping 11 matching lines...) Expand all Loading... |
31 // views::View: | 31 // views::View: |
32 const char* GetClassName() const override; | 32 const char* GetClassName() const override; |
33 | 33 |
34 // Delegate, to handle clicks on the sign in link. | 34 // Delegate, to handle clicks on the sign in link. |
35 BubbleSyncPromoDelegate* delegate_; | 35 BubbleSyncPromoDelegate* delegate_; |
36 | 36 |
37 DISALLOW_COPY_AND_ASSIGN(BubbleSyncPromoView); | 37 DISALLOW_COPY_AND_ASSIGN(BubbleSyncPromoView); |
38 }; | 38 }; |
39 | 39 |
40 #endif // CHROME_BROWSER_UI_VIEWS_SYNC_BUBBLE_SYNC_PROMO_VIEW_H_ | 40 #endif // CHROME_BROWSER_UI_VIEWS_SYNC_BUBBLE_SYNC_PROMO_VIEW_H_ |
OLD | NEW |