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

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

Issue 15700014: Adding user into session doesn't generate login-prompt-visible. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 6 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 | « chrome/browser/chromeos/login/login_display_host_impl.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_WEBUI_LOGIN_VIEW_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_VIEW_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_VIEW_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_VIEW_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 void OnPostponedShow(); 94 void OnPostponedShow();
95 95
96 // Toggles status area visibility. 96 // Toggles status area visibility.
97 void SetStatusAreaVisible(bool visible); 97 void SetStatusAreaVisible(bool visible);
98 98
99 // Sets whether UI should be enabled. 99 // Sets whether UI should be enabled.
100 void SetUIEnabled(bool enabled); 100 void SetUIEnabled(bool enabled);
101 101
102 void set_is_hidden(bool hidden) { is_hidden_ = hidden; } 102 void set_is_hidden(bool hidden) { is_hidden_ = hidden; }
103 103
104 protected: 104 // Let suppress emission of this signal.
105 // Let non-login derived classes suppress emission of this signal.
106 void set_should_emit_login_prompt_visible(bool emit) { 105 void set_should_emit_login_prompt_visible(bool emit) {
107 should_emit_login_prompt_visible_ = emit; 106 should_emit_login_prompt_visible_ = emit;
108 } 107 }
109 108
109 protected:
110 // Overridden from views::View: 110 // Overridden from views::View:
111 virtual void Layout() OVERRIDE; 111 virtual void Layout() OVERRIDE;
112 virtual void OnLocaleChanged() OVERRIDE; 112 virtual void OnLocaleChanged() OVERRIDE;
113 virtual void ChildPreferredSizeChanged(View* child) OVERRIDE; 113 virtual void ChildPreferredSizeChanged(View* child) OVERRIDE;
114 virtual void AboutToRequestFocusFromTabTraversal(bool reverse) OVERRIDE; 114 virtual void AboutToRequestFocusFromTabTraversal(bool reverse) OVERRIDE;
115 115
116 // Overridden from content::NotificationObserver. 116 // Overridden from content::NotificationObserver.
117 virtual void Observe(int type, 117 virtual void Observe(int type,
118 const content::NotificationSource& source, 118 const content::NotificationSource& source,
119 const content::NotificationDetails& details) OVERRIDE; 119 const content::NotificationDetails& details) OVERRIDE;
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 scoped_ptr<ScopedGaiaAuthExtension> auth_extension_; 179 scoped_ptr<ScopedGaiaAuthExtension> auth_extension_;
180 180
181 ObserverList<web_modal::WebContentsModalDialogHostObserver> observer_list_; 181 ObserverList<web_modal::WebContentsModalDialogHostObserver> observer_list_;
182 182
183 DISALLOW_COPY_AND_ASSIGN(WebUILoginView); 183 DISALLOW_COPY_AND_ASSIGN(WebUILoginView);
184 }; 184 };
185 185
186 } // namespace chromeos 186 } // namespace chromeos
187 187
188 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_VIEW_H_ 188 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/login_display_host_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698