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

Side by Side Diff: third_party/WebKit/Source/core/loader/FrameLoaderClient.h

Issue 1307013004: Propagate scrolling/marginwidth/marginheight property values to child frame. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments from Daniel Created 5 years, 2 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
3 * Copyright (C) 2012 Google Inc. All rights reserved. 3 * Copyright (C) 2012 Google 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 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 #include "wtf/Forward.h" 43 #include "wtf/Forward.h"
44 #include "wtf/Vector.h" 44 #include "wtf/Vector.h"
45 #include <v8.h> 45 #include <v8.h>
46 46
47 namespace blink { 47 namespace blink {
48 48
49 class Document; 49 class Document;
50 class DocumentLoader; 50 class DocumentLoader;
51 class FetchRequest; 51 class FetchRequest;
52 class HTMLFormElement; 52 class HTMLFormElement;
53 class HTMLFrameElementBase;
53 class HTMLFrameOwnerElement; 54 class HTMLFrameOwnerElement;
54 class HTMLMediaElement; 55 class HTMLMediaElement;
55 class HTMLPlugInElement; 56 class HTMLPlugInElement;
56 class HistoryItem; 57 class HistoryItem;
57 class KURL; 58 class KURL;
58 class LocalFrame; 59 class LocalFrame;
59 class ResourceError; 60 class ResourceError;
60 class ResourceRequest; 61 class ResourceRequest;
61 class ResourceResponse; 62 class ResourceResponse;
62 class SecurityOrigin; 63 class SecurityOrigin;
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 virtual void didNotAllowScript() { } 186 virtual void didNotAllowScript() { }
186 // This callback is similar, but for plugins. 187 // This callback is similar, but for plugins.
187 virtual void didNotAllowPlugins() { } 188 virtual void didNotAllowPlugins() { }
188 189
189 virtual WebCookieJar* cookieJar() const = 0; 190 virtual WebCookieJar* cookieJar() const = 0;
190 191
191 virtual void didChangeName(const String&) { } 192 virtual void didChangeName(const String&) { }
192 193
193 virtual void didChangeSandboxFlags(Frame* childFrame, SandboxFlags) { } 194 virtual void didChangeSandboxFlags(Frame* childFrame, SandboxFlags) { }
194 195
196 virtual void didChangeFrameOwnerProperties(HTMLFrameElementBase*) { }
197
195 virtual void dispatchWillOpenWebSocket(WebSocketHandle*) { } 198 virtual void dispatchWillOpenWebSocket(WebSocketHandle*) { }
196 199
197 virtual void dispatchWillStartUsingPeerConnectionHandler(WebRTCPeerConnectio nHandler*) { } 200 virtual void dispatchWillStartUsingPeerConnectionHandler(WebRTCPeerConnectio nHandler*) { }
198 201
199 virtual void didRequestAutocomplete(HTMLFormElement*) = 0; 202 virtual void didRequestAutocomplete(HTMLFormElement*) = 0;
200 203
201 virtual bool allowWebGL(bool enabledPerSettings) { return enabledPerSettings ; } 204 virtual bool allowWebGL(bool enabledPerSettings) { return enabledPerSettings ; }
202 // Informs the embedder that a WebGL canvas inside this frame received a los t context 205 // Informs the embedder that a WebGL canvas inside this frame received a los t context
203 // notification with the given GL_ARB_robustness guilt/innocence code (see E xtensions3D.h). 206 // notification with the given GL_ARB_robustness guilt/innocence code (see E xtensions3D.h).
204 virtual void didLoseWebGLContext(int) { } 207 virtual void didLoseWebGLContext(int) { }
(...skipping 28 matching lines...) Expand all
233 BeforeUnloadHandler, 236 BeforeUnloadHandler,
234 UnloadHandler, 237 UnloadHandler,
235 }; 238 };
236 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio nDisablerType) { } 239 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio nDisablerType) { }
237 240
238 }; 241 };
239 242
240 } // namespace blink 243 } // namespace blink
241 244
242 #endif // FrameLoaderClient_h 245 #endif // FrameLoaderClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698