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

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

Issue 51323003: Expose WEBGL_debug_renderer_info through a chromium finch experiment. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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) 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 dispatchWillStartUsingPeerConnectionHandler(RTCPeerConnecti onHandler*) { } 213 virtual void dispatchWillStartUsingPeerConnectionHandler(RTCPeerConnecti onHandler*) { }
214 214
215 virtual void didRequestAutocomplete(PassRefPtr<FormState>) = 0; 215 virtual void didRequestAutocomplete(PassRefPtr<FormState>) = 0;
216 216
217 virtual bool allowWebGL(bool enabledPerSettings) { return enabledPerSett ings; } 217 virtual bool allowWebGL(bool enabledPerSettings) { return enabledPerSett ings; }
218 // Informs the embedder that a WebGL canvas inside this frame received a lost context 218 // Informs the embedder that a WebGL canvas inside this frame received a lost context
219 // notification with the given GL_ARB_robustness guilt/innocence code (s ee Extensions3D.h). 219 // notification with the given GL_ARB_robustness guilt/innocence code (s ee Extensions3D.h).
220 virtual void didLoseWebGLContext(int) { } 220 virtual void didLoseWebGLContext(int) { }
221 221
222 // Returns true if WebGL extension WEBGL_debug_renderer_info is allowed.
223 virtual bool allowWebGLDebugRendererInfo() { return false; }
224
222 // If an HTML document is being loaded, informs the embedder that the do cument will have its <body> attached soon. 225 // If an HTML document is being loaded, informs the embedder that the do cument will have its <body> attached soon.
223 virtual void dispatchWillInsertBody() { } 226 virtual void dispatchWillInsertBody() { }
224 227
225 virtual void dispatchDidChangeResourcePriority(unsigned long /*identifie r*/, ResourceLoadPriority) { } 228 virtual void dispatchDidChangeResourcePriority(unsigned long /*identifie r*/, ResourceLoadPriority) { }
226 229
227 virtual PassOwnPtr<WebKit::WebServiceWorkerProvider> createServiceWorker Provider(PassOwnPtr<WebKit::WebServiceWorkerProviderClient>) = 0; 230 virtual PassOwnPtr<WebKit::WebServiceWorkerProvider> createServiceWorker Provider(PassOwnPtr<WebKit::WebServiceWorkerProviderClient>) = 0;
228 231
229 virtual void didStopAllLoaders() { } 232 virtual void didStopAllLoaders() { }
230 233
231 virtual bool isFrameLoaderClientImpl() const { return false; } 234 virtual bool isFrameLoaderClientImpl() const { return false; }
232 }; 235 };
233 236
234 } // namespace WebCore 237 } // namespace WebCore
235 238
236 #endif // FrameLoaderClient_h 239 #endif // FrameLoaderClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698