OLD | NEW |
| (Empty) |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_BROWSER_UI_WEBUI_SIGNIN_GET_AUTH_FRAME_H_ | |
6 #define CHROME_BROWSER_UI_WEBUI_SIGNIN_GET_AUTH_FRAME_H_ | |
7 | |
8 #include <string> | |
9 | |
10 namespace content { | |
11 class RenderFrameHost; | |
12 class WebContents; | |
13 } | |
14 | |
15 namespace signin { | |
16 | |
17 // Gets a webview within an auth page that has the specified parent frame name | |
18 // (i.e. <webview name="foobar"></webview>). | |
19 content::RenderFrameHost* GetAuthFrame(content::WebContents* web_contents, | |
20 const std::string& parent_frame_name); | |
21 | |
22 content::WebContents* GetAuthFrameWebContents( | |
23 content::WebContents* web_contents, | |
24 const std::string& parent_frame_name); | |
25 | |
26 } // namespace signin | |
27 | |
28 #endif // CHROME_BROWSER_UI_WEBUI_SIGNIN_GET_AUTH_FRAME_H_ | |
OLD | NEW |