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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 | 175 |
176 unsigned backForwardLength() override; | 176 unsigned backForwardLength() override; |
177 | 177 |
178 void suddenTerminationDisablerChanged(bool present, SuddenTerminationDisable
rType) override; | 178 void suddenTerminationDisablerChanged(bool present, SuddenTerminationDisable
rType) override; |
179 | 179 |
180 private: | 180 private: |
181 explicit FrameLoaderClientImpl(WebLocalFrameImpl*); | 181 explicit FrameLoaderClientImpl(WebLocalFrameImpl*); |
182 | 182 |
183 bool isFrameLoaderClientImpl() const override { return true; } | 183 bool isFrameLoaderClientImpl() const override { return true; } |
184 | 184 |
185 PassOwnPtr<WebPluginLoadObserver> pluginLoadObserver(DocumentLoader*); | 185 PassOwnPtrWillBeRawPtr<WebPluginLoadObserver> pluginLoadObserver(DocumentLoa
der*); |
186 | 186 |
187 // The WebFrame that owns this object and manages its lifetime. Therefore, | 187 // The WebFrame that owns this object and manages its lifetime. Therefore, |
188 // the web frame object is guaranteed to exist. | 188 // the web frame object is guaranteed to exist. |
189 RawPtrWillBeMember<WebLocalFrameImpl> m_webFrame; | 189 RawPtrWillBeMember<WebLocalFrameImpl> m_webFrame; |
190 }; | 190 }; |
191 | 191 |
192 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr
ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); | 192 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr
ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); |
193 | 193 |
194 } // namespace blink | 194 } // namespace blink |
195 | 195 |
196 #endif | 196 #endif |
OLD | NEW |