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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 virtual void didExhaustMemoryAvailableForScript(); | 62 virtual void didExhaustMemoryAvailableForScript(); |
63 | 63 |
64 virtual void didCreateScriptContext(v8::Handle<v8::Context>, int extensionGr
oup, int worldId) OVERRIDE; | 64 virtual void didCreateScriptContext(v8::Handle<v8::Context>, int extensionGr
oup, int worldId) OVERRIDE; |
65 virtual void willReleaseScriptContext(v8::Handle<v8::Context>, int worldId)
OVERRIDE; | 65 virtual void willReleaseScriptContext(v8::Handle<v8::Context>, int worldId)
OVERRIDE; |
66 | 66 |
67 // Returns true if we should allow the given V8 extension to be added to | 67 // Returns true if we should allow the given V8 extension to be added to |
68 // the script context at the currently loading page and given extension grou
p. | 68 // the script context at the currently loading page and given extension grou
p. |
69 virtual bool allowScriptExtension(const String& extensionName, int extension
Group, int worldId) OVERRIDE; | 69 virtual bool allowScriptExtension(const String& extensionName, int extension
Group, int worldId) OVERRIDE; |
70 | 70 |
71 virtual bool hasWebView() const OVERRIDE; | 71 virtual bool hasWebView() const OVERRIDE; |
| 72 virtual WebCore::Frame* parent() const OVERRIDE; |
| 73 virtual WebCore::Frame* top() const OVERRIDE; |
| 74 virtual WebCore::Frame* previousSibling() const OVERRIDE; |
| 75 virtual WebCore::Frame* nextSibling() const OVERRIDE; |
| 76 virtual WebCore::Frame* firstChild() const OVERRIDE; |
| 77 virtual WebCore::Frame* lastChild() const OVERRIDE; |
72 virtual void detachedFromParent() OVERRIDE; | 78 virtual void detachedFromParent() OVERRIDE; |
73 virtual void dispatchWillRequestAfterPreconnect(WebCore::ResourceRequest&) O
VERRIDE; | 79 virtual void dispatchWillRequestAfterPreconnect(WebCore::ResourceRequest&) O
VERRIDE; |
74 virtual void dispatchWillSendRequest(WebCore::DocumentLoader*, unsigned long
identifier, WebCore::ResourceRequest&, const WebCore::ResourceResponse& redirec
tResponse) OVERRIDE; | 80 virtual void dispatchWillSendRequest(WebCore::DocumentLoader*, unsigned long
identifier, WebCore::ResourceRequest&, const WebCore::ResourceResponse& redirec
tResponse) OVERRIDE; |
75 virtual void dispatchDidReceiveResponse(WebCore::DocumentLoader*, unsigned l
ong identifier, const WebCore::ResourceResponse&) OVERRIDE; | 81 virtual void dispatchDidReceiveResponse(WebCore::DocumentLoader*, unsigned l
ong identifier, const WebCore::ResourceResponse&) OVERRIDE; |
76 virtual void dispatchDidChangeResourcePriority(unsigned long identifier, Web
Core::ResourceLoadPriority) OVERRIDE; | 82 virtual void dispatchDidChangeResourcePriority(unsigned long identifier, Web
Core::ResourceLoadPriority) OVERRIDE; |
77 virtual void dispatchDidFinishLoading(WebCore::DocumentLoader*, unsigned lon
g identifier) OVERRIDE; | 83 virtual void dispatchDidFinishLoading(WebCore::DocumentLoader*, unsigned lon
g identifier) OVERRIDE; |
78 virtual void dispatchDidLoadResourceFromMemoryCache(const WebCore::ResourceR
equest&, const WebCore::ResourceResponse&) OVERRIDE; | 84 virtual void dispatchDidLoadResourceFromMemoryCache(const WebCore::ResourceR
equest&, const WebCore::ResourceResponse&) OVERRIDE; |
79 virtual void dispatchDidHandleOnloadEvents() OVERRIDE; | 85 virtual void dispatchDidHandleOnloadEvents() OVERRIDE; |
80 virtual void dispatchDidReceiveServerRedirectForProvisionalLoad() OVERRIDE; | 86 virtual void dispatchDidReceiveServerRedirectForProvisionalLoad() OVERRIDE; |
81 virtual void dispatchDidNavigateWithinPage(WebCore::HistoryItem*, WebCore::H
istoryCommitType) OVERRIDE; | 87 virtual void dispatchDidNavigateWithinPage(WebCore::HistoryItem*, WebCore::H
istoryCommitType) OVERRIDE; |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 // The WebFrame that owns this object and manages its lifetime. Therefore, | 166 // The WebFrame that owns this object and manages its lifetime. Therefore, |
161 // the web frame object is guaranteed to exist. | 167 // the web frame object is guaranteed to exist. |
162 WebFrameImpl* m_webFrame; | 168 WebFrameImpl* m_webFrame; |
163 }; | 169 }; |
164 | 170 |
165 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, WebCore::FrameLoaderClient, client, cli
ent->isFrameLoaderClientImpl(), client.isFrameLoaderClientImpl()); | 171 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, WebCore::FrameLoaderClient, client, cli
ent->isFrameLoaderClientImpl(), client.isFrameLoaderClientImpl()); |
166 | 172 |
167 } // namespace blink | 173 } // namespace blink |
168 | 174 |
169 #endif | 175 #endif |
OLD | NEW |