| 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 public: | 45 public: |
| 46 explicit FrameLoaderClientImpl(WebLocalFrameImpl* webFrame); | 46 explicit FrameLoaderClientImpl(WebLocalFrameImpl* webFrame); |
| 47 virtual ~FrameLoaderClientImpl(); | 47 virtual ~FrameLoaderClientImpl(); |
| 48 | 48 |
| 49 WebLocalFrameImpl* webFrame() const { return m_webFrame; } | 49 WebLocalFrameImpl* webFrame() const { return m_webFrame; } |
| 50 | 50 |
| 51 // FrameLoaderClient ---------------------------------------------- | 51 // FrameLoaderClient ---------------------------------------------- |
| 52 | 52 |
| 53 virtual void documentElementAvailable() override; | 53 virtual void documentElementAvailable() override; |
| 54 | 54 |
| 55 virtual void didCreateScriptContext(v8::Handle<v8::Context>, int extensionGr
oup, int worldId) override; | 55 virtual void didCreateScriptContext(v8::Handle<v8::Context>) override; |
| 56 virtual void willReleaseScriptContext(v8::Handle<v8::Context>, int worldId)
override; | 56 virtual void willReleaseScriptContext(v8::Handle<v8::Context>) override; |
| 57 | 57 |
| 58 virtual void detachedFromParent() override; | 58 virtual void detachedFromParent() override; |
| 59 virtual void dispatchWillSendRequest(Document*, unsigned long identifier, Re
sourceRequest&, const ResourceResponse& redirectResponse) override; | 59 virtual void dispatchWillSendRequest(Document*, unsigned long identifier, Re
sourceRequest&, const ResourceResponse& redirectResponse) override; |
| 60 virtual void dispatchDidReceiveResponse(Document*, unsigned long identifier,
const ResourceResponse&) override; | 60 virtual void dispatchDidReceiveResponse(Document*, unsigned long identifier,
const ResourceResponse&) override; |
| 61 virtual void dispatchDidChangeResourcePriority(unsigned long identifier, Res
ourceLoadPriority, int intraPriorityValue) override; | 61 virtual void dispatchDidChangeResourcePriority(unsigned long identifier, Res
ourceLoadPriority, int intraPriorityValue) override; |
| 62 virtual void dispatchDidFinishLoading(Document*, unsigned long identifier) o
verride; | 62 virtual void dispatchDidFinishLoading(Document*, unsigned long identifier) o
verride; |
| 63 virtual void dispatchDidLoadResourceFromMemoryCache(const ResourceRequest&,
const ResourceResponse&) override; | 63 virtual void dispatchDidLoadResourceFromMemoryCache(const ResourceRequest&,
const ResourceResponse&) override; |
| 64 virtual void dispatchDidHandleOnloadEvents() override; | 64 virtual void dispatchDidHandleOnloadEvents() override; |
| 65 virtual void dispatchWillClose() override; | 65 virtual void dispatchWillClose() override; |
| 66 virtual void dispatchDidReceiveTitle(const String&) override; | 66 virtual void dispatchDidReceiveTitle(const String&) override; |
| (...skipping 21 matching lines...) Expand all Loading... |
| 88 // The WebFrame that owns this object and manages its lifetime. Therefore, | 88 // The WebFrame that owns this object and manages its lifetime. Therefore, |
| 89 // the web frame object is guaranteed to exist. | 89 // the web frame object is guaranteed to exist. |
| 90 WebLocalFrameImpl* m_webFrame; | 90 WebLocalFrameImpl* m_webFrame; |
| 91 }; | 91 }; |
| 92 | 92 |
| 93 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr
ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); | 93 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr
ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); |
| 94 | 94 |
| 95 } // namespace blink | 95 } // namespace blink |
| 96 | 96 |
| 97 #endif // SKY_ENGINE_WEB_FRAMELOADERCLIENTIMPL_H_ | 97 #endif // SKY_ENGINE_WEB_FRAMELOADERCLIENTIMPL_H_ |
| OLD | NEW |