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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 PassOwnPtrWillBeRawPtr<LinkResource> createServiceWorkerLinkResource(HTMLLin
kElement*) override; | 185 PassOwnPtrWillBeRawPtr<LinkResource> createServiceWorkerLinkResource(HTMLLin
kElement*) override; |
186 | 186 |
187 private: | 187 private: |
188 explicit FrameLoaderClientImpl(WebLocalFrameImpl*); | 188 explicit FrameLoaderClientImpl(WebLocalFrameImpl*); |
189 | 189 |
190 bool isFrameLoaderClientImpl() const override { return true; } | 190 bool isFrameLoaderClientImpl() const override { return true; } |
191 | 191 |
192 // The WebFrame that owns this object and manages its lifetime. Therefore, | 192 // The WebFrame that owns this object and manages its lifetime. Therefore, |
193 // the web frame object is guaranteed to exist. | 193 // the web frame object is guaranteed to exist. |
194 RawPtrWillBeMember<WebLocalFrameImpl> m_webFrame; | 194 RawPtrWillBeMember<WebLocalFrameImpl> m_webFrame; |
| 195 |
| 196 String m_userAgent; |
195 }; | 197 }; |
196 | 198 |
197 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr
ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); | 199 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr
ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); |
198 | 200 |
199 } // namespace blink | 201 } // namespace blink |
200 | 202 |
201 #endif | 203 #endif |
OLD | NEW |