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

Side by Side Diff: chrome/browser/chromeos/login/ui/login_display_host_impl.h

Issue 317093002: Show confirmation dialog for unsecure signin (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 6 years, 4 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 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_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_HOST_IMPL_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_HOST_IMPL_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_HOST_IMPL_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_HOST_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 public views::WidgetRemovalsObserver { 58 public views::WidgetRemovalsObserver {
59 public: 59 public:
60 explicit LoginDisplayHostImpl(const gfx::Rect& background_bounds); 60 explicit LoginDisplayHostImpl(const gfx::Rect& background_bounds);
61 virtual ~LoginDisplayHostImpl(); 61 virtual ~LoginDisplayHostImpl();
62 62
63 // Returns the default LoginDisplayHost instance if it has been created. 63 // Returns the default LoginDisplayHost instance if it has been created.
64 static LoginDisplayHost* default_host() { 64 static LoginDisplayHost* default_host() {
65 return default_host_; 65 return default_host_;
66 } 66 }
67 67
68 // Gets the Gaia auth iframe within a WebContents.
69 static content::RenderFrameHost* GetGaiaAuthIframe(
70 content::WebContents* web_contents);
71
72 // LoginDisplayHost implementation: 68 // LoginDisplayHost implementation:
73 virtual LoginDisplay* CreateLoginDisplay( 69 virtual LoginDisplay* CreateLoginDisplay(
74 LoginDisplay::Delegate* delegate) OVERRIDE; 70 LoginDisplay::Delegate* delegate) OVERRIDE;
75 virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE; 71 virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE;
76 virtual WebUILoginView* GetWebUILoginView() const OVERRIDE; 72 virtual WebUILoginView* GetWebUILoginView() const OVERRIDE;
77 virtual void BeforeSessionStart() OVERRIDE; 73 virtual void BeforeSessionStart() OVERRIDE;
78 virtual void Finalize() OVERRIDE; 74 virtual void Finalize() OVERRIDE;
79 virtual void OnCompleteLogin() OVERRIDE; 75 virtual void OnCompleteLogin() OVERRIDE;
80 virtual void OpenProxySettings() OVERRIDE; 76 virtual void OpenProxySettings() OVERRIDE;
81 virtual void SetStatusAreaVisible(bool visible) OVERRIDE; 77 virtual void SetStatusAreaVisible(bool visible) OVERRIDE;
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 318
323 // The bounds of the virtual keyboard. 319 // The bounds of the virtual keyboard.
324 gfx::Rect keyboard_bounds_; 320 gfx::Rect keyboard_bounds_;
325 321
326 DISALLOW_COPY_AND_ASSIGN(LoginDisplayHostImpl); 322 DISALLOW_COPY_AND_ASSIGN(LoginDisplayHostImpl);
327 }; 323 };
328 324
329 } // namespace chromeos 325 } // namespace chromeos
330 326
331 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_HOST_IMPL_H_ 327 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/saml/saml_browsertest.cc ('k') | chrome/browser/chromeos/login/ui/login_display_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698