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

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

Issue 1747283003: Remove redundant codepath for webgl api blocking (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: better handle 'exit_on_context_lost' Created 4 years, 9 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 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 212
213 virtual void didChangeFrameOwnerProperties(HTMLFrameElementBase*) { } 213 virtual void didChangeFrameOwnerProperties(HTMLFrameElementBase*) { }
214 214
215 virtual void dispatchWillOpenWebSocket(WebSocketHandle*) { } 215 virtual void dispatchWillOpenWebSocket(WebSocketHandle*) { }
216 216
217 virtual void dispatchWillStartUsingPeerConnectionHandler(WebRTCPeerConnectio nHandler*) { } 217 virtual void dispatchWillStartUsingPeerConnectionHandler(WebRTCPeerConnectio nHandler*) { }
218 218
219 virtual void didRequestAutocomplete(HTMLFormElement*) = 0; 219 virtual void didRequestAutocomplete(HTMLFormElement*) = 0;
220 220
221 virtual bool allowWebGL(bool enabledPerSettings) { return enabledPerSettings ; } 221 virtual bool allowWebGL(bool enabledPerSettings) { return enabledPerSettings ; }
222 // Informs the embedder that a WebGL canvas inside this frame received a los t context
223 // notification with the given GL_ARB_robustness guilt/innocence code (see E xtensions3D.h).
224 virtual void didLoseWebGLContext(int) { }
225 222
226 // If an HTML document is being loaded, informs the embedder that the docume nt will have its <body> attached soon. 223 // If an HTML document is being loaded, informs the embedder that the docume nt will have its <body> attached soon.
227 virtual void dispatchWillInsertBody() { } 224 virtual void dispatchWillInsertBody() { }
228 225
229 virtual void dispatchDidChangeResourcePriority(unsigned long identifier, Res ourceLoadPriority, int intraPriorityValue) { } 226 virtual void dispatchDidChangeResourcePriority(unsigned long identifier, Res ourceLoadPriority, int intraPriorityValue) { }
230 227
231 virtual PassOwnPtr<WebServiceWorkerProvider> createServiceWorkerProvider() = 0; 228 virtual PassOwnPtr<WebServiceWorkerProvider> createServiceWorkerProvider() = 0;
232 229
233 virtual bool isControlledByServiceWorker(DocumentLoader&) = 0; 230 virtual bool isControlledByServiceWorker(DocumentLoader&) = 0;
234 231
(...skipping 16 matching lines...) Expand all
251 BeforeUnloadHandler, 248 BeforeUnloadHandler,
252 UnloadHandler, 249 UnloadHandler,
253 }; 250 };
254 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio nDisablerType) { } 251 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio nDisablerType) { }
255 252
256 }; 253 };
257 254
258 } // namespace blink 255 } // namespace blink
259 256
260 #endif // FrameLoaderClient_h 257 #endif // FrameLoaderClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698