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_EXTENSIONS_API_IDENTITY_WEB_AUTH_FLOW_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_IDENTITY_WEB_AUTH_FLOW_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_API_IDENTITY_WEB_AUTH_FLOW_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_IDENTITY_WEB_AUTH_FLOW_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "chrome/browser/extensions/shell_window_registry.h" | 10 #include "chrome/browser/extensions/shell_window_registry.h" |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 virtual void Observe(int type, | 101 virtual void Observe(int type, |
102 const content::NotificationSource& source, | 102 const content::NotificationSource& source, |
103 const content::NotificationDetails& details) OVERRIDE; | 103 const content::NotificationDetails& details) OVERRIDE; |
104 | 104 |
105 // WebContentsObserver implementation. | 105 // WebContentsObserver implementation. |
106 virtual void DidStopLoading(content::RenderViewHost* render_view_host) | 106 virtual void DidStopLoading(content::RenderViewHost* render_view_host) |
107 OVERRIDE; | 107 OVERRIDE; |
108 virtual void DidNavigateMainFrame( | 108 virtual void DidNavigateMainFrame( |
109 const content::LoadCommittedDetails& details, | 109 const content::LoadCommittedDetails& details, |
110 const content::FrameNavigateParams& params) OVERRIDE; | 110 const content::FrameNavigateParams& params) OVERRIDE; |
111 virtual void RenderViewGone(base::TerminationStatus status) OVERRIDE; | 111 virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE; |
112 virtual void DidStartProvisionalLoadForFrame( | 112 virtual void DidStartProvisionalLoadForFrame( |
113 int64 frame_id, | 113 int64 frame_id, |
114 int64 parent_frame_id, | 114 int64 parent_frame_id, |
115 bool is_main_frame, | 115 bool is_main_frame, |
116 const GURL& validated_url, | 116 const GURL& validated_url, |
117 bool is_error_page, | 117 bool is_error_page, |
118 bool is_iframe_srcdoc, | 118 bool is_iframe_srcdoc, |
119 content::RenderViewHost* render_view_host) OVERRIDE; | 119 content::RenderViewHost* render_view_host) OVERRIDE; |
120 virtual void DidFailProvisionalLoad(int64 frame_id, | 120 virtual void DidFailProvisionalLoad(int64 frame_id, |
121 bool is_main_frame, | 121 bool is_main_frame, |
(...skipping 16 matching lines...) Expand all Loading... |
138 bool embedded_window_created_; | 138 bool embedded_window_created_; |
139 | 139 |
140 content::NotificationRegistrar registrar_; | 140 content::NotificationRegistrar registrar_; |
141 | 141 |
142 DISALLOW_COPY_AND_ASSIGN(WebAuthFlow); | 142 DISALLOW_COPY_AND_ASSIGN(WebAuthFlow); |
143 }; | 143 }; |
144 | 144 |
145 } // namespace extensions | 145 } // namespace extensions |
146 | 146 |
147 #endif // CHROME_BROWSER_EXTENSIONS_API_IDENTITY_WEB_AUTH_FLOW_H_ | 147 #endif // CHROME_BROWSER_EXTENSIONS_API_IDENTITY_WEB_AUTH_FLOW_H_ |
OLD | NEW |