| 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 26 matching lines...) Expand all Loading... |
| 37 #include "platform/weborigin/KURL.h" | 37 #include "platform/weborigin/KURL.h" |
| 38 #include "wtf/PassOwnPtr.h" | 38 #include "wtf/PassOwnPtr.h" |
| 39 #include "wtf/RefPtr.h" | 39 #include "wtf/RefPtr.h" |
| 40 | 40 |
| 41 namespace blink { | 41 namespace blink { |
| 42 | 42 |
| 43 class WebLocalFrameImpl; | 43 class WebLocalFrameImpl; |
| 44 | 44 |
| 45 class FrameLoaderClientImpl final : public FrameLoaderClient { | 45 class FrameLoaderClientImpl final : public FrameLoaderClient { |
| 46 public: | 46 public: |
| 47 static RawPtr<FrameLoaderClientImpl> create(WebLocalFrameImpl*); | 47 static FrameLoaderClientImpl* create(WebLocalFrameImpl*); |
| 48 | 48 |
| 49 ~FrameLoaderClientImpl() override; | 49 ~FrameLoaderClientImpl() override; |
| 50 | 50 |
| 51 DECLARE_VIRTUAL_TRACE(); | 51 DECLARE_VIRTUAL_TRACE(); |
| 52 | 52 |
| 53 WebLocalFrameImpl* webFrame() const { return m_webFrame.get(); } | 53 WebLocalFrameImpl* webFrame() const { return m_webFrame.get(); } |
| 54 | 54 |
| 55 // FrameLoaderClient ---------------------------------------------- | 55 // FrameLoaderClient ---------------------------------------------- |
| 56 | 56 |
| 57 void didCreateNewDocument() override; | 57 void didCreateNewDocument() override; |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 Member<WebLocalFrameImpl> m_webFrame; | 196 Member<WebLocalFrameImpl> m_webFrame; |
| 197 | 197 |
| 198 String m_userAgent; | 198 String m_userAgent; |
| 199 }; | 199 }; |
| 200 | 200 |
| 201 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr
ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); | 201 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr
ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); |
| 202 | 202 |
| 203 } // namespace blink | 203 } // namespace blink |
| 204 | 204 |
| 205 #endif | 205 #endif |
| OLD | NEW |