OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_ONE_CLICK_SIGNIN_BUBBLE_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_SYNC_ONE_CLICK_SIGNIN_BUBBLE_VIEW_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_SYNC_ONE_CLICK_SIGNIN_BUBBLE_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_SYNC_ONE_CLICK_SIGNIN_BUBBLE_VIEW_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/callback.h" | 9 #include "base/callback.h" |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 | 70 |
71 FRIEND_TEST_ALL_PREFIXES(OneClickSigninBubbleViewTest, BubbleOkButton); | 71 FRIEND_TEST_ALL_PREFIXES(OneClickSigninBubbleViewTest, BubbleOkButton); |
72 FRIEND_TEST_ALL_PREFIXES(OneClickSigninBubbleViewTest, DialogOkButton); | 72 FRIEND_TEST_ALL_PREFIXES(OneClickSigninBubbleViewTest, DialogOkButton); |
73 FRIEND_TEST_ALL_PREFIXES(OneClickSigninBubbleViewTest, DialogUndoButton); | 73 FRIEND_TEST_ALL_PREFIXES(OneClickSigninBubbleViewTest, DialogUndoButton); |
74 FRIEND_TEST_ALL_PREFIXES(OneClickSigninBubbleViewTest, BubbleAdvancedLink); | 74 FRIEND_TEST_ALL_PREFIXES(OneClickSigninBubbleViewTest, BubbleAdvancedLink); |
75 FRIEND_TEST_ALL_PREFIXES(OneClickSigninBubbleViewTest, DialogAdvancedLink); | 75 FRIEND_TEST_ALL_PREFIXES(OneClickSigninBubbleViewTest, DialogAdvancedLink); |
76 FRIEND_TEST_ALL_PREFIXES(OneClickSigninBubbleViewTest, BubbleLearnMoreLink); | 76 FRIEND_TEST_ALL_PREFIXES(OneClickSigninBubbleViewTest, BubbleLearnMoreLink); |
77 FRIEND_TEST_ALL_PREFIXES(OneClickSigninBubbleViewTest, DialogLearnMoreLink); | 77 FRIEND_TEST_ALL_PREFIXES(OneClickSigninBubbleViewTest, DialogLearnMoreLink); |
78 | 78 |
79 // Overridden from views::BubbleDelegateView: | 79 // Overridden from views::BubbleDelegateView: |
80 virtual void AnimationEnded(const ui::Animation* animation) OVERRIDE; | 80 virtual void AnimationEnded(const gfx::Animation* animation) OVERRIDE; |
81 virtual void Init() OVERRIDE; | 81 virtual void Init() OVERRIDE; |
82 | 82 |
83 // Overridden from views::LinkListener: | 83 // Overridden from views::LinkListener: |
84 virtual void LinkClicked(views::Link* source, int event_flags) OVERRIDE; | 84 virtual void LinkClicked(views::Link* source, int event_flags) OVERRIDE; |
85 | 85 |
86 // Overridden from views::ButtonListener: | 86 // Overridden from views::ButtonListener: |
87 virtual void ButtonPressed(views::Button* sender, | 87 virtual void ButtonPressed(views::Button* sender, |
88 const ui::Event& event) OVERRIDE; | 88 const ui::Event& event) OVERRIDE; |
89 | 89 |
90 // Overridden from views::View: | 90 // Overridden from views::View: |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 // A message loop used only with unit tests. | 145 // A message loop used only with unit tests. |
146 base::MessageLoop* message_loop_for_testing_; | 146 base::MessageLoop* message_loop_for_testing_; |
147 | 147 |
148 // The bubble, if we're showing one. | 148 // The bubble, if we're showing one. |
149 static OneClickSigninBubbleView* bubble_view_; | 149 static OneClickSigninBubbleView* bubble_view_; |
150 | 150 |
151 DISALLOW_COPY_AND_ASSIGN(OneClickSigninBubbleView); | 151 DISALLOW_COPY_AND_ASSIGN(OneClickSigninBubbleView); |
152 }; | 152 }; |
153 | 153 |
154 #endif // CHROME_BROWSER_UI_VIEWS_SYNC_ONE_CLICK_SIGNIN_BUBBLE_VIEW_H_ | 154 #endif // CHROME_BROWSER_UI_VIEWS_SYNC_ONE_CLICK_SIGNIN_BUBBLE_VIEW_H_ |
OLD | NEW |