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

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 from Alex 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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 bool allowMedia(const KURL& mediaURL) override; 138 bool allowMedia(const KURL& mediaURL) override;
139 bool allowDisplayingInsecureContent(bool enabledPerSettings, SecurityOrigin* , const KURL&) override; 139 bool allowDisplayingInsecureContent(bool enabledPerSettings, SecurityOrigin* , const KURL&) override;
140 bool allowRunningInsecureContent(bool enabledPerSettings, SecurityOrigin*, c onst KURL&) override; 140 bool allowRunningInsecureContent(bool enabledPerSettings, SecurityOrigin*, c onst KURL&) override;
141 void didNotAllowScript() override; 141 void didNotAllowScript() override;
142 void didNotAllowPlugins() override; 142 void didNotAllowPlugins() override;
143 143
144 WebCookieJar* cookieJar() const override; 144 WebCookieJar* cookieJar() const override;
145 bool willCheckAndDispatchMessageEvent(SecurityOrigin* target, MessageEvent*, LocalFrame* sourceFrame) const override; 145 bool willCheckAndDispatchMessageEvent(SecurityOrigin* target, MessageEvent*, LocalFrame* sourceFrame) const override;
146 void didChangeName(const String&) override; 146 void didChangeName(const String&) override;
147 void didChangeSandboxFlags(Frame* childFrame, SandboxFlags) override; 147 void didChangeSandboxFlags(Frame* childFrame, SandboxFlags) override;
148 void didChangeScrollingMode(Frame*, ScrollbarMode) override;
149 void didChangeMarginWidth(Frame*, int) override;
150 void didChangeMarginHeight(Frame*, int) override;
148 151
149 void dispatchWillOpenWebSocket(WebSocketHandle*) override; 152 void dispatchWillOpenWebSocket(WebSocketHandle*) override;
150 153
151 void dispatchWillStartUsingPeerConnectionHandler(WebRTCPeerConnectionHandler *) override; 154 void dispatchWillStartUsingPeerConnectionHandler(WebRTCPeerConnectionHandler *) override;
152 155
153 void didRequestAutocomplete(HTMLFormElement*) override; 156 void didRequestAutocomplete(HTMLFormElement*) override;
154 157
155 bool allowWebGL(bool enabledPerSettings) override; 158 bool allowWebGL(bool enabledPerSettings) override;
156 void didLoseWebGLContext(int arbRobustnessContextLostReason) override; 159 void didLoseWebGLContext(int arbRobustnessContextLostReason) override;
157 160
(...skipping 26 matching lines...) Expand all
184 // The WebFrame that owns this object and manages its lifetime. Therefore, 187 // The WebFrame that owns this object and manages its lifetime. Therefore,
185 // the web frame object is guaranteed to exist. 188 // the web frame object is guaranteed to exist.
186 RawPtrWillBeMember<WebLocalFrameImpl> m_webFrame; 189 RawPtrWillBeMember<WebLocalFrameImpl> m_webFrame;
187 }; 190 };
188 191
189 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); 192 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl());
190 193
191 } // namespace blink 194 } // namespace blink
192 195
193 #endif 196 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698