lukasza | 779a08f8 | 2015-11-04 18:27:04 | [diff] [blame^] | 1 | // Copyright 2015 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 CONTENT_RENDERER_WEB_FRAME_UTILS_H_ |
| 6 | #define CONTENT_RENDERER_WEB_FRAME_UTILS_H_ |
| 7 | |
| 8 | namespace blink { |
| 9 | class WebFrame; |
| 10 | } |
| 11 | |
| 12 | namespace content { |
| 13 | |
| 14 | // Returns the routing ID of the RenderFrameImpl or RenderFrameProxy |
| 15 | // associated with |web_frame|. |
| 16 | int GetRoutingIdForFrameOrProxy(blink::WebFrame* web_frame); |
| 17 | |
| 18 | } // namespace content |
| 19 | |
| 20 | #endif // CONTENT_RENDERER_WEB_FRAME_UTILS_H_ |