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