OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. |
3 * Copyright (C) 2011 Apple Inc. All rights reserved. | 3 * Copyright (C) 2011 Apple Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
7 * met: | 7 * met: |
8 * | 8 * |
9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 1041 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1052 | 1052 |
1053 std::unique_ptr<blink::WebURLLoader> LocalFrameClientImpl::CreateURLLoader() { | 1053 std::unique_ptr<blink::WebURLLoader> LocalFrameClientImpl::CreateURLLoader() { |
1054 return web_frame_->CreateURLLoader(); | 1054 return web_frame_->CreateURLLoader(); |
1055 } | 1055 } |
1056 | 1056 |
1057 service_manager::InterfaceProvider* | 1057 service_manager::InterfaceProvider* |
1058 LocalFrameClientImpl::GetInterfaceProvider() { | 1058 LocalFrameClientImpl::GetInterfaceProvider() { |
1059 return web_frame_->Client()->GetInterfaceProvider(); | 1059 return web_frame_->Client()->GetInterfaceProvider(); |
1060 } | 1060 } |
1061 | 1061 |
| 1062 Frame* LocalFrameClientImpl::FindFrame(const AtomicString& name) const { |
| 1063 WebFrameClient* client = web_frame_->Client(); |
| 1064 if (!client) |
| 1065 return nullptr; |
| 1066 |
| 1067 return ToCoreFrame(client->FindFrame(name)); |
| 1068 } |
| 1069 |
1062 } // namespace blink | 1070 } // namespace blink |
OLD | NEW |