OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_PROFILES_PROFILE_CHOOSER_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_PROFILES_PROFILE_CHOOSER_VIEW_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_PROFILES_PROFILE_CHOOSER_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_PROFILES_PROFILE_CHOOSER_VIEW_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 virtual void Init() OVERRIDE; | 89 virtual void Init() OVERRIDE; |
90 virtual void WindowClosing() OVERRIDE; | 90 virtual void WindowClosing() OVERRIDE; |
91 | 91 |
92 // views::ButtonListener: | 92 // views::ButtonListener: |
93 virtual void ButtonPressed(views::Button* sender, | 93 virtual void ButtonPressed(views::Button* sender, |
94 const ui::Event& event) OVERRIDE; | 94 const ui::Event& event) OVERRIDE; |
95 | 95 |
96 // views::LinkListener: | 96 // views::LinkListener: |
97 virtual void LinkClicked(views::Link* sender, int event_flags) OVERRIDE; | 97 virtual void LinkClicked(views::Link* sender, int event_flags) OVERRIDE; |
98 | 98 |
99 // views::StyledLabelListener implementation. | 99 // views::StyledLabelListener: |
100 virtual void StyledLabelLinkClicked( | 100 virtual void StyledLabelLinkClicked( |
101 const gfx::Range& range, int event_flags) OVERRIDE; | 101 const gfx::Range& range, int event_flags) OVERRIDE; |
102 | 102 |
103 // views::TextfieldController: | 103 // views::TextfieldController: |
104 virtual bool HandleKeyEvent(views::Textfield* sender, | 104 virtual bool HandleKeyEvent(views::Textfield* sender, |
105 const ui::KeyEvent& key_event) OVERRIDE; | 105 const ui::KeyEvent& key_event) OVERRIDE; |
106 | 106 |
| 107 // views::View: |
| 108 bool AcceleratorPressed(const ui::Accelerator& accelerator) OVERRIDE; |
| 109 |
107 // AvatarMenuObserver: | 110 // AvatarMenuObserver: |
108 virtual void OnAvatarMenuChanged(AvatarMenu* avatar_menu) OVERRIDE; | 111 virtual void OnAvatarMenuChanged(AvatarMenu* avatar_menu) OVERRIDE; |
109 | 112 |
110 // OAuth2TokenService::Observer overrides. | 113 // OAuth2TokenService::Observer overrides. |
111 virtual void OnRefreshTokenAvailable(const std::string& account_id) OVERRIDE; | 114 virtual void OnRefreshTokenAvailable(const std::string& account_id) OVERRIDE; |
112 virtual void OnRefreshTokenRevoked(const std::string& account_id) OVERRIDE; | 115 virtual void OnRefreshTokenRevoked(const std::string& account_id) OVERRIDE; |
113 | 116 |
114 static ProfileChooserView* profile_bubble_; | 117 static ProfileChooserView* profile_bubble_; |
115 static bool close_on_deactivate_for_testing_; | 118 static bool close_on_deactivate_for_testing_; |
116 | 119 |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
249 // The current tutorial mode. | 252 // The current tutorial mode. |
250 profiles::TutorialMode tutorial_mode_; | 253 profiles::TutorialMode tutorial_mode_; |
251 | 254 |
252 // The GAIA service type provided in the response header. | 255 // The GAIA service type provided in the response header. |
253 signin::GAIAServiceType gaia_service_type_; | 256 signin::GAIAServiceType gaia_service_type_; |
254 | 257 |
255 DISALLOW_COPY_AND_ASSIGN(ProfileChooserView); | 258 DISALLOW_COPY_AND_ASSIGN(ProfileChooserView); |
256 }; | 259 }; |
257 | 260 |
258 #endif // CHROME_BROWSER_UI_VIEWS_PROFILES_PROFILE_CHOOSER_VIEW_H_ | 261 #endif // CHROME_BROWSER_UI_VIEWS_PROFILES_PROFILE_CHOOSER_VIEW_H_ |
OLD | NEW |