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