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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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: | 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: | |
Peter Kasting
2014/09/22 23:52:17
Nit: We don't subclass View directly, so don't cre
noms (inactive)
2014/09/23 14:19:13
Done.
| |
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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
250 // The current tutorial mode. | 253 // The current tutorial mode. |
251 profiles::TutorialMode tutorial_mode_; | 254 profiles::TutorialMode tutorial_mode_; |
252 | 255 |
253 // The GAIA service type provided in the response header. | 256 // The GAIA service type provided in the response header. |
254 signin::GAIAServiceType gaia_service_type_; | 257 signin::GAIAServiceType gaia_service_type_; |
255 | 258 |
256 DISALLOW_COPY_AND_ASSIGN(ProfileChooserView); | 259 DISALLOW_COPY_AND_ASSIGN(ProfileChooserView); |
257 }; | 260 }; |
258 | 261 |
259 #endif // CHROME_BROWSER_UI_VIEWS_PROFILES_PROFILE_CHOOSER_VIEW_H_ | 262 #endif // CHROME_BROWSER_UI_VIEWS_PROFILES_PROFILE_CHOOSER_VIEW_H_ |
OLD | NEW |