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 1034 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1045 } | 1045 } |
1046 | 1046 |
1047 TextCheckerClient& LocalFrameClientImpl::GetTextCheckerClient() const { | 1047 TextCheckerClient& LocalFrameClientImpl::GetTextCheckerClient() const { |
1048 return web_frame_->GetTextCheckerClient(); | 1048 return web_frame_->GetTextCheckerClient(); |
1049 } | 1049 } |
1050 | 1050 |
1051 std::unique_ptr<blink::WebURLLoader> LocalFrameClientImpl::CreateURLLoader() { | 1051 std::unique_ptr<blink::WebURLLoader> LocalFrameClientImpl::CreateURLLoader() { |
1052 return web_frame_->CreateURLLoader(); | 1052 return web_frame_->CreateURLLoader(); |
1053 } | 1053 } |
1054 | 1054 |
1055 void LocalFrameClientImpl::AnnotatedRegionsChanged() { | |
1056 if (web_frame_->Client()) | |
dcheng
2017/06/07 20:22:35
Nit: no null check needed here, if LocalFrameClien
Łukasz Anforowicz
2017/06/08 16:29:24
Done - thanks for pointing this out (I was just ca
| |
1057 web_frame_->Client()->DraggableRegionsChanged(); | |
1058 } | |
1059 | |
1055 } // namespace blink | 1060 } // namespace blink |
OLD | NEW |