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

Side by Side Diff: Source/web/FrameLoaderClientImpl.h

Issue 543913002: Hook up postMessages to WebRemoteFrameClient (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix webkit_unit_tests compile Created 6 years, 3 months 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/loader/FrameLoaderClient.h ('k') | Source/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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 virtual bool allowScriptFromSource(bool enabledPerSettings, const KURL& scri ptURL) OVERRIDE; 135 virtual bool allowScriptFromSource(bool enabledPerSettings, const KURL& scri ptURL) OVERRIDE;
136 virtual bool allowPlugins(bool enabledPerSettings) OVERRIDE; 136 virtual bool allowPlugins(bool enabledPerSettings) OVERRIDE;
137 virtual bool allowImage(bool enabledPerSettings, const KURL& imageURL) OVERR IDE; 137 virtual bool allowImage(bool enabledPerSettings, const KURL& imageURL) OVERR IDE;
138 virtual bool allowMedia(const KURL& mediaURL) OVERRIDE; 138 virtual bool allowMedia(const KURL& mediaURL) OVERRIDE;
139 virtual bool allowDisplayingInsecureContent(bool enabledPerSettings, Securit yOrigin*, const KURL&) OVERRIDE; 139 virtual bool allowDisplayingInsecureContent(bool enabledPerSettings, Securit yOrigin*, const KURL&) OVERRIDE;
140 virtual bool allowRunningInsecureContent(bool enabledPerSettings, SecurityOr igin*, const KURL&) OVERRIDE; 140 virtual bool allowRunningInsecureContent(bool enabledPerSettings, SecurityOr igin*, const KURL&) OVERRIDE;
141 virtual void didNotAllowScript() OVERRIDE; 141 virtual void didNotAllowScript() OVERRIDE;
142 virtual void didNotAllowPlugins() OVERRIDE; 142 virtual void didNotAllowPlugins() OVERRIDE;
143 143
144 virtual WebCookieJar* cookieJar() const OVERRIDE; 144 virtual WebCookieJar* cookieJar() const OVERRIDE;
145 virtual bool willCheckAndDispatchMessageEvent(SecurityOrigin* target, Messag eEvent*) const OVERRIDE; 145 virtual bool willCheckAndDispatchMessageEvent(SecurityOrigin* target, Messag eEvent*, LocalFrame* sourceFrame) const OVERRIDE;
146 virtual void didChangeName(const String&) OVERRIDE; 146 virtual void didChangeName(const String&) OVERRIDE;
147 147
148 virtual void dispatchWillOpenSocketStream(SocketStreamHandle*) OVERRIDE; 148 virtual void dispatchWillOpenSocketStream(SocketStreamHandle*) OVERRIDE;
149 virtual void dispatchWillOpenWebSocket(WebSocketHandle*) OVERRIDE; 149 virtual void dispatchWillOpenWebSocket(WebSocketHandle*) OVERRIDE;
150 150
151 virtual void dispatchWillStartUsingPeerConnectionHandler(WebRTCPeerConnectio nHandler*) OVERRIDE; 151 virtual void dispatchWillStartUsingPeerConnectionHandler(WebRTCPeerConnectio nHandler*) OVERRIDE;
152 152
153 virtual void didRequestAutocomplete(HTMLFormElement*) OVERRIDE; 153 virtual void didRequestAutocomplete(HTMLFormElement*) OVERRIDE;
154 154
155 virtual bool allowWebGL(bool enabledPerSettings) OVERRIDE; 155 virtual bool allowWebGL(bool enabledPerSettings) OVERRIDE;
(...skipping 19 matching lines...) Expand all
175 // The WebFrame that owns this object and manages its lifetime. Therefore, 175 // The WebFrame that owns this object and manages its lifetime. Therefore,
176 // the web frame object is guaranteed to exist. 176 // the web frame object is guaranteed to exist.
177 WebLocalFrameImpl* m_webFrame; 177 WebLocalFrameImpl* m_webFrame;
178 }; 178 };
179 179
180 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); 180 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl());
181 181
182 } // namespace blink 182 } // namespace blink
183 183
184 #endif 184 #endif
OLDNEW
« no previous file with comments | « Source/core/loader/FrameLoaderClient.h ('k') | Source/web/FrameLoaderClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698