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 23 matching lines...) Expand all Loading... |
34 | 34 |
35 #include "core/loader/FrameLoaderClient.h" | 35 #include "core/loader/FrameLoaderClient.h" |
36 #include "platform/heap/Handle.h" | 36 #include "platform/heap/Handle.h" |
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 class WebPluginContainerImpl; | |
45 class WebPluginLoadObserver; | 44 class WebPluginLoadObserver; |
46 | 45 |
47 class FrameLoaderClientImpl final : public FrameLoaderClient { | 46 class FrameLoaderClientImpl final : public FrameLoaderClient { |
48 public: | 47 public: |
49 explicit FrameLoaderClientImpl(WebLocalFrameImpl* webFrame); | 48 explicit FrameLoaderClientImpl(WebLocalFrameImpl* webFrame); |
50 virtual ~FrameLoaderClientImpl(); | 49 virtual ~FrameLoaderClientImpl(); |
51 | 50 |
52 WebLocalFrameImpl* webFrame() const { return m_webFrame; } | 51 WebLocalFrameImpl* webFrame() const { return m_webFrame; } |
53 | 52 |
54 // FrameLoaderClient ---------------------------------------------- | 53 // FrameLoaderClient ---------------------------------------------- |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 // The WebFrame that owns this object and manages its lifetime. Therefore, | 178 // The WebFrame that owns this object and manages its lifetime. Therefore, |
180 // the web frame object is guaranteed to exist. | 179 // the web frame object is guaranteed to exist. |
181 WebLocalFrameImpl* m_webFrame; | 180 WebLocalFrameImpl* m_webFrame; |
182 }; | 181 }; |
183 | 182 |
184 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr
ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); | 183 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr
ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); |
185 | 184 |
186 } // namespace blink | 185 } // namespace blink |
187 | 186 |
188 #endif | 187 #endif |
OLD | NEW |