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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 public: | 64 public: |
65 virtual ~CaptivePortalTabHelper(); | 65 virtual ~CaptivePortalTabHelper(); |
66 | 66 |
67 // content::WebContentsObserver: | 67 // content::WebContentsObserver: |
68 virtual void DidStartProvisionalLoadForFrame( | 68 virtual void DidStartProvisionalLoadForFrame( |
69 int64 frame_id, | 69 int64 frame_id, |
70 int64 parent_frame_id, | 70 int64 parent_frame_id, |
71 bool is_main_frame, | 71 bool is_main_frame, |
72 const GURL& validated_url, | 72 const GURL& validated_url, |
73 bool is_error_page, | 73 bool is_error_page, |
| 74 bool is_iframe_srcdoc, |
74 content::RenderViewHost* render_view_host) OVERRIDE; | 75 content::RenderViewHost* render_view_host) OVERRIDE; |
75 | 76 |
76 virtual void DidCommitProvisionalLoadForFrame( | 77 virtual void DidCommitProvisionalLoadForFrame( |
77 int64 frame_id, | 78 int64 frame_id, |
78 bool is_main_frame, | 79 bool is_main_frame, |
79 const GURL& url, | 80 const GURL& url, |
80 content::PageTransition transition_type, | 81 content::PageTransition transition_type, |
81 content::RenderViewHost* render_view_host) OVERRIDE; | 82 content::RenderViewHost* render_view_host) OVERRIDE; |
82 | 83 |
83 virtual void DidFailProvisionalLoad( | 84 virtual void DidFailProvisionalLoad( |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 content::RenderViewHost* provisional_render_view_host_; | 158 content::RenderViewHost* provisional_render_view_host_; |
158 | 159 |
159 content::NotificationRegistrar registrar_; | 160 content::NotificationRegistrar registrar_; |
160 | 161 |
161 DISALLOW_COPY_AND_ASSIGN(CaptivePortalTabHelper); | 162 DISALLOW_COPY_AND_ASSIGN(CaptivePortalTabHelper); |
162 }; | 163 }; |
163 | 164 |
164 } // namespace captive_portal | 165 } // namespace captive_portal |
165 | 166 |
166 #endif // CHROME_BROWSER_CAPTIVE_PORTAL_CAPTIVE_PORTAL_TAB_HELPER_H_ | 167 #endif // CHROME_BROWSER_CAPTIVE_PORTAL_CAPTIVE_PORTAL_TAB_HELPER_H_ |
OLD | NEW |