| 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 ProfileChooserView(views::View* anchor_view, | 75 ProfileChooserView(views::View* anchor_view, |
| 76 views::BubbleBorder::Arrow arrow, | 76 views::BubbleBorder::Arrow arrow, |
| 77 Browser* browser, | 77 Browser* browser, |
| 78 profiles::BubbleViewMode view_mode, | 78 profiles::BubbleViewMode view_mode, |
| 79 profiles::TutorialMode tutorial_mode, | 79 profiles::TutorialMode tutorial_mode, |
| 80 signin::GAIAServiceType service_type); | 80 signin::GAIAServiceType service_type); |
| 81 ~ProfileChooserView() override; | 81 ~ProfileChooserView() override; |
| 82 | 82 |
| 83 // views::BubbleDelegateView: | 83 // views::BubbleDelegateView: |
| 84 void Init() override; | 84 void Init() override; |
| 85 void OnNativeThemeChanged(const ui::NativeTheme* native_theme) override; |
| 85 void WindowClosing() override; | 86 void WindowClosing() override; |
| 86 bool AcceleratorPressed(const ui::Accelerator& accelerator) override; | 87 bool AcceleratorPressed(const ui::Accelerator& accelerator) override; |
| 87 views::View* GetInitiallyFocusedView() override; | 88 views::View* GetInitiallyFocusedView() override; |
| 88 | 89 |
| 89 // content::WebContentsDelegate: | 90 // content::WebContentsDelegate: |
| 90 bool HandleContextMenu(const content::ContextMenuParams& params) override; | 91 bool HandleContextMenu(const content::ContextMenuParams& params) override; |
| 91 | 92 |
| 92 // views::ButtonListener: | 93 // views::ButtonListener: |
| 93 void ButtonPressed(views::Button* sender, const ui::Event& event) override; | 94 void ButtonPressed(views::Button* sender, const ui::Event& event) override; |
| 94 | 95 |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 266 // The current tutorial mode. | 267 // The current tutorial mode. |
| 267 profiles::TutorialMode tutorial_mode_; | 268 profiles::TutorialMode tutorial_mode_; |
| 268 | 269 |
| 269 // The GAIA service type provided in the response header. | 270 // The GAIA service type provided in the response header. |
| 270 signin::GAIAServiceType gaia_service_type_; | 271 signin::GAIAServiceType gaia_service_type_; |
| 271 | 272 |
| 272 DISALLOW_COPY_AND_ASSIGN(ProfileChooserView); | 273 DISALLOW_COPY_AND_ASSIGN(ProfileChooserView); |
| 273 }; | 274 }; |
| 274 | 275 |
| 275 #endif // CHROME_BROWSER_UI_VIEWS_PROFILES_PROFILE_CHOOSER_VIEW_H_ | 276 #endif // CHROME_BROWSER_UI_VIEWS_PROFILES_PROFILE_CHOOSER_VIEW_H_ |
| OLD | NEW |