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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 int64 frame_id, | 72 int64 frame_id, |
73 int64 parent_frame_id, | 73 int64 parent_frame_id, |
74 bool is_main_frame, | 74 bool is_main_frame, |
75 const GURL& validated_url, | 75 const GURL& validated_url, |
76 bool is_error_page, | 76 bool is_error_page, |
77 bool is_iframe_srcdoc, | 77 bool is_iframe_srcdoc, |
78 content::RenderViewHost* render_view_host) OVERRIDE; | 78 content::RenderViewHost* render_view_host) OVERRIDE; |
79 | 79 |
80 virtual void DidCommitProvisionalLoadForFrame( | 80 virtual void DidCommitProvisionalLoadForFrame( |
81 int64 frame_id, | 81 int64 frame_id, |
82 const string16& frame_unique_name, | 82 const base::string16& frame_unique_name, |
83 bool is_main_frame, | 83 bool is_main_frame, |
84 const GURL& url, | 84 const GURL& url, |
85 content::PageTransition transition_type, | 85 content::PageTransition transition_type, |
86 content::RenderViewHost* render_view_host) OVERRIDE; | 86 content::RenderViewHost* render_view_host) OVERRIDE; |
87 | 87 |
88 virtual void DidFailProvisionalLoad( | 88 virtual void DidFailProvisionalLoad( |
89 int64 frame_id, | 89 int64 frame_id, |
90 const string16& frame_unique_name, | 90 const base::string16& frame_unique_name, |
91 bool is_main_frame, | 91 bool is_main_frame, |
92 const GURL& validated_url, | 92 const GURL& validated_url, |
93 int error_code, | 93 int error_code, |
94 const string16& error_description, | 94 const base::string16& error_description, |
95 content::RenderViewHost* render_view_host) OVERRIDE; | 95 content::RenderViewHost* render_view_host) OVERRIDE; |
96 | 96 |
97 virtual void DidStopLoading( | 97 virtual void DidStopLoading( |
98 content::RenderViewHost* render_view_host) OVERRIDE; | 98 content::RenderViewHost* render_view_host) OVERRIDE; |
99 | 99 |
100 // content::NotificationObserver: | 100 // content::NotificationObserver: |
101 virtual void Observe( | 101 virtual void Observe( |
102 int type, | 102 int type, |
103 const content::NotificationSource& source, | 103 const content::NotificationSource& source, |
104 const content::NotificationDetails& details) OVERRIDE; | 104 const content::NotificationDetails& details) OVERRIDE; |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 content::RenderViewHost* provisional_render_view_host_; | 163 content::RenderViewHost* provisional_render_view_host_; |
164 | 164 |
165 content::NotificationRegistrar registrar_; | 165 content::NotificationRegistrar registrar_; |
166 | 166 |
167 DISALLOW_COPY_AND_ASSIGN(CaptivePortalTabHelper); | 167 DISALLOW_COPY_AND_ASSIGN(CaptivePortalTabHelper); |
168 }; | 168 }; |
169 | 169 |
170 } // namespace captive_portal | 170 } // namespace captive_portal |
171 | 171 |
172 #endif // CHROME_BROWSER_CAPTIVE_PORTAL_CAPTIVE_PORTAL_TAB_HELPER_H_ | 172 #endif // CHROME_BROWSER_CAPTIVE_PORTAL_CAPTIVE_PORTAL_TAB_HELPER_H_ |
OLD | NEW |