| 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 Browser* browser, | 85 Browser* browser, |
| 86 profiles::BubbleViewMode view_mode, | 86 profiles::BubbleViewMode view_mode, |
| 87 profiles::TutorialMode tutorial_mode, | 87 profiles::TutorialMode tutorial_mode, |
| 88 signin::GAIAServiceType service_type); | 88 signin::GAIAServiceType service_type); |
| 89 ~ProfileChooserView() override; | 89 ~ProfileChooserView() override; |
| 90 | 90 |
| 91 // views::BubbleDelegateView: | 91 // views::BubbleDelegateView: |
| 92 void Init() override; | 92 void Init() override; |
| 93 void WindowClosing() override; | 93 void WindowClosing() override; |
| 94 bool AcceleratorPressed(const ui::Accelerator& accelerator) override; | 94 bool AcceleratorPressed(const ui::Accelerator& accelerator) override; |
| 95 views::View* GetInitiallyFocusedView() override; |
| 95 | 96 |
| 96 // content::WebContentsDelegate: | 97 // content::WebContentsDelegate: |
| 97 bool HandleContextMenu(const content::ContextMenuParams& params) override; | 98 bool HandleContextMenu(const content::ContextMenuParams& params) override; |
| 98 | 99 |
| 99 // views::ButtonListener: | 100 // views::ButtonListener: |
| 100 void ButtonPressed(views::Button* sender, const ui::Event& event) override; | 101 void ButtonPressed(views::Button* sender, const ui::Event& event) override; |
| 101 | 102 |
| 102 // views::LinkListener: | 103 // views::LinkListener: |
| 103 void LinkClicked(views::Link* sender, int event_flags) override; | 104 void LinkClicked(views::Link* sender, int event_flags) override; |
| 104 | 105 |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 273 // The current tutorial mode. | 274 // The current tutorial mode. |
| 274 profiles::TutorialMode tutorial_mode_; | 275 profiles::TutorialMode tutorial_mode_; |
| 275 | 276 |
| 276 // The GAIA service type provided in the response header. | 277 // The GAIA service type provided in the response header. |
| 277 signin::GAIAServiceType gaia_service_type_; | 278 signin::GAIAServiceType gaia_service_type_; |
| 278 | 279 |
| 279 DISALLOW_COPY_AND_ASSIGN(ProfileChooserView); | 280 DISALLOW_COPY_AND_ASSIGN(ProfileChooserView); |
| 280 }; | 281 }; |
| 281 | 282 |
| 282 #endif // CHROME_BROWSER_UI_VIEWS_PROFILES_PROFILE_CHOOSER_VIEW_H_ | 283 #endif // CHROME_BROWSER_UI_VIEWS_PROFILES_PROFILE_CHOOSER_VIEW_H_ |
| OLD | NEW |