Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(95)

Side by Side Diff: chrome/browser/ui/views/profiles/profile_chooser_view.h

Issue 1226093005: Give ProfileChooserView signin button focus. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments. Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/views/profiles/profile_chooser_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/views/profiles/profile_chooser_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698