| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_WEBUI_SIGNIN_INLINE_LOGIN_HANDLER_IMPL_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_SIGNIN_INLINE_LOGIN_HANDLER_IMPL_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_SIGNIN_INLINE_LOGIN_HANDLER_IMPL_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_SIGNIN_INLINE_LOGIN_HANDLER_IMPL_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 // Overridden from content::WebContentsDelegate. | 46 // Overridden from content::WebContentsDelegate. |
| 47 virtual bool HandleContextMenu( | 47 virtual bool HandleContextMenu( |
| 48 const content::ContextMenuParams& params) OVERRIDE; | 48 const content::ContextMenuParams& params) OVERRIDE; |
| 49 | 49 |
| 50 // Overridden from content::WebContentsObserver overrides. | 50 // Overridden from content::WebContentsObserver overrides. |
| 51 virtual void DidCommitProvisionalLoadForFrame( | 51 virtual void DidCommitProvisionalLoadForFrame( |
| 52 content::RenderFrameHost* render_frame_host, | 52 content::RenderFrameHost* render_frame_host, |
| 53 const GURL& url, | 53 const GURL& url, |
| 54 content::PageTransition transition_type) OVERRIDE; | 54 content::PageTransition transition_type) OVERRIDE; |
| 55 | 55 |
| 56 base::WeakPtrFactory<InlineLoginHandlerImpl> weak_factory_; | |
| 57 // True if the user has navigated to untrusted domains during the signin | 56 // True if the user has navigated to untrusted domains during the signin |
| 58 // process. | 57 // process. |
| 59 bool confirm_untrusted_signin_; | 58 bool confirm_untrusted_signin_; |
| 60 | 59 |
| 60 base::WeakPtrFactory<InlineLoginHandlerImpl> weak_factory_; |
| 61 |
| 61 DISALLOW_COPY_AND_ASSIGN(InlineLoginHandlerImpl); | 62 DISALLOW_COPY_AND_ASSIGN(InlineLoginHandlerImpl); |
| 62 }; | 63 }; |
| 63 | 64 |
| 64 #endif // CHROME_BROWSER_UI_WEBUI_SIGNIN_INLINE_LOGIN_HANDLER_IMPL_H_ | 65 #endif // CHROME_BROWSER_UI_WEBUI_SIGNIN_INLINE_LOGIN_HANDLER_IMPL_H_ |
| OLD | NEW |