Chromium Code Reviews| 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 1019 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1030 return ServiceWorkerLinkResource::create(owner); | 1030 return ServiceWorkerLinkResource::create(owner); |
| 1031 } | 1031 } |
| 1032 | 1032 |
| 1033 WebEffectiveConnectionType FrameLoaderClientImpl::getEffectiveConnectionType() | 1033 WebEffectiveConnectionType FrameLoaderClientImpl::getEffectiveConnectionType() |
| 1034 { | 1034 { |
| 1035 if (m_webFrame->client()) | 1035 if (m_webFrame->client()) |
| 1036 return m_webFrame->client()->getEffectiveConnectionType(); | 1036 return m_webFrame->client()->getEffectiveConnectionType(); |
| 1037 return WebEffectiveConnectionType::TypeUnknown; | 1037 return WebEffectiveConnectionType::TypeUnknown; |
| 1038 } | 1038 } |
| 1039 | 1039 |
| 1040 String FrameLoaderClientImpl::OverrideFlashEmbedWithHTML(const String& url) | |
| 1041 { | |
| 1042 String ret; | |
| 1043 if (m_webFrame->client()) { | |
| 1044 ret = m_webFrame->client()->overrideFlashEmbedWithHTML(WebString(url)); | |
| 1045 } | |
| 1046 return ret; | |
|
mlamouri (slow - plz ping)
2016/07/28 13:05:13
I think it will read better this way:
```
if (m_we
kdsilva
2016/07/28 15:17:18
Done. Assuming you meant "if (!m_webFrame->client(
| |
| 1047 } | |
| 1048 | |
| 1040 } // namespace blink | 1049 } // namespace blink |
| OLD | NEW |