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

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: rebase Created 4 years, 8 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 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 215
216 virtual void didChangeFrameOwnerProperties(HTMLFrameElementBase*) { } 216 virtual void didChangeFrameOwnerProperties(HTMLFrameElementBase*) { }
217 217
218 virtual void dispatchWillOpenWebSocket(WebSocketHandle*) { } 218 virtual void dispatchWillOpenWebSocket(WebSocketHandle*) { }
219 219
220 virtual void dispatchWillStartUsingPeerConnectionHandler(WebRTCPeerConnectio nHandler*) { } 220 virtual void dispatchWillStartUsingPeerConnectionHandler(WebRTCPeerConnectio nHandler*) { }
221 221
222 virtual void didRequestAutocomplete(HTMLFormElement*) = 0; 222 virtual void didRequestAutocomplete(HTMLFormElement*) = 0;
223 223
224 virtual bool allowWebGL(bool enabledPerSettings) { return enabledPerSettings ; } 224 virtual bool allowWebGL(bool enabledPerSettings) { return enabledPerSettings ; }
225 // Informs the embedder that a WebGL canvas inside this frame received a los t context
226 // notification with the given GL_ARB_robustness guilt/innocence code (see E xtensions3D.h).
227 virtual void didLoseWebGLContext(int) { }
228 225
229 // If an HTML document is being loaded, informs the embedder that the docume nt will have its <body> attached soon. 226 // If an HTML document is being loaded, informs the embedder that the docume nt will have its <body> attached soon.
230 virtual void dispatchWillInsertBody() { } 227 virtual void dispatchWillInsertBody() { }
231 228
232 virtual void dispatchDidChangeResourcePriority(unsigned long identifier, Res ourceLoadPriority, int intraPriorityValue) { } 229 virtual void dispatchDidChangeResourcePriority(unsigned long identifier, Res ourceLoadPriority, int intraPriorityValue) { }
233 230
234 virtual PassOwnPtr<WebServiceWorkerProvider> createServiceWorkerProvider() = 0; 231 virtual PassOwnPtr<WebServiceWorkerProvider> createServiceWorkerProvider() = 0;
235 232
236 virtual bool isControlledByServiceWorker(DocumentLoader&) = 0; 233 virtual bool isControlledByServiceWorker(DocumentLoader&) = 0;
237 234
(...skipping 17 matching lines...) Expand all
255 UnloadHandler, 252 UnloadHandler,
256 }; 253 };
257 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio nDisablerType) { } 254 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio nDisablerType) { }
258 255
259 virtual LinkResource* createServiceWorkerLinkResource(HTMLLinkElement*) { re turn nullptr; } 256 virtual LinkResource* createServiceWorkerLinkResource(HTMLLinkElement*) { re turn nullptr; }
260 }; 257 };
261 258
262 } // namespace blink 259 } // namespace blink
263 260
264 #endif // FrameLoaderClient_h 261 #endif // FrameLoaderClient_h
OLDNEW
« no previous file with comments | « gpu/ipc/service/gpu_command_buffer_stub.cc ('k') | third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698