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

Side by Side Diff: chrome/browser/chromeos/login/new_user_view.h

Issue 3442011: Enabling access notifications for login wizard (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 2 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_CHROMEOS_LOGIN_NEW_USER_VIEW_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_NEW_USER_VIEW_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_NEW_USER_VIEW_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_NEW_USER_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 // Overridden from views::ButtonListener. 106 // Overridden from views::ButtonListener.
107 virtual void ButtonPressed(views::Button* sender, const views::Event& event); 107 virtual void ButtonPressed(views::Button* sender, const views::Event& event);
108 108
109 // Overridden from views::LinkController. 109 // Overridden from views::LinkController.
110 virtual void LinkActivated(views::Link* source, int event_flags); 110 virtual void LinkActivated(views::Link* source, int event_flags);
111 111
112 virtual bool AcceleratorPressed(const views::Accelerator& accelerator); 112 virtual bool AcceleratorPressed(const views::Accelerator& accelerator);
113 113
114 protected: 114 protected:
115 // views::View overrides: 115 // views::View overrides:
116 virtual void ViewHierarchyChanged(bool is_add, views::View *parent, 116 virtual void ViewHierarchyChanged(bool is_add,
117 views::View *parent,
117 views::View *child); 118 views::View *child);
118 virtual void NativeViewHierarchyChanged(bool attached, 119 virtual void NativeViewHierarchyChanged(bool attached,
119 gfx::NativeView native_view, 120 gfx::NativeView native_view,
120 views::RootView* root_view); 121 views::RootView* root_view);
121 virtual void OnLocaleChanged(); 122 virtual void OnLocaleChanged();
122 void AddChildView(View* view); 123 void AddChildView(View* view);
123 124
124 private: 125 private:
125 // Enables/disables input controls (textfields, buttons). 126 // Enables/disables input controls (textfields, buttons).
126 void EnableInputControls(bool enabled); 127 void EnableInputControls(bool enabled);
(...skipping 17 matching lines...) Expand all
144 views::View* splitter_; 145 views::View* splitter_;
145 views::NativeButton* sign_in_button_; 146 views::NativeButton* sign_in_button_;
146 views::Link* create_account_link_; 147 views::Link* create_account_link_;
147 views::Link* browse_without_signin_link_; 148 views::Link* browse_without_signin_link_;
148 views::MenuButton* languages_menubutton_; 149 views::MenuButton* languages_menubutton_;
149 views::Throbber* throbber_; 150 views::Throbber* throbber_;
150 151
151 views::Accelerator accel_focus_pass_; 152 views::Accelerator accel_focus_pass_;
152 views::Accelerator accel_focus_user_; 153 views::Accelerator accel_focus_user_;
153 views::Accelerator accel_login_off_the_record_; 154 views::Accelerator accel_login_off_the_record_;
155 views::Accelerator accel_enable_accessibility_;
154 156
155 // Notifications receiver. 157 // Notifications receiver.
156 Delegate* delegate_; 158 Delegate* delegate_;
157 159
158 ScopedRunnableMethodFactory<NewUserView> focus_grabber_factory_; 160 ScopedRunnableMethodFactory<NewUserView> focus_grabber_factory_;
159 161
160 LanguageSwitchMenu language_switch_menu_; 162 LanguageSwitchMenu language_switch_menu_;
161 163
162 // Indicates that this view was created when focus manager was unavailable 164 // Indicates that this view was created when focus manager was unavailable
163 // (on the hidden tab, for example). 165 // (on the hidden tab, for example).
(...skipping 18 matching lines...) Expand all
182 184
183 FRIEND_TEST_ALL_PREFIXES(LoginScreenTest, IncognitoLogin); 185 FRIEND_TEST_ALL_PREFIXES(LoginScreenTest, IncognitoLogin);
184 friend class LoginScreenTest; 186 friend class LoginScreenTest;
185 187
186 DISALLOW_COPY_AND_ASSIGN(NewUserView); 188 DISALLOW_COPY_AND_ASSIGN(NewUserView);
187 }; 189 };
188 190
189 } // namespace chromeos 191 } // namespace chromeos
190 192
191 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_NEW_USER_VIEW_H_ 193 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_NEW_USER_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698