| OLD | NEW |
| 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_CAPTIVE_PORTAL_CAPTIVE_PORTAL_TAB_HELPER_H_ | 5 #ifndef CHROME_BROWSER_CAPTIVE_PORTAL_CAPTIVE_PORTAL_TAB_HELPER_H_ |
| 6 #define CHROME_BROWSER_CAPTIVE_PORTAL_CAPTIVE_PORTAL_TAB_HELPER_H_ | 6 #define CHROME_BROWSER_CAPTIVE_PORTAL_CAPTIVE_PORTAL_TAB_HELPER_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 | 68 |
| 69 virtual void DidStartProvisionalLoadForFrame( | 69 virtual void DidStartProvisionalLoadForFrame( |
| 70 content::RenderFrameHost* render_frame_host, | 70 content::RenderFrameHost* render_frame_host, |
| 71 const GURL& validated_url, | 71 const GURL& validated_url, |
| 72 bool is_error_page, | 72 bool is_error_page, |
| 73 bool is_iframe_srcdoc) OVERRIDE; | 73 bool is_iframe_srcdoc) OVERRIDE; |
| 74 | 74 |
| 75 virtual void DidCommitProvisionalLoadForFrame( | 75 virtual void DidCommitProvisionalLoadForFrame( |
| 76 content::RenderFrameHost* render_frame_host, | 76 content::RenderFrameHost* render_frame_host, |
| 77 const GURL& url, | 77 const GURL& url, |
| 78 content::PageTransition transition_type) OVERRIDE; | 78 ui::PageTransition transition_type) OVERRIDE; |
| 79 | 79 |
| 80 virtual void DidFailProvisionalLoad( | 80 virtual void DidFailProvisionalLoad( |
| 81 content::RenderFrameHost* render_frame_host, | 81 content::RenderFrameHost* render_frame_host, |
| 82 const GURL& validated_url, | 82 const GURL& validated_url, |
| 83 int error_code, | 83 int error_code, |
| 84 const base::string16& error_description) OVERRIDE; | 84 const base::string16& error_description) OVERRIDE; |
| 85 | 85 |
| 86 virtual void DidStopLoading( | 86 virtual void DidStopLoading( |
| 87 content::RenderViewHost* render_view_host) OVERRIDE; | 87 content::RenderViewHost* render_view_host) OVERRIDE; |
| 88 | 88 |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 // cross-process navitations. NULL when there's currently no provisional | 152 // cross-process navitations. NULL when there's currently no provisional |
| 153 // load. | 153 // load. |
| 154 content::RenderViewHost* provisional_render_view_host_; | 154 content::RenderViewHost* provisional_render_view_host_; |
| 155 | 155 |
| 156 content::NotificationRegistrar registrar_; | 156 content::NotificationRegistrar registrar_; |
| 157 | 157 |
| 158 DISALLOW_COPY_AND_ASSIGN(CaptivePortalTabHelper); | 158 DISALLOW_COPY_AND_ASSIGN(CaptivePortalTabHelper); |
| 159 }; | 159 }; |
| 160 | 160 |
| 161 #endif // CHROME_BROWSER_CAPTIVE_PORTAL_CAPTIVE_PORTAL_TAB_HELPER_H_ | 161 #endif // CHROME_BROWSER_CAPTIVE_PORTAL_CAPTIVE_PORTAL_TAB_HELPER_H_ |
| OLD | NEW |