Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(202)

Side by Side Diff: sky/engine/web/FrameLoaderClientImpl.h

Issue 776143003: Remove Isolated Worlds from Sky (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sky/engine/public/web/WebFrameClient.h ('k') | sky/engine/web/FrameLoaderClientImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « sky/engine/public/web/WebFrameClient.h ('k') | sky/engine/web/FrameLoaderClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698