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

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

Issue 1319863006: (blink) Propagate scrolling/marginwidth/marginheight property values to child frame. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: address comments + static_cast for enum conversion Created 5 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
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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 bool allowMedia(const KURL& mediaURL) override; 144 bool allowMedia(const KURL& mediaURL) override;
145 bool allowDisplayingInsecureContent(bool enabledPerSettings, SecurityOrigin* , const KURL&) override; 145 bool allowDisplayingInsecureContent(bool enabledPerSettings, SecurityOrigin* , const KURL&) override;
146 bool allowRunningInsecureContent(bool enabledPerSettings, SecurityOrigin*, c onst KURL&) override; 146 bool allowRunningInsecureContent(bool enabledPerSettings, SecurityOrigin*, c onst KURL&) override;
147 void didNotAllowScript() override; 147 void didNotAllowScript() override;
148 void didNotAllowPlugins() override; 148 void didNotAllowPlugins() override;
149 149
150 WebCookieJar* cookieJar() const override; 150 WebCookieJar* cookieJar() const override;
151 bool willCheckAndDispatchMessageEvent(SecurityOrigin* target, MessageEvent*, LocalFrame* sourceFrame) const override; 151 bool willCheckAndDispatchMessageEvent(SecurityOrigin* target, MessageEvent*, LocalFrame* sourceFrame) const override;
152 void didChangeName(const String&) override; 152 void didChangeName(const String&) override;
153 void didChangeSandboxFlags(Frame* childFrame, SandboxFlags) override; 153 void didChangeSandboxFlags(Frame* childFrame, SandboxFlags) override;
154 void didChangeScrollingMode(Frame*, ScrollbarMode) override;
155 void didChangeMarginWidth(Frame*, int) override;
156 void didChangeMarginHeight(Frame*, int) override;
154 157
155 void dispatchWillOpenWebSocket(WebSocketHandle*) override; 158 void dispatchWillOpenWebSocket(WebSocketHandle*) override;
156 159
157 void dispatchWillStartUsingPeerConnectionHandler(WebRTCPeerConnectionHandler *) override; 160 void dispatchWillStartUsingPeerConnectionHandler(WebRTCPeerConnectionHandler *) override;
158 161
159 void didRequestAutocomplete(HTMLFormElement*) override; 162 void didRequestAutocomplete(HTMLFormElement*) override;
160 163
161 bool allowWebGL(bool enabledPerSettings) override; 164 bool allowWebGL(bool enabledPerSettings) override;
162 void didLoseWebGLContext(int arbRobustnessContextLostReason) override; 165 void didLoseWebGLContext(int arbRobustnessContextLostReason) override;
163 166
(...skipping 26 matching lines...) Expand all
190 // The WebFrame that owns this object and manages its lifetime. Therefore, 193 // The WebFrame that owns this object and manages its lifetime. Therefore,
191 // the web frame object is guaranteed to exist. 194 // the web frame object is guaranteed to exist.
192 RawPtrWillBeMember<WebLocalFrameImpl> m_webFrame; 195 RawPtrWillBeMember<WebLocalFrameImpl> m_webFrame;
193 }; 196 };
194 197
195 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); 198 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl());
196 199
197 } // namespace blink 200 } // namespace blink
198 201
199 #endif 202 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698