| 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 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 212 SuddenTerminationDisablerType) override; | 212 SuddenTerminationDisablerType) override; |
| 213 | 213 |
| 214 BlameContext* frameBlameContext() override; | 214 BlameContext* frameBlameContext() override; |
| 215 | 215 |
| 216 LinkResource* createServiceWorkerLinkResource(HTMLLinkElement*) override; | 216 LinkResource* createServiceWorkerLinkResource(HTMLLinkElement*) override; |
| 217 | 217 |
| 218 WebEffectiveConnectionType getEffectiveConnectionType() override; | 218 WebEffectiveConnectionType getEffectiveConnectionType() override; |
| 219 | 219 |
| 220 KURL overrideFlashEmbedWithHTML(const KURL&) override; | 220 KURL overrideFlashEmbedWithHTML(const KURL&) override; |
| 221 | 221 |
| 222 void setHasReceivedUserGesture() override; |
| 223 |
| 222 private: | 224 private: |
| 223 explicit FrameLoaderClientImpl(WebLocalFrameImpl*); | 225 explicit FrameLoaderClientImpl(WebLocalFrameImpl*); |
| 224 | 226 |
| 225 bool isFrameLoaderClientImpl() const override { return true; } | 227 bool isFrameLoaderClientImpl() const override { return true; } |
| 226 WebDevToolsAgentImpl* devToolsAgent(); | 228 WebDevToolsAgentImpl* devToolsAgent(); |
| 227 | 229 |
| 228 // The WebFrame that owns this object and manages its lifetime. Therefore, | 230 // The WebFrame that owns this object and manages its lifetime. Therefore, |
| 229 // the web frame object is guaranteed to exist. | 231 // the web frame object is guaranteed to exist. |
| 230 Member<WebLocalFrameImpl> m_webFrame; | 232 Member<WebLocalFrameImpl> m_webFrame; |
| 231 | 233 |
| 232 String m_userAgent; | 234 String m_userAgent; |
| 233 }; | 235 }; |
| 234 | 236 |
| 235 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, | 237 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, |
| 236 FrameLoaderClient, | 238 FrameLoaderClient, |
| 237 client, | 239 client, |
| 238 client->isFrameLoaderClientImpl(), | 240 client->isFrameLoaderClientImpl(), |
| 239 client.isFrameLoaderClientImpl()); | 241 client.isFrameLoaderClientImpl()); |
| 240 | 242 |
| 241 } // namespace blink | 243 } // namespace blink |
| 242 | 244 |
| 243 #endif | 245 #endif |
| OLD | NEW |