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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 178 private: | 178 private: |
| 179 explicit FrameLoaderClientImpl(WebLocalFrameImpl*); | 179 explicit FrameLoaderClientImpl(WebLocalFrameImpl*); |
| 180 | 180 |
| 181 bool isFrameLoaderClientImpl() const override { return true; } | 181 bool isFrameLoaderClientImpl() const override { return true; } |
| 182 | 182 |
| 183 PassOwnPtr<WebPluginLoadObserver> pluginLoadObserver(DocumentLoader*); | 183 PassOwnPtr<WebPluginLoadObserver> pluginLoadObserver(DocumentLoader*); |
| 184 | 184 |
| 185 // The WebFrame that owns this object and manages its lifetime. Therefore, | 185 // The WebFrame that owns this object and manages its lifetime. Therefore, |
| 186 // the web frame object is guaranteed to exist. | 186 // the web frame object is guaranteed to exist. |
| 187 RawPtrWillBeMember<WebLocalFrameImpl> m_webFrame; | 187 RawPtrWillBeMember<WebLocalFrameImpl> m_webFrame; |
| 188 | |
| 189 WebString m_userAgent; | |
|
kinuko
2015/10/16 11:12:21
nit: let's just use String in non-Web / boundary c
tzik
2015/10/19 08:16:48
Acknowledged.
I moved to this to FrameLoader and
| |
| 188 }; | 190 }; |
| 189 | 191 |
| 190 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); | 192 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); |
| 191 | 193 |
| 192 } // namespace blink | 194 } // namespace blink |
| 193 | 195 |
| 194 #endif | 196 #endif |
| OLD | NEW |